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:   tnn
Date:           Sat Aug 26 18:20:32 UTC 2023

Modified Files:
        pkgsrc/devel/py-maturin: Makefile distinfo
Added Files:
        pkgsrc/devel/py-maturin/patches: patch-src_build__context.rs

Log Message:
py-maturin: fix wrong python wheel tag on NetBSD/evbarm


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-maturin/Makefile \
    pkgsrc/devel/py-maturin/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-maturin/patches/patch-src_build__context.rs

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/Makefile
diff -u pkgsrc/devel/py-maturin/Makefile:1.12 pkgsrc/devel/py-maturin/Makefile:1.13
--- pkgsrc/devel/py-maturin/Makefile:1.12       Fri Aug 25 22:27:48 2023
+++ pkgsrc/devel/py-maturin/Makefile    Sat Aug 26 18:20:32 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2023/08/25 22:27:48 adam Exp $
+# $NetBSD: Makefile,v 1.13 2023/08/26 18:20:32 tnn Exp $
 
 DISTNAME=      maturin-1.2.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/maturin/}
 
Index: pkgsrc/devel/py-maturin/distinfo
diff -u pkgsrc/devel/py-maturin/distinfo:1.12 pkgsrc/devel/py-maturin/distinfo:1.13
--- pkgsrc/devel/py-maturin/distinfo:1.12       Fri Aug 25 22:27:48 2023
+++ pkgsrc/devel/py-maturin/distinfo    Sat Aug 26 18:20:32 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2023/08/25 22:27:48 adam Exp $
+$NetBSD: distinfo,v 1.13 2023/08/26 18:20:32 tnn Exp $
 
 BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa
 SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
@@ -871,3 +871,4 @@ BLAKE2s (zip-0.6.6.crate) = 15924ef38e25
 SHA512 (zip-0.6.6.crate) = affd46c17ceaa0545a155250dfd16756f8706dda43bae8a322ec0481dbfb41e4cf3166bf9662fc139ef9d0ab3b0f9f158535b21d2a61b21d38b8b2407813eeef
 Size (zip-0.6.6.crate) = 65789 bytes
 SHA1 (patch-maturin_____init____.py) = 6e6dc8976125b25e3bfefda0542139e87989ccf2
+SHA1 (patch-src_build__context.rs) = c85ba6c62a66064bdafa3e2234d903581749faf9

Added files:

Index: pkgsrc/devel/py-maturin/patches/patch-src_build__context.rs
diff -u /dev/null pkgsrc/devel/py-maturin/patches/patch-src_build__context.rs:1.1
--- /dev/null   Sat Aug 26 18:20:32 2023
+++ pkgsrc/devel/py-maturin/patches/patch-src_build__context.rs Sat Aug 26 18:20:32 2023
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_build__context.rs,v 1.1 2023/08/26 18:20:32 tnn Exp $
+
+Fix wrong python wheel tag on NetBSD/evbarm.
+
+--- src/build_context.rs.orig  2023-08-17 05:08:34.000000000 +0000
++++ src/build_context.rs
+@@ -557,6 +557,17 @@ impl BuildContext {
+                     format!("macosx_{x86_64_tag}_x86_64")
+                 }
+             }
++            // NetBSD evbarm
++            (Os::NetBsd, Arch::Armv7L)
++            | (Os::NetBsd, Arch::Aarch64) => {
++                let release = target.get_platform_release()?;
++                format!(
++                    "{}_{}_{}",
++                    target.target_os().to_string().to_ascii_lowercase(),
++                    release,
++                    "evbarm"
++                )
++            }
+             // FreeBSD
+             (Os::FreeBsd, _)
+             // NetBSD



Home | Main Index | Thread Index | Old Index