pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Oct 29 13:44:04 UTC 2023

Modified Files:
        pkgsrc/lang/nodejs: distinfo
Added Files:
        pkgsrc/lang/nodejs/patches: patch-configure

Log Message:
nodejs: Add Python 3.12 support


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/nodejs/patches/patch-configure

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

Modified files:

Index: pkgsrc/lang/nodejs/distinfo
diff -u pkgsrc/lang/nodejs/distinfo:1.247 pkgsrc/lang/nodejs/distinfo:1.248
--- pkgsrc/lang/nodejs/distinfo:1.247   Mon Oct 16 19:15:17 2023
+++ pkgsrc/lang/nodejs/distinfo Sun Oct 29 13:44:04 2023
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.247 2023/10/16 19:15:17 adam Exp $
+$NetBSD: distinfo,v 1.248 2023/10/29 13:44:04 ryoon Exp $
 
 BLAKE2s (node-v20.8.1.tar.xz) = 2fedcaa70f6e4017469e0513e035ee2159c24b6d6f7cdf450413b9c6d5d99165
 SHA512 (node-v20.8.1.tar.xz) = d76245a8ec35fdb481e898efc457d3804d425a0d8e2da9175cdcc41036c57b5a6c23a5c2e84b7b417d3f48be631bff86708b2cae9e65ca3a22908caa3190ed1b
 Size (node-v20.8.1.tar.xz) = 41863408 bytes
 SHA1 (patch-common.gypi) = f50615affd26c2c7902d2112c8e9f2704c057b9c
+SHA1 (patch-configure) = e59589e138ecaf1c36a9809b70c426ef5446543a
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
 SHA1 (patch-deps_uv_common.gypi) = 29f0c382b68f77749a71ce39fa2ca37338ca18ec
 SHA1 (patch-deps_uvwasi_include_wasi__serdes.h) = 32b85ef5824b96b35aba9280bbe7aa7899d9e5cf

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-configure
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-configure:1.1
--- /dev/null   Sun Oct 29 13:44:05 2023
+++ pkgsrc/lang/nodejs/patches/patch-configure  Sun Oct 29 13:44:04 2023
@@ -0,0 +1,21 @@
+$NetBSD: patch-configure,v 1.1 2023/10/29 13:44:04 ryoon Exp $
+
+--- configure.orig     2023-10-13 12:33:28.000000000 +0000
++++ configure
+@@ -4,6 +4,7 @@
+ # Note that the mix of single and double quotes is intentional,
+ # as is the fact that the ] goes on a new line.
+ _=[ 'exec' '/bin/sh' '-c' '''
++command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
+ command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
+ command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
+ command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
+@@ -23,7 +24,7 @@ except ImportError:
+   from distutils.spawn import find_executable as which
+ 
+ print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
+-acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6))
++acceptable_pythons = ((3, 12), (3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6))
+ if sys.version_info[:2] in acceptable_pythons:
+   import configure
+ else:



Home | Main Index | Thread Index | Old Index