1 |
commit: d83306d1151a36d6003d514cce3606dec2a882e8 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 28 16:37:41 2018 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 29 06:07:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83306d1 |
7 |
|
8 |
dev-python/cryptography: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
dev-python/cryptography/Manifest | 1 + |
13 |
dev-python/cryptography/cryptography-2.2.2.ebuild | 68 +++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest |
17 |
index 685e5b87932..032127fab86 100644 |
18 |
--- a/dev-python/cryptography/Manifest |
19 |
+++ b/dev-python/cryptography/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST cryptography-1.7.1.tar.gz 420673 BLAKE2B 8c0257187f29173bae610f191f6ae3251e5dd2cfcbe639020d1ea8f94a09bfe4281c9f6b2c85aefc1989c5832eab4db40c226a8a2e12c4dcbf6241555dafa628 SHA512 fb88b0ee9e314526fcdbb6d35da409b7335c7408a69d2350c58379471d2b9d76021010955629cf776d26312f22d4f8aa3f135955a19dfbff9d602176c9bbfd40 |
22 |
DIST cryptography-2.0.2.tar.gz 427303 BLAKE2B 53f891c02aa4b82b13a66a4c74bd6db9e8dcdb57bd0bba76648e0c1be710ce1d94c8425ead6d81b240b39c034125ce320757d4b43c56bc7410af11f171cf9a21 SHA512 a71219ff52006a7c8bf1553d0f132c747566c630281ef89aac40c65b193b1f0074fc9cda1de7057c76b452113dfb6188c83baef3ed9c05ff18adbc8b7bba646b |
23 |
DIST cryptography-2.1.4.tar.gz 441557 BLAKE2B 66aa07930ee54469328977e27096e65b7a333b38b71828c71cb7891b489ef7af60f5e5590f67b43d5e63dc2279d9ca1ba036879f3145264f7639d65000958b50 SHA512 f749cb4384badc174a842514e5a4fee2ed01ab9c716799d8d9d5301f6d2d97b6c41deb9e425f48928b639fa34bef8c05529ed7e5b777ef5ca75c244f8fda8fd4 |
24 |
+DIST cryptography-2.2.2.tar.gz 443822 BLAKE2B d0fbaad78d172f1ba1bfa6edd64d2d5a0eac0853a564fdbb9830dfedc5c53fe1b28d8c1878be85ce38b8cd90a0c2e40e6a209158693a88a7053a80f0481e6302 SHA512 6c1b19cdb870d65abad42523697e9a0bebc7a0025b34f10c4bdd30c313333efd7c41bcb4237a29b3a1b270e3fbade75ccb35df172b055b7c075d619f4d9424c9 |
25 |
|
26 |
diff --git a/dev-python/cryptography/cryptography-2.2.2.ebuild b/dev-python/cryptography/cryptography-2.2.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..89ab8501f3b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/cryptography/cryptography-2.2.2.ebuild |
31 |
@@ -0,0 +1,68 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
38 |
+PYTHON_REQ_USE="threads(+)" |
39 |
+ |
40 |
+inherit distutils-r1 flag-o-matic |
41 |
+ |
42 |
+DESCRIPTION="Library providing cryptographic recipes and primitives" |
43 |
+HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="|| ( Apache-2.0 BSD )" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
49 |
+IUSE="libressl test" |
50 |
+ |
51 |
+# the openssl 1.0.2l-r1 needs to be updated again :( |
52 |
+# It'd theb be able to go into the || section again |
53 |
+#=dev-libs/openssl-1.0.2l-r1:0 |
54 |
+# the following is the original section, disallowing bindist entirely |
55 |
+#!libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist(-)] ) |
56 |
+RDEPEND=" |
57 |
+ !libressl? ( |
58 |
+ dev-libs/openssl:0= ( |
59 |
+ || ( |
60 |
+ dev-libs/openssl:0[-bindist(-)] |
61 |
+ >=dev-libs/openssl-1.0.2o-r2:0 |
62 |
+ ) |
63 |
+ ) |
64 |
+ ) |
65 |
+ libressl? ( dev-libs/libressl:0= ) |
66 |
+ $(python_gen_cond_dep '>=dev-python/cffi-1.7:=[${PYTHON_USEDEP}]' 'python*') |
67 |
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 pypy{,3}) |
68 |
+ >=dev-python/idna-2.1[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/asn1crypto-0.21.0[${PYTHON_USEDEP}] |
70 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/six-1.4.1[${PYTHON_USEDEP}] |
72 |
+ virtual/python-ipaddress[${PYTHON_USEDEP}] |
73 |
+ " |
74 |
+DEPEND="${RDEPEND} |
75 |
+ >=dev-python/setuptools-1.0[${PYTHON_USEDEP}] |
76 |
+ test? ( |
77 |
+ ~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}] |
78 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
79 |
+ dev-python/iso8601[${PYTHON_USEDEP}] |
80 |
+ dev-python/pretend[${PYTHON_USEDEP}] |
81 |
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/pytest-2.9.0[${PYTHON_USEDEP}] |
83 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
84 |
+ )" |
85 |
+ |
86 |
+DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) |
87 |
+ |
88 |
+PATCHES=( |
89 |
+ "${FILESDIR}"/${PN}-2.1.4-libressl-2.7-x509.patch |
90 |
+ "${FILESDIR}"/${PN}-2.1.4-libressl-2.7-x509_vfy.patch |
91 |
+) |
92 |
+ |
93 |
+python_configure_all() { |
94 |
+ append-cflags $(test-flags-CC -pthread) |
95 |
+} |
96 |
+ |
97 |
+python_test() { |
98 |
+ py.test -v -v -x || die "Tests fail with ${EPYTHON}" |
99 |
+} |