1 |
commit: 401b7aaecbce0f6a1f1272ea7c484bc8b2adf9cc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 28 07:36:15 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 28 08:37:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=401b7aae |
7 |
|
8 |
dev-python/cryptography: Bump to 3.2.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cryptography/Manifest | 2 + |
13 |
dev-python/cryptography/cryptography-3.2.1.ebuild | 53 +++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest |
17 |
index 0fb36591d04..97c618c00f9 100644 |
18 |
--- a/dev-python/cryptography/Manifest |
19 |
+++ b/dev-python/cryptography/Manifest |
20 |
@@ -1,6 +1,8 @@ |
21 |
DIST cryptography-3.0.tar.gz 534725 BLAKE2B f6f4d5cfcf42a9ca2288bdc7c61bd0ae2f98999868951798f358d6ec9dbbcddb31102b0954f983bb9c118df53a8483e74aa2395ce366a9a97b6b9164b0044bd2 SHA512 4fca5d0e59f02f23c7e2d5c80f86e4cf36eeeb9a128e7b3332a91aa0b9dcdd3282a882a88ea34ffba1e91687eb6d1fc1042774f1e30970e9bf56ee701c32ac15 |
22 |
DIST cryptography-3.1.tar.gz 534747 BLAKE2B 3225625a69ef3279ae7f763e04b884c0d46a0524624685bba1836e8076d13a7a360ed75f69e62427e191eff86fd9882bd09a5352492ea8bd558842ca67bf3b70 SHA512 c015df3a71e4c274b2fb8fd954d264c8b56443644048139113f548c69cf83798b73c9f0993609f338044df92b609723b0281ce61ed2751309a122de22060037e |
23 |
+DIST cryptography-3.2.1.tar.gz 540994 BLAKE2B 667f09ac81423ecdc84c8646f0d02ee3a2955f55d35623e59c07696810a93c47332f7f8d877918eeeb6581d8e02bde3b70aae8e9d32be7ffbc8011e5e7e382a9 SHA512 e3f1806693c24aadc3ef0df374ce1845760e87ad7c243226b75e80820b50bdc0760e4bb5f6ce26d62a6d23736b3109f72cd30b52ae2a36b26ec5656ec96c6175 |
24 |
DIST cryptography-3.2.tar.gz 540815 BLAKE2B be4edd5d4cd9564e8622284ff9b1d3a7cc7d6e46cfa790d8e1cfa1ce389c5d628e39b056dc5cba3b94ab3fa45603df73a7b4ebd9d1c70fc88c457780f6616311 SHA512 0096e6408b5868cc0b5e6f67945e4200bb943a00ac803546048fa4d332f81af4a224b2d67b911ee8da1ad086120935d7d557fc70a739ecffb22f408ee9b8d09e |
25 |
DIST cryptography_vectors-3.0.tar.gz 35156155 BLAKE2B 987fa88873bb3ec9745a150906e868c1aea14bb9e618c5c65348deb4e8618f89b15a8d70ea6ed0760649505f5649dd2fbf1e40fadad193faf3a92922ed234025 SHA512 a24c6f25c0acf79cea534fc86d61d9697c004a18204043457cf1a955751e8313893c63258f82ada523a9608b7ec0e5a7a7047ddcbd20e0c55d7c6392bc61c24f |
26 |
DIST cryptography_vectors-3.1.tar.gz 35163687 BLAKE2B c381781950bf5399c15fe329fc28cf35933936a2130bbf18909f31f1bbd764a69a8816327e968d3810790b8404e3ae5af25b3d390da3015533f5c52f8a0cd0cf SHA512 094076a26ba4cae1bf0408844abbb9b3a5634f97657e4627e10b8a7c7424b69574fd9d719d5c258aa02244bee8b395f09c51af79350971072b2f9719446743c1 |
27 |
+DIST cryptography_vectors-3.2.1.tar.gz 35168164 BLAKE2B 77af3be0dbd7393da7cd59600086041b78fe20339018a637fc1cf3600c7cd08cf2e565c79ccb47f4719a4b0f01cf2ab2db00c025805443b333dd7fdf3aa835a7 SHA512 44ff756a6ece9700f7657f8ba92417e95bf273cf500f1dab2141de5b2af6e61840d65c37b766abd752c76025ead1550bfc7b7340ce5774c75fd0bb8ac768cdd8 |
28 |
DIST cryptography_vectors-3.2.tar.gz 35168065 BLAKE2B ebd915eee9b91bd61445bcb442d3052972b1463132b8e63343832baa27c25566e22ca9f50c9d4ea73cb12185f9228144eaac4bf5cc68a3bd79f347fe2d021adc SHA512 bb0d00c8a66fd328ef38b0008519856a14d35b6fd634a6f67ea5530775d36538fbd326326c3f0cd962b1a008c21f2aded4d733f97bc12577679ed8be67b858bc |
29 |
|
30 |
diff --git a/dev-python/cryptography/cryptography-3.2.1.ebuild b/dev-python/cryptography/cryptography-3.2.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..c0d4715e4df |
33 |
--- /dev/null |
34 |
+++ b/dev-python/cryptography/cryptography-3.2.1.ebuild |
35 |
@@ -0,0 +1,53 @@ |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python3_{6..9} pypy3 ) |
42 |
+PYTHON_REQ_USE="threads(+)" |
43 |
+ |
44 |
+inherit distutils-r1 multiprocessing |
45 |
+ |
46 |
+VEC_P=cryptography_vectors-${PV} |
47 |
+DESCRIPTION="Library providing cryptographic recipes and primitives" |
48 |
+HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" |
49 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
50 |
+ test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )" |
51 |
+ |
52 |
+LICENSE="|| ( Apache-2.0 BSD )" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
55 |
+IUSE="libressl idna" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/six-1.4.1[${PYTHON_USEDEP}] |
59 |
+ idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] ) |
60 |
+ $(python_gen_cond_dep ' |
61 |
+ >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] |
62 |
+ ' 'python*') |
63 |
+ " |
64 |
+BDEPEND=" |
65 |
+ test? ( |
66 |
+ >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] |
67 |
+ dev-python/iso8601[${PYTHON_USEDEP}] |
68 |
+ dev-python/pretend[${PYTHON_USEDEP}] |
69 |
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
72 |
+ )" |
73 |
+ |
74 |
+distutils_enable_tests pytest |
75 |
+ |
76 |
+DEPEND=" |
77 |
+ !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) |
78 |
+ libressl? ( >=dev-libs/libressl-2.9.1:0= ) |
79 |
+ " |
80 |
+RDEPEND+=${DEPEND} |
81 |
+ |
82 |
+DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) |
83 |
+ |
84 |
+python_test() { |
85 |
+ local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P} |
86 |
+ pytest -vv -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || |
87 |
+ die "Tests fail with ${EPYTHON}" |
88 |
+} |