Sat Jul 9 18:18:00 2022 UTC ()
py-cryptography: fix Rust build dependency specification

As noted by Robert Swindells on pkgsrc-users@, we should not be directly
specifying lang/rust as a build dependency, as this will prevent builds
where rust-bin is preferred to select it accordingly. All this is
already handled in rust.mk, which is pulled in via cargo.mk.


(gutteridge)
diff -r1.87 -r1.88 pkgsrc/security/py-cryptography/Makefile

cvs diff -r1.87 -r1.88 pkgsrc/security/py-cryptography/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-cryptography/Makefile 2022/07/05 18:07:38 1.87
+++ pkgsrc/security/py-cryptography/Makefile 2022/07/09 18:18:00 1.88
@@ -1,27 +1,26 @@ @@ -1,27 +1,26 @@
1# $NetBSD: Makefile,v 1.87 2022/07/05 18:07:38 adam Exp $ 1# $NetBSD: Makefile,v 1.88 2022/07/09 18:18:00 gutteridge Exp $
2 2
3DISTNAME= cryptography-37.0.4 3DISTNAME= cryptography-37.0.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=c/cryptography/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=c/cryptography/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/pyca/cryptography 9HOMEPAGE= https://github.com/pyca/cryptography
10COMMENT= Cryptographic recipes and primitives for Python 10COMMENT= Cryptographic recipes and primitives for Python
11LICENSE= apache-2.0 OR modified-bsd 11LICENSE= apache-2.0 OR modified-bsd
12 12
13BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools-rust-[0-9]*:../../devel/py-setuptools-rust 13BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools-rust-[0-9]*:../../devel/py-setuptools-rust
14BUILD_DEPENDS+= rust>=1.41:../../lang/rust 
15DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11.4:../../devel/py-cffi 14DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11.4:../../devel/py-cffi
16DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six 15DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
17TEST_DEPENDS+= ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors 16TEST_DEPENDS+= ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors
18TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.79.3:../../devel/py-hypothesis 17TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.79.3:../../devel/py-hypothesis
19TEST_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601 18TEST_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
20TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend 19TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
21TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz 20TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
22TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.0:../../devel/py-test 21TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.0:../../devel/py-test
23TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark 22TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
24TEST_DEPENDS+= ${PYPKGPREFIX}-test-subtests-[0-9]*:../../devel/py-test-subtests 23TEST_DEPENDS+= ${PYPKGPREFIX}-test-subtests-[0-9]*:../../devel/py-test-subtests
25 24
26CARGO_WRKSRC= ${WRKSRC}/src/rust 25CARGO_WRKSRC= ${WRKSRC}/src/rust
27 26