diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-11-20 20:23:50 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-11-21 08:59:57 +0100 |
commit | 2cfe36fdb8556ea0df2b9997349efbc0d8ecab51 (patch) | |
tree | 56040898931b9f95a8ec6039e778b9c34e20bfe7 /source/d/python3 | |
parent | f26dc376f71e097c67644da34c6c68951299f26e (diff) | |
download | current-2cfe36fdb8556ea0df2b9997349efbc0d8ecab51.tar.gz |
Sat Nov 20 20:23:50 UTC 202120211120202350
ap/mariadb-10.5.13-x86_64-2.txz: Rebuilt.
Install /etc/security/user_map.conf as /etc/security/user_map.conf.new to
protect it from being overwritten by future upgrades.
Thanks to Markus Wiesner.
d/python3-3.9.9-x86_64-2.txz: Rebuilt.
Do not patch posix_user platlib to use $HOME/.local/lib64 on 64-bit - use
$HOME/.local/lib for all platforms. This avoids a warning from pip about the
install location not matching between distutils and sysconfig. Note that this
might require already installed modules to be moved from $HOME/.local/lib64
to $HOME/.local/lib (or they could be removed and then reinstalled).
At first this seemed to be a non-optimal solution for this issue, but other
distributions are taking this same approach and it appears that the
posix_user platlib setting has always been ignored until recently.
If this causes any unexpected issues, let me know.
Thanks to redneonglow and alijkl.
n/fetchmail-6.4.24-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d/python3')
-rw-r--r-- | source/d/python3/python.sysconfig.py.x86_64.diff | 9 | ||||
-rwxr-xr-x | source/d/python3/python3.SlackBuild | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/source/d/python3/python.sysconfig.py.x86_64.diff b/source/d/python3/python.sysconfig.py.x86_64.diff index bf5adb0d..3f607cb4 100644 --- a/source/d/python3/python.sysconfig.py.x86_64.diff +++ b/source/d/python3/python.sysconfig.py.x86_64.diff @@ -22,12 +22,3 @@ 'include': '{installed_base}/include/python', 'platinclude': '{installed_base}/include/python', 'scripts': '{base}/bin', -@@ -64,7 +64,7 @@ - 'posix_user': { - 'stdlib': '{userbase}/{platlibdir}/python{py_version_short}', - 'platstdlib': '{userbase}/{platlibdir}/python{py_version_short}', -- 'purelib': '{userbase}/lib/python{py_version_short}/site-packages', -+ 'purelib': '{userbase}/lib64/python{py_version_short}/site-packages', - 'platlib': '{userbase}/{platlibdir}/python{py_version_short}/site-packages', - 'include': '{userbase}/include/python{py_version_short}', - 'scripts': '{userbase}/bin', diff --git a/source/d/python3/python3.SlackBuild b/source/d/python3/python3.SlackBuild index c437325c..b1090dd8 100755 --- a/source/d/python3/python3.SlackBuild +++ b/source/d/python3/python3.SlackBuild @@ -29,7 +29,7 @@ PKGNAM=python3 SRCNAM=Python VERSION=$(echo $SRCNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev) BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . ) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} |