pkgsrc-WIP-changes archive

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

py-cryptography: updated to 37.0.1; fix install_name on Darwin



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Fri Apr 29 20:46:29 2022 +0200
Changeset:	405157c950d1fa7221610bd78cc2a0b341329ea9

Modified Files:
	py-cryptography/Makefile
	py-cryptography/distinfo

Log Message:
py-cryptography: updated to 37.0.1; fix install_name on Darwin

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=405157c950d1fa7221610bd78cc2a0b341329ea9

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

diffstat:
 py-cryptography/Makefile | 11 ++++++++---
 py-cryptography/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diffs:
diff --git a/py-cryptography/Makefile b/py-cryptography/Makefile
index a95879c29d..02419d0b45 100644
--- a/py-cryptography/Makefile
+++ b/py-cryptography/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.84 2022/01/04 20:54:40 wiz Exp $
 
-DISTNAME=	cryptography-37.0.0
+DISTNAME=	cryptography-37.0.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	security python
 MASTER_SITES=	${MASTER_SITE_PYPI:=c/cryptography/}
@@ -27,11 +27,16 @@ MAKE_ENV+=	CARGO_NET_OFFLINE=true
 
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
-#do-build: do-cargo-build
-
 pre-build:
 	cd ${WRKSRC} && ${LN} -f -s src/rust/.cargo .cargo
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+post-install:
+	install_name_tool -id ${PREFIX}/${PYSITELIB}/cryptography/hazmat/bindings/_rust.abi3.so \
+	${DESTDIR}${PREFIX}/${PYSITELIB}/cryptography/hazmat/bindings/_rust.abi3.so
+.endif
+
 do-test:
 	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
diff --git a/py-cryptography/distinfo b/py-cryptography/distinfo
index d7f3c7be5f..4ab1c2c09a 100644
--- a/py-cryptography/distinfo
+++ b/py-cryptography/distinfo
@@ -27,9 +27,9 @@ Size (cfg-if-1.0.0.crate) = 7934 bytes
 BLAKE2s (chrono-0.4.19.crate) = d6fed9203ab335271d17a56de9a78a9a6c418561751716d924ce04cd0260a2a0
 SHA512 (chrono-0.4.19.crate) = a119349bfc2243a249f1d18b1ae548a04b30fecb75913a56f26d1ff8c0eb53097a2674d9141e2094018191cbbc1620843fbddaf52999824e077c1157f0907980
 Size (chrono-0.4.19.crate) = 155663 bytes
-BLAKE2s (cryptography-37.0.0.tar.gz) = 52bc87c7867cc2701a87eaf4415bca24427b42cd1935232c431d04f303fa5f4b
-SHA512 (cryptography-37.0.0.tar.gz) = bc73a4e73cdfdb0379535551c524dfcd06ee9d11f91bc4a8e8d725a9997b3468973c37b90d40f21237b9c66de78a13caf396a5bff8779c651f8a244704afc5a2
-Size (cryptography-37.0.0.tar.gz) = 584360 bytes
+BLAKE2s (cryptography-37.0.1.tar.gz) = 3d96897829280f2e4fa09b8e704061785a61e6e5127048fc7caea4eaac798893
+SHA512 (cryptography-37.0.1.tar.gz) = 751029ecfb911e70cd402f7bf1573ec6b4e1dd98bed27723e8c48e918cb417b2327af84f173dd21c986fe1d39a5721df38ccaa37f8b5ed569290c66c5e42f34a
+Size (cryptography-37.0.1.tar.gz) = 585248 bytes
 BLAKE2s (indoc-0.3.6.crate) = 9847fa9531632321a751bb8811d3a3387c2ba506dae2c5087935ffc6ce12657d
 SHA512 (indoc-0.3.6.crate) = e900aa3b001df0fdbf1f543d8b679af317e85a1f95e26fc556213f2826a4f6c82d8c4f3f82de435e3591f8bc14e78eb22668d901dcbe2287f46740e0291afacd
 Size (indoc-0.3.6.crate) = 9663 bytes


Home | Main Index | Thread Index | Old Index