python3: update to 3.10.0.
This commit is contained in:
@@ -7,7 +7,7 @@ py2_lib="usr/lib/python${py2_ver}"
|
||||
py2_sitelib="${py2_lib}/site-packages"
|
||||
py2_inc="usr/include/python${py2_ver}"
|
||||
|
||||
py3_ver="3.9"
|
||||
py3_ver="3.10"
|
||||
py3_abiver=""
|
||||
py3_lib="usr/lib/python${py3_ver}"
|
||||
py3_sitelib="${py3_lib}/site-packages"
|
||||
|
||||
@@ -266,7 +266,7 @@ _EOF
|
||||
#
|
||||
local pycompile_version
|
||||
if [ -d ${PKGDESTDIR}/usr/lib/python* ]; then
|
||||
pycompile_version="$(find ${PKGDESTDIR}/usr/lib/python* -prune -type d | grep -o '[[:digit:]]\.[[:digit:]]$')"
|
||||
pycompile_version="$(find ${PKGDESTDIR}/usr/lib/python* -prune -type d | grep -o '[[:digit:]]\.[[:digit:]]\+$')"
|
||||
if [ -z "${pycompile_module}" ]; then
|
||||
pycompile_module="$(find ${PKGDESTDIR}/usr/lib/python*/site-packages -mindepth 1 -maxdepth 1 '!' -name '*.egg-info' '!' -name '*.dist-info' '!' -name '*.so' '!' -name '*.pth' -printf '%f ')"
|
||||
fi
|
||||
|
||||
@@ -236,7 +236,7 @@ hook() {
|
||||
generic_wrapper3 libetpan-config
|
||||
generic_wrapper3 giblib-config
|
||||
python_wrapper python-config 2.7
|
||||
python_wrapper python3-config 3.9
|
||||
python_wrapper python3-config 3.10
|
||||
apr_apu_wrapper apr-1-config
|
||||
apr_apu_wrapper apu-1-config
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ hook() {
|
||||
local pyver= shebang= off=
|
||||
|
||||
if [ -d ${PKGDESTDIR}/usr/lib/python* ]; then
|
||||
pyver="$(find ${PKGDESTDIR}/usr/lib/python* -prune -type d | grep -o '[[:digit:]]\.[[:digit:]]$')"
|
||||
pyver="$(find ${PKGDESTDIR}/usr/lib/python* -prune -type d | grep -o '[[:digit:]]\.[[:digit:]]\+$')"
|
||||
fi
|
||||
|
||||
if [ -n "$python_version" ]; then
|
||||
|
||||
@@ -1718,7 +1718,7 @@ libportaudiocpp.so.0 portaudio-cpp-19.20140130_1
|
||||
libdar.so.6000 libdar-2.6.6_1
|
||||
libdar64.so.6000 libdar-2.6.6_1
|
||||
libpython3.so python3-3.9.2_2
|
||||
libpython3.9.so.1.0 python3-3.9.2_2
|
||||
libpython3.10.so.1.0 python3-3.10.0_1
|
||||
libbrscandec2.so.1 brother-brscan3-0.2.11_2
|
||||
libpyglib-2.0-python.so.0 python-gobject2-2.28.6_11
|
||||
libxmlrpc_server_abyss.so.3 xmlrpc-c-1.51.06_2
|
||||
|
||||
Reference in New Issue
Block a user