slackware-current/source/d/python3/python.sysconfig.py.x86_64.diff
Patrick J Volkerding 2cfe36fdb8 Sat Nov 20 20:23:50 UTC 2021
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.
2021-11-21 08:59:57 +01:00

24 lines
1.1 KiB
Diff

--- ./Lib/sysconfig.py.orig 2020-10-05 10:07:58.000000000 -0500
+++ ./Lib/sysconfig.py 2020-10-24 17:23:51.323197869 -0500
@@ -22,7 +22,7 @@
'posix_prefix': {
'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}',
'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}',
- 'purelib': '{base}/lib/python{py_version_short}/site-packages',
+ 'purelib': '{base}/lib64/python{py_version_short}/site-packages',
'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages',
'include':
'{installed_base}/include/python{py_version_short}{abiflags}',
@@ -33,9 +33,9 @@
},
'posix_home': {
'stdlib': '{installed_base}/lib/python',
- 'platstdlib': '{base}/lib/python',
- 'purelib': '{base}/lib/python',
- 'platlib': '{base}/lib/python',
+ 'platstdlib': '{base}/lib64/python',
+ 'purelib': '{base}/lib64/python',
+ 'platlib': '{base}/lib64/python',
'include': '{installed_base}/include/python',
'platinclude': '{installed_base}/include/python',
'scripts': '{base}/bin',