Changeset 17632 in niluje


Ignore:
Timestamp:
Jul 31, 2020, 5:04:43 AM (12 days ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Fix idna (new releases are Py3 only)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r17630 r17632  
    33163316done
    33173317cd ..
    3318 ## idna
     3318## idna for Python 2
     3319## NOTE: v2.10 is the last Py2 release
     3320rm -rf idna
     3321until git clone -b v2.10 --single-branch --depth 1 https://github.com/kjd/idna.git ; do
     3322        rm -rf idna
     3323        sleep 15
     3324done
     3325cd idna
     3326update_title_info
     3327for py_ver in ${PYTHON_VERSIONS} ; do
     3328        if [[ "${py_ver}" == 3.* ]] ; then
     3329                py_home="python3"
     3330                # Skip
     3331                continue
     3332        else
     3333                py_home="python"
     3334        fi
     3335
     3336        python${py_ver} setup.py clean --all
     3337        python${py_ver} setup.py install --root=${TC_BUILD_DIR}/${py_home} --prefix=. --install-lib=lib/python${py_ver}/site-packages --no-compile
     3338done
     3339cd ..
     3340## idna for Python 3
    33193341rm -rf idna
    33203342until git clone --depth 1 https://github.com/kjd/idna.git ; do
     
    33293351        else
    33303352                py_home="python"
     3353                # Skip
     3354                continue
    33313355        fi
    33323356
Note: See TracChangeset for help on using the changeset viewer.