]> git.pld-linux.org Git - packages/python3-setuptools.git/blobdiff - multilib.patch
- keep purelib in sync with python3 package to properly support multilib installs...
[packages/python3-setuptools.git] / multilib.patch
diff --git a/multilib.patch b/multilib.patch
new file mode 100644 (file)
index 0000000..e843f65
--- /dev/null
@@ -0,0 +1,18 @@
+--- setuptools-62.0.0/setuptools/_distutils/sysconfig.py.orig  2022-04-26 23:24:21.684034857 +0200
++++ setuptools-62.0.0/setuptools/_distutils/sysconfig.py       2022-04-26 23:24:40.750464254 +0200
+@@ -170,13 +170,13 @@
+             prefix = plat_specific and EXEC_PREFIX or PREFIX
+     if os.name == "posix":
+-        if plat_specific or standard_lib:
++        if plat_specific or standard_lib or prefix != "/usr":
+             # Platform-specific modules (any module from a non-pure-Python
+             # module distribution) or standard Python library modules.
+             libdir = getattr(sys, "platlibdir", "lib")
+         else:
+             # Pure Python
+-            libdir = "lib"
++            libdir = "share"
+         implementation = 'pypy' if IS_PYPY else 'python'
+         libpython = os.path.join(prefix, libdir,
+                                  implementation + get_python_version())
This page took 0.12932 seconds and 4 git commands to generate.