pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-maturin
Module Name: pkgsrc
Committed By: adam
Date: Fri Mar 3 08:57:14 UTC 2023
Modified Files:
pkgsrc/devel/py-maturin: distinfo
Added Files:
pkgsrc/devel/py-maturin/patches: patch-maturin_____init____.py
Log Message:
py-maturin: use correct versioned command
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-maturin/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-maturin/patches/patch-maturin_____init____.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-maturin/distinfo
diff -u pkgsrc/devel/py-maturin/distinfo:1.1 pkgsrc/devel/py-maturin/distinfo:1.2
--- pkgsrc/devel/py-maturin/distinfo:1.1 Wed Mar 1 18:35:29 2023
+++ pkgsrc/devel/py-maturin/distinfo Fri Mar 3 08:57:14 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2023/03/01 18:35:29 adam Exp $
+$NetBSD: distinfo,v 1.2 2023/03/03 08:57:14 adam Exp $
BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa
SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
@@ -1029,3 +1029,4 @@ Size (zvariant-2.10.0.crate) = 64374 byt
BLAKE2s (zvariant_derive-2.10.0.crate) = 78b7ecca2ea4d8f443bcef95d91ce08c1674e1362075441f2af490ac9a68d982
SHA512 (zvariant_derive-2.10.0.crate) = ba06d0761de8e20839246517d89494e5728fd654cf95eec193a4ca4cdb90090542bbfd7ed0ffbc9fc44edda38c5270139f54e63cb88d09f6c26b39199ea1deec
Size (zvariant_derive-2.10.0.crate) = 8746 bytes
+SHA1 (patch-maturin_____init____.py) = 44f118b049d5e794d3d877b13229c0284a6238f5
Added files:
Index: pkgsrc/devel/py-maturin/patches/patch-maturin_____init____.py
diff -u /dev/null pkgsrc/devel/py-maturin/patches/patch-maturin_____init____.py:1.1
--- /dev/null Fri Mar 3 08:57:14 2023
+++ pkgsrc/devel/py-maturin/patches/patch-maturin_____init____.py Fri Mar 3 08:57:14 2023
@@ -0,0 +1,17 @@
+$NetBSD: patch-maturin_____init____.py,v 1.1 2023/03/03 08:57:14 adam Exp $
+
+Look for correct command with ${PYVERSSUFFIX} appended.
+
+--- maturin/__init__.py.orig 2023-03-03 08:36:13.000000000 +0000
++++ maturin/__init__.py
+@@ -51,8 +51,9 @@ def _build_wheel(
+ ):
+ # PEP 517 specifies that only `sys.executable` points to the correct
+ # python interpreter
++ py_vers = platform.python_version_tuple()
+ command = [
+- "maturin",
++ "maturin-" + py_vers[0] + "." + py_vers[1],
+ "pep517",
+ "build-wheel",
+ "-i",
Home |
Main Index |
Thread Index |
Old Index