unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob bd987bd4bcc19ecefe964504d9ca4c35746e1202 932 bytes (raw)
name: gnu/packages/patches/pypy3-7.3.1-install-paths.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
Move site-packages to /lib/pypyX.X/site-packages, so it matches Python’s
behavior.

diff -Naur pypy3.6-v7.3.1-src.orig/lib-python/3/distutils/command/install.py pypy3.6-v7.3.1-src/lib-python/3/distutils/command/install.py
--- pypy3.6-v7.3.1-src.orig/lib-python/3/distutils/command/install.py	1970-01-01 01:00:01.000000000 +0100
+++ pypy3.6-v7.3.1-src/lib-python/3/distutils/command/install.py	2020-07-11 10:18:34.357208155 +0200
@@ -44,9 +44,9 @@
         },
     'nt': WINDOWS_SCHEME,
     'pypy': {
-        'purelib': '$base/site-packages',
-        'platlib': '$base/site-packages',
-        'headers': '$base/include/$dist_name',
+        'purelib': '$base/lib/pypy$py_version_short/site-packages',
+        'platlib': '$platbase/lib/pypy$py_version_short/site-packages',
+        'headers': '$base/include/pypy$py_version_short$abiflags/$dist_name',
         'scripts': '$base/bin',
         'data'   : '$base',
         },

debug log:

solving bd987bd4bc ...
found bd987bd4bc in https://yhetil.org/guix-devel/20200719082714.GB1359@noor.fritz.box/

applying [1/1] https://yhetil.org/guix-devel/20200719082714.GB1359@noor.fritz.box/
diff --git a/gnu/packages/patches/pypy3-7.3.1-install-paths.patch b/gnu/packages/patches/pypy3-7.3.1-install-paths.patch
new file mode 100644
index 0000000000..bd987bd4bc

Checking patch gnu/packages/patches/pypy3-7.3.1-install-paths.patch...
Applied patch gnu/packages/patches/pypy3-7.3.1-install-paths.patch cleanly.

index at:
100644 bd987bd4bcc19ecefe964504d9ca4c35746e1202	gnu/packages/patches/pypy3-7.3.1-install-paths.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).