pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2022Q2]: pkgsrc/lang Pullup ticket #6647 - requested by khorben



details:   https://anonhg.NetBSD.org/pkgsrc/rev/324e5ffac88f
branches:  pkgsrc-2022Q2
changeset: 381560:324e5ffac88f
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Jul 09 10:48:17 2022 +0000

description:
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

diffstat:

 lang/python310/distinfo               |  4 ++--
 lang/python310/patches/patch-setup.py |  4 ++--
 lang/python39/distinfo                |  4 ++--
 lang/python39/patches/patch-setup.py  |  4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r d6fbccf27dac -r 324e5ffac88f lang/python310/distinfo
--- a/lang/python310/distinfo   Mon Jun 27 13:34:15 2022 +0000
+++ b/lang/python310/distinfo   Sat Jul 09 10:48:17 2022 +0000
@@ -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-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
diff -r d6fbccf27dac -r 324e5ffac88f lang/python310/patches/patch-setup.py
--- a/lang/python310/patches/patch-setup.py     Mon Jun 27 13:34:15 2022 +0000
+++ b/lang/python310/patches/patch-setup.py     Sat Jul 09 10:48:17 2022 +0000
@@ -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 @@
  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
diff -r d6fbccf27dac -r 324e5ffac88f lang/python39/distinfo
--- a/lang/python39/distinfo    Mon Jun 27 13:34:15 2022 +0000
+++ b/lang/python39/distinfo    Sat Jul 09 10:48:17 2022 +0000
@@ -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-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
diff -r d6fbccf27dac -r 324e5ffac88f lang/python39/patches/patch-setup.py
--- a/lang/python39/patches/patch-setup.py      Mon Jun 27 13:34:15 2022 +0000
+++ b/lang/python39/patches/patch-setup.py      Sat Jul 09 10:48:17 2022 +0000
@@ -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 @@
  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