pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-cryptography



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 17 06:32:37 UTC 2026

Modified Files:
        pkgsrc/security/py-cryptography: Makefile distinfo
Added Files:
        pkgsrc/security/py-cryptography/patches: patch-pyproject.toml

Log Message:
py-cryptography: proper fix for Maturin 1.12


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 pkgsrc/security/py-cryptography/Makefile
cvs rdiff -u -r1.112 -r1.113 pkgsrc/security/py-cryptography/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/security/py-cryptography/patches/patch-pyproject.toml

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

Modified files:

Index: pkgsrc/security/py-cryptography/Makefile
diff -u pkgsrc/security/py-cryptography/Makefile:1.139 pkgsrc/security/py-cryptography/Makefile:1.140
--- pkgsrc/security/py-cryptography/Makefile:1.139      Mon Feb 16 21:47:54 2026
+++ pkgsrc/security/py-cryptography/Makefile    Tue Feb 17 06:32:37 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.139 2026/02/16 21:47:54 wiz Exp $
+# $NetBSD: Makefile,v 1.140 2026/02/17 06:32:37 adam Exp $
 
 DISTNAME=      cryptography-46.0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -28,10 +28,6 @@ RUSTFLAGS+=  -C link-arg=${COMPILER_RPATH
 pre-build:
        cd ${WRKSRC} && ${LN} -f -s src/rust/.cargo .cargo
 
-# https://github.com/PyO3/maturin/issues/3006
-post-install:
-       cd ${DESTDIR}${PREFIX}/${PYSITELIB} && ${RM} -rf CHANGELOG.rst CONTRIBUTING.rst docs tests
-
 .include "cargo-depends.mk"
 
 .include "../../devel/py-maturin/tool.mk"

Index: pkgsrc/security/py-cryptography/distinfo
diff -u pkgsrc/security/py-cryptography/distinfo:1.112 pkgsrc/security/py-cryptography/distinfo:1.113
--- pkgsrc/security/py-cryptography/distinfo:1.112      Tue Feb 10 22:45:05 2026
+++ pkgsrc/security/py-cryptography/distinfo    Tue Feb 17 06:32:37 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.112 2026/02/10 22:45:05 wiz Exp $
+$NetBSD: distinfo,v 1.113 2026/02/17 06:32:37 adam Exp $
 
 BLAKE2s (asn1-0.22.0.crate) = 7e7420078762cd29a9053df025d2cca979928af5c44c37b411d0f6a22772ffbf
 SHA512 (asn1-0.22.0.crate) = 403c9fccf8a4c7f487a52528b23fd37790770526b75187b3634744ab9aff072eccdec5bf309e8532df6eb86fe70e60535d0783638c77c248b37296a0993feedf
@@ -111,3 +111,4 @@ Size (unindent-0.2.4.crate) = 7422 bytes
 BLAKE2s (vcpkg-0.2.15.crate) = 0ec9e97d0e23d59f0a4095773e1136e15f2054fb86bcceb309774638768ea8c4
 SHA512 (vcpkg-0.2.15.crate) = 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172
 Size (vcpkg-0.2.15.crate) = 228735 bytes
+SHA1 (patch-pyproject.toml) = 70baad4213b3ef3879574c1eb4767bdc270cf093

Added files:

Index: pkgsrc/security/py-cryptography/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/security/py-cryptography/patches/patch-pyproject.toml:1.3
--- /dev/null   Tue Feb 17 06:32:37 2026
+++ pkgsrc/security/py-cryptography/patches/patch-pyproject.toml        Tue Feb 17 06:32:37 2026
@@ -0,0 +1,30 @@
+$NetBSD: patch-pyproject.toml,v 1.3 2026/02/17 06:32:37 adam Exp $
+
+Fix installing stray files into site-packages.
+https://github.com/pyca/cryptography/pull/14319
+
+--- pyproject.toml.orig        2026-02-17 06:28:14.341949179 +0000
++++ pyproject.toml
+@@ -106,10 +106,10 @@ module-name = "cryptography.hazmat.bindi
+ locked = true
+ sdist-generator = "git"
+ include = [
+-    "CHANGELOG.rst",
+-    "CONTRIBUTING.rst",
++    { path = "CHANGELOG.rst", format = "sdist" },
++    { path = "CONTRIBUTING.rst", format = "sdist" },
+ 
+-    "docs/**/*",
++    { path = "docs/**/*", format = "sdist" },
+ 
+     { path = "src/_cffi_src/**/*.py", format = "sdist" },
+     { path = "src/_cffi_src/**/*.c", format = "sdist" },
+@@ -121,7 +121,7 @@ include = [
+     { path = "src/rust/**/Cargo.lock", format = "sdist" },
+     { path = "src/rust/**/*.rs", format = "sdist" },
+ 
+-    "tests/**/*.py",
++    { path = "tests/**/*.py", format = "sdist" },
+ ]
+ exclude = [
+     "vectors/**/*",



Home | Main Index | Thread Index | Old Index