View | Details | Raw Unified | Return to bug 254853
Collapse All | Expand All

(-)b/security/py-cryptography/Makefile (-54 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/security/py-cryptography/Makefile 566534 2021-02-25 13:32:25Z fluffy $
2
# $FreeBSD: head/security/py-cryptography/Makefile 566534 2021-02-25 13:32:25Z fluffy $
3
3
4
PORTNAME=	cryptography
4
PORTNAME=	cryptography
5
PORTVERSION=	3.4.7
5
PORTVERSION=	3.3.2
6
CATEGORIES=	security python
6
CATEGORIES=	security python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 15-25 Link Here
15
LICENSE_FILE_APACHE20=		${WRKSRC}/LICENSE.APACHE
15
LICENSE_FILE_APACHE20=		${WRKSRC}/LICENSE.APACHE
16
LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSE.BSD
16
LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSE.BSD
17
17
18
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} \
18
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR}
19
		${PYTHON_PKGNAMEPREFIX}setuptools-rust>=0:devel/py-setuptools-rust@${PY_FLAVOR}
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR} \
20
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} \
21
		${PY_ENUM34} \
22
		${PY_IPADDRESS} \
23
		${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR}
20
		${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR}
24
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:security/py-cryptography-vectors@${PY_FLAVOR} \
21
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:security/py-cryptography-vectors@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \
Lines 29-84 Link Here
29
		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
26
		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
30
27
31
# Python 2.7, 3.5-3.8
28
# Python 2.7, 3.5-3.8
32
USES=		compiler:env python:3.6+ ssl cargo
29
USES=		compiler:env python:3.6+ ssl
33
USE_PYTHON=	autoplist concurrent distutils
30
USE_PYTHON=	autoplist concurrent distutils
34
31
35
USE_GITHUB=		yes
36
GH_ACCOUNT=		pyca
37
38
# https://github.com/PyO3/pyo3/blob/main/build.rs#L611
39
CARGO_ENV+=		"PYO3_PYTHON=${PYTHON_CMD}"
40
41
# Ensure cargo files can be found during the python build:
42
MAKE_ENV+=		CARGO_HOME=${WRKDIR}/cargo-home \
43
			CARGO_BUILD_JOBS=${MAKE_JOBS_NUMBER} \
44
			"PYO3_PYTHON=${PYTHON_CMD}"
45
46
CARGO_BUILD=		no
47
CARGO_INSTALL=		no
48
CARGO_TEST=		no
49
CARGO_CARGOTOML=	${WRKSRC}/src/rust/Cargo.toml
50
CARGO_CARGOLOCK=	${WRKSRC}/src/rust/Cargo.lock
51
CARGO_CRATES=	bitflags-1.2.1 \
52
		cfg-if-1.0.0 \
53
		ctor-0.1.19 \
54
		ghost-0.1.2 \
55
		indoc-0.3.6 \
56
		indoc-impl-0.3.6 \
57
		instant-0.1.9 \
58
		inventory-0.1.10 \
59
		inventory-impl-0.1.10 \
60
		libc-0.2.85 \
61
		lock_api-0.4.2 \
62
		parking_lot-0.11.1 \
63
		parking_lot_core-0.8.3 \
64
		paste-0.1.18 \
65
		paste-impl-0.1.18 \
66
		proc-macro-hack-0.5.19 \
67
		proc-macro2-1.0.24 \
68
		pyo3-0.13.2 \
69
		pyo3-macros-0.13.2 \
70
		pyo3-macros-backend-0.13.2 \
71
		quote-1.0.9 \
72
		redox_syscall-0.2.4 \
73
		scopeguard-1.1.0 \
74
		smallvec-1.6.1 \
75
		syn-1.0.60 \
76
		unicode-xid-0.2.1 \
77
		unindent-0.1.7 \
78
		winapi-0.3.9 \
79
		winapi-i686-pc-windows-gnu-0.4.0 \
80
		winapi-x86_64-pc-windows-gnu-0.4.0
81
82
CFLAGS+=	-I${OPENSSLINC}
32
CFLAGS+=	-I${OPENSSLINC}
83
LDFLAGS+=	-L${OPENSSLLIB}
33
LDFLAGS+=	-L${OPENSSLLIB}
84
34
(-)b/security/py-cryptography/distinfo (-63 / +5 lines)
Lines 1-63 Link Here
1
TIMESTAMP = 1617456064
1
TIMESTAMP = 1614253508
2
SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
2
SHA256 (cryptography-2.9.2.tar.gz) = a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229
3
SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745
3
SIZE (cryptography-2.9.2.tar.gz) = 517571
4
SHA256 (rust/crates/cfg-if-1.0.0.tar.gz) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
4
SHA256 (cryptography-3.3.2.tar.gz) = 5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed
5
SIZE (rust/crates/cfg-if-1.0.0.tar.gz) = 7934
5
SIZE (cryptography-3.3.2.tar.gz) = 539883
6
SHA256 (rust/crates/ctor-0.1.19.tar.gz) = e8f45d9ad417bcef4817d614a501ab55cdd96a6fdb24f49aab89a54acfd66b19
7
SIZE (rust/crates/ctor-0.1.19.tar.gz) = 9307
8
SHA256 (rust/crates/ghost-0.1.2.tar.gz) = 1a5bcf1bbeab73aa4cf2fde60a846858dc036163c7c33bec309f8d17de785479
9
SIZE (rust/crates/ghost-0.1.2.tar.gz) = 12777
10
SHA256 (rust/crates/indoc-0.3.6.tar.gz) = 47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8
11
SIZE (rust/crates/indoc-0.3.6.tar.gz) = 9663
12
SHA256 (rust/crates/indoc-impl-0.3.6.tar.gz) = ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0
13
SIZE (rust/crates/indoc-impl-0.3.6.tar.gz) = 7933
14
SHA256 (rust/crates/instant-0.1.9.tar.gz) = 61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec
15
SIZE (rust/crates/instant-0.1.9.tar.gz) = 5213
16
SHA256 (rust/crates/inventory-0.1.10.tar.gz) = 0f0f7efb804ec95e33db9ad49e4252f049e37e8b0a4652e3cd61f7999f2eff7f
17
SIZE (rust/crates/inventory-0.1.10.tar.gz) = 11572
18
SHA256 (rust/crates/inventory-impl-0.1.10.tar.gz) = 75c094e94816723ab936484666968f5b58060492e880f3c8d00489a1e244fa51
19
SIZE (rust/crates/inventory-impl-0.1.10.tar.gz) = 6228
20
SHA256 (rust/crates/libc-0.2.85.tar.gz) = 7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3
21
SIZE (rust/crates/libc-0.2.85.tar.gz) = 516872
22
SHA256 (rust/crates/lock_api-0.4.2.tar.gz) = dd96ffd135b2fd7b973ac026d28085defbe8983df057ced3eb4f2130b0831312
23
SIZE (rust/crates/lock_api-0.4.2.tar.gz) = 20375
24
SHA256 (rust/crates/parking_lot-0.11.1.tar.gz) = 6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb
25
SIZE (rust/crates/parking_lot-0.11.1.tar.gz) = 39854
26
SHA256 (rust/crates/parking_lot_core-0.8.3.tar.gz) = fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018
27
SIZE (rust/crates/parking_lot_core-0.8.3.tar.gz) = 32147
28
SHA256 (rust/crates/paste-0.1.18.tar.gz) = 45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880
29
SIZE (rust/crates/paste-0.1.18.tar.gz) = 12259
30
SHA256 (rust/crates/paste-impl-0.1.18.tar.gz) = d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6
31
SIZE (rust/crates/paste-impl-0.1.18.tar.gz) = 9451
32
SHA256 (rust/crates/proc-macro-hack-0.5.19.tar.gz) = dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5
33
SIZE (rust/crates/proc-macro-hack-0.5.19.tar.gz) = 15556
34
SHA256 (rust/crates/proc-macro2-1.0.24.tar.gz) = 1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71
35
SIZE (rust/crates/proc-macro2-1.0.24.tar.gz) = 37716
36
SHA256 (rust/crates/pyo3-0.13.2.tar.gz) = 4837b8e8e18a102c23f79d1e9a110b597ea3b684c95e874eb1ad88f8683109c3
37
SIZE (rust/crates/pyo3-0.13.2.tar.gz) = 281372
38
SHA256 (rust/crates/pyo3-macros-0.13.2.tar.gz) = a47f2c300ceec3e58064fd5f8f5b61230f2ffd64bde4970c81fdd0563a2db1bb
39
SIZE (rust/crates/pyo3-macros-0.13.2.tar.gz) = 5434
40
SHA256 (rust/crates/pyo3-macros-backend-0.13.2.tar.gz) = 87b097e5d84fcbe3e167f400fbedd657820a375b034c78bd852050749a575d66
41
SIZE (rust/crates/pyo3-macros-backend-0.13.2.tar.gz) = 33106
42
SHA256 (rust/crates/quote-1.0.9.tar.gz) = c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7
43
SIZE (rust/crates/quote-1.0.9.tar.gz) = 25042
44
SHA256 (rust/crates/redox_syscall-0.2.4.tar.gz) = 05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570
45
SIZE (rust/crates/redox_syscall-0.2.4.tar.gz) = 23234
46
SHA256 (rust/crates/scopeguard-1.1.0.tar.gz) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
47
SIZE (rust/crates/scopeguard-1.1.0.tar.gz) = 11470
48
SHA256 (rust/crates/smallvec-1.6.1.tar.gz) = fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e
49
SIZE (rust/crates/smallvec-1.6.1.tar.gz) = 26444
50
SHA256 (rust/crates/syn-1.0.60.tar.gz) = c700597eca8a5a762beb35753ef6b94df201c81cca676604f547495a0d7f0081
51
SIZE (rust/crates/syn-1.0.60.tar.gz) = 231087
52
SHA256 (rust/crates/unicode-xid-0.2.1.tar.gz) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564
53
SIZE (rust/crates/unicode-xid-0.2.1.tar.gz) = 14392
54
SHA256 (rust/crates/unindent-0.1.7.tar.gz) = f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7
55
SIZE (rust/crates/unindent-0.1.7.tar.gz) = 8346
56
SHA256 (rust/crates/winapi-0.3.9.tar.gz) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
57
SIZE (rust/crates/winapi-0.3.9.tar.gz) = 1200382
58
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
59
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
60
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
61
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
62
SHA256 (pyca-cryptography-3.4.7_GH0.tar.gz) = 91061d435edc1c44f1f1d69a81eddc22e5a4749165b0457724d70ab6642cb6ce
63
SIZE (pyca-cryptography-3.4.7_GH0.tar.gz) = 35736372

Return to bug 254853