pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2022Q2] pkgsrc/lang



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Jul  9 10:48:18 UTC 2022

Modified Files:
        pkgsrc/lang/python310 [pkgsrc-2022Q2]: distinfo
        pkgsrc/lang/python310/patches [pkgsrc-2022Q2]: patch-setup.py
        pkgsrc/lang/python39 [pkgsrc-2022Q2]: distinfo
        pkgsrc/lang/python39/patches [pkgsrc-2022Q2]: patch-setup.py

Log Message:
Pullup ticket #6647 - requested by khorben
lang/python39: build fix
lang/python310: build fix

Revisions pulled up:
- lang/python310/distinfo                                       1.17
- lang/python310/patches/patch-setup.py                         1.6
- lang/python39/distinfo                                        1.30
- lang/python39/patches/patch-setup.py                          1.9

---
   Module Name:    pkgsrc
   Committed By:   khorben
   Date:           Thu Jul  7 15:26:43 UTC 2022

   Modified Files:
           pkgsrc/lang/python310: distinfo
           pkgsrc/lang/python310/patches: patch-setup.py
           pkgsrc/lang/python39: distinfo
           pkgsrc/lang/python39/patches: patch-setup.py

   Log Message:
   python{39,310}: fix the build when the work directory is in $PREFIX

   As documented in pkg/56774, when WRKOBJDIR is in LOCALBASE (eg set to
   ${LOCALBASE}/work) then changes done to Python's setup.py made it
   unable to locate its own built-in modules, then failing to bootstrap and
   build.

   As suggested by tnn@; tested on NetBSD/amd64.

   XXX pull-up to pkgsrc-2022Q2


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.2.1 pkgsrc/lang/python310/distinfo
cvs rdiff -u -r1.5 -r1.5.2.1 pkgsrc/lang/python310/patches/patch-setup.py
cvs rdiff -u -r1.29 -r1.29.2.1 pkgsrc/lang/python39/distinfo
cvs rdiff -u -r1.8 -r1.8.2.1 pkgsrc/lang/python39/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python310/distinfo
diff -u pkgsrc/lang/python310/distinfo:1.16 pkgsrc/lang/python310/distinfo:1.16.2.1
--- pkgsrc/lang/python310/distinfo:1.16 Wed Jun  8 17:56:46 2022
+++ pkgsrc/lang/python310/distinfo      Sat Jul  9 10:48:17 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2022/06/08 17:56:46 adam Exp $
+$NetBSD: distinfo,v 1.16.2.1 2022/07/09 10:48:17 bsiegert Exp $
 
 BLAKE2s (Python-3.10.5.tar.xz) = d214998206e2adac9a487633cbb436fbedf31be48e86ef7f391fe6c7854805eb
 SHA512 (Python-3.10.5.tar.xz) = aa7f58a9b31de9824185b3e7bfa7da0dcf64ae9e89840664eae9d98d9048a650fa012cd5b873a62ff44b65b856db86f095c4003117406ec5e9583ec5f7e78e90
@@ -13,4 +13,4 @@ SHA1 (patch-Modules_socketmodule.h) = 87
 SHA1 (patch-Python_thread__pthread.h) = bf1aeab011b3afedc02e68fcf5cef091b3e0aefa
 SHA1 (patch-configure) = 8ffe98e51407d10e46e7d1531f2e0e0b58e1cfa6
 SHA1 (patch-pyconfig.h.in) = 1ab77914315acbf0352d242ed66200bea54548f6
-SHA1 (patch-setup.py) = f71085603ac5d343ee60c1d18f4f4bde0791fa6b
+SHA1 (patch-setup.py) = 0fd4a3eb38b324296e6da91612048f5d2dd10995

Index: pkgsrc/lang/python310/patches/patch-setup.py
diff -u pkgsrc/lang/python310/patches/patch-setup.py:1.5 pkgsrc/lang/python310/patches/patch-setup.py:1.5.2.1
--- pkgsrc/lang/python310/patches/patch-setup.py:1.5    Sun Apr  3 10:54:52 2022
+++ pkgsrc/lang/python310/patches/patch-setup.py        Sat Jul  9 10:48:17 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-setup.py,v 1.5 2022/04/03 10:54:52 riastradh Exp $
+$NetBSD: patch-setup.py,v 1.5.2.1 2022/07/09 10:48:17 bsiegert Exp $
 
 Disable certain modules, so they can be built as separate packages.
 Do not look for ncursesw.
@@ -26,7 +26,7 @@ Enable cross-build by setting sys._home 
  from glob import glob, escape
  import _osx_support
  
-+sys.path = [p for p in sys.path if not re.compile('^' + sys.base_prefix + '/').match(p)]
++sys.path = [p for p in sys.path if not re.compile('^' + sys.base_prefix + '/lib').match(p)]
  
  try:
      import subprocess

Index: pkgsrc/lang/python39/distinfo
diff -u pkgsrc/lang/python39/distinfo:1.29 pkgsrc/lang/python39/distinfo:1.29.2.1
--- pkgsrc/lang/python39/distinfo:1.29  Wed May 18 08:07:32 2022
+++ pkgsrc/lang/python39/distinfo       Sat Jul  9 10:48:17 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2022/05/18 08:07:32 adam Exp $
+$NetBSD: distinfo,v 1.29.2.1 2022/07/09 10:48:17 bsiegert Exp $
 
 BLAKE2s (Python-3.9.13.tar.xz) = e7774bfb171b74d6ba80e11c3c49a166832ff2fe466b37e885a250cd2a62ecf4
 SHA512 (Python-3.9.13.tar.xz) = e9664e7f908092df11236b22465d217531d6f0378e88d889108d19fe77f28f46ffb629b8733f84b41409e255367321893a2b1bd64518930d9d8cae5d1b774d23
@@ -18,4 +18,4 @@ SHA1 (patch-Modules_socketmodule.h) = 87
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
 SHA1 (patch-configure) = 944b8bb9601fd064333305778fb57997ce0ac531
 SHA1 (patch-pyconfig.h.in) = 2f06af7358690b46eaff404226b898962b049a0e
-SHA1 (patch-setup.py) = 12e485a46c63bfe4da3ee6f9072bdab3694830d2
+SHA1 (patch-setup.py) = 81c2ddc3a343c62e228392572d3b6c88b5f49b51

Index: pkgsrc/lang/python39/patches/patch-setup.py
diff -u pkgsrc/lang/python39/patches/patch-setup.py:1.8 pkgsrc/lang/python39/patches/patch-setup.py:1.8.2.1
--- pkgsrc/lang/python39/patches/patch-setup.py:1.8     Sun Apr  3 10:51:19 2022
+++ pkgsrc/lang/python39/patches/patch-setup.py Sat Jul  9 10:48:18 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-setup.py,v 1.8 2022/04/03 10:51:19 riastradh Exp $
+$NetBSD: patch-setup.py,v 1.8.2.1 2022/07/09 10:48:18 bsiegert Exp $
 
 Disable certain modules, so they can be built as separate packages.
 Do not look for ncursesw.
@@ -26,7 +26,7 @@ Enable cross-build by setting sys._home 
  from glob import glob, escape
  import _osx_support
  
-+sys.path = [p for p in sys.path if not re.compile('^' + sys.base_prefix + '/').match(p)]
++sys.path = [p for p in sys.path if not re.compile('^' + sys.base_prefix + '/lib').match(p)]
  
  try:
      import subprocess



Home | Main Index | Thread Index | Old Index