1 |
commit: a202fb2b656f2282e820ea51e9b76daefe138ef4 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 29 06:16:50 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 29 06:18:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a202fb2b |
7 |
|
8 |
dev-python/cryptography: version bump to 2.1.2 |
9 |
|
10 |
dev-python/cryptography/Manifest | 1 + |
11 |
dev-python/cryptography/cryptography-2.1.2.ebuild | 51 +++++++++++++++++++++++ |
12 |
2 files changed, 52 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest |
15 |
index 5df8c59ffb5..2b740caa0da 100644 |
16 |
--- a/dev-python/cryptography/Manifest |
17 |
+++ b/dev-python/cryptography/Manifest |
18 |
@@ -5,3 +5,4 @@ DIST cryptography-1.9.tar.gz 409664 SHA256 5518337022718029e367d982642f3e3523541 |
19 |
DIST cryptography-2.0.2.tar.gz 427303 SHA256 3780b2663ee7ebb37cb83263326e3cd7f8b2ea439c448539d4b87de12c8d06ab SHA512 a71219ff52006a7c8bf1553d0f132c747566c630281ef89aac40c65b193b1f0074fc9cda1de7057c76b452113dfb6188c83baef3ed9c05ff18adbc8b7bba646b WHIRLPOOL 2c3b3da3d2d578c0ba29230c0955fd48688fd5039f08eacefc4017c5cd357d1096cdc79a271ff4e7319c1bb344edee12f8c184c33f12569226612a4dccfb6d11 |
20 |
DIST cryptography-2.0.3.tar.gz 427544 SHA256 d04bb2425086c3fe86f7bc48915290b13e798497839fbb18ab7f6dffcf98cc3a SHA512 fa569c4f5a994e2bd90810649fdf48115bfd5ff46790c849991e8f7a7c8b5435402f92453e4365426ee645623b3bb509c9bb781657c4b4e81e3a36b58ba5461c WHIRLPOOL 4bbbfb4c57a5c4de7c84654d6474bd9b7b0d1eb9ed1f63d91a360b2987187f7bb1910ff4ca540b37fd3e98a00b37d5963a92b2d6ae0acfaab1636f512e887ca3 |
21 |
DIST cryptography-2.1.1.tar.gz 441477 SHA256 2699ed21e1f73dd1bdb7b0b22a517295de07809d535b23e200dd22166037fe6f SHA512 d021f7af1cb4c6430049d2213405b7bea84bc0bde9e9f92c99c87dd835b2f28eb28024d65090756d2cc72b63510f25d71c55e473ce00e1d24736c15037998adb WHIRLPOOL 1095cc8698775904019744bb7c7410f405183fa4b497f2a1a66bb3922176e2dacab3c050eb9d081fa0bf07aed268782950e9953d10582e4d57e953d30d93618c |
22 |
+DIST cryptography-2.1.2.tar.gz 441439 SHA256 d7f348e4f5df146a0e75998544bab6d42313cf19a81a6e49990ab7b27cc9c73b SHA512 a5a1bf7ea60f172ae72816965a471be00ee092151c02d9d792579a4457cceddd181d5d95fb832752981f9bdd3cfb88a5d531562845b0b70f37b39fb0fbcafe85 WHIRLPOOL 49c543b80c09f77daf2a49a784bb2132dfadf07dde5b1f7e5c9174b215dda7113ab8b90a5cac386010bcc5fe0c012f55b601b895087f4c0bcbb126b8435cf440 |
23 |
|
24 |
diff --git a/dev-python/cryptography/cryptography-2.1.2.ebuild b/dev-python/cryptography/cryptography-2.1.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..1c526d65add |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cryptography/cryptography-2.1.2.ebuild |
29 |
@@ -0,0 +1,51 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
36 |
+PYTHON_REQ_USE="threads(+)" |
37 |
+ |
38 |
+inherit distutils-r1 flag-o-matic |
39 |
+ |
40 |
+DESCRIPTION="Library providing cryptographic recipes and primitives" |
41 |
+HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="|| ( Apache-2.0 BSD )" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x64-solaris" |
47 |
+IUSE="libressl test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist(-)] ) |
51 |
+ libressl? ( dev-libs/libressl ) |
52 |
+ $(python_gen_cond_dep '>=dev-python/cffi-1.7:=[${PYTHON_USEDEP}]' 'python*') |
53 |
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 pypy{,3}) |
54 |
+ >=dev-python/idna-2.1[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/asn1crypto-0.21.0[${PYTHON_USEDEP}] |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/six-1.4.1[${PYTHON_USEDEP}] |
58 |
+ virtual/python-ipaddress[${PYTHON_USEDEP}] |
59 |
+ " |
60 |
+DEPEND="${RDEPEND} |
61 |
+ >=dev-python/setuptools-1.0[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ ~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}] |
64 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
65 |
+ dev-python/iso8601[${PYTHON_USEDEP}] |
66 |
+ dev-python/pretend[${PYTHON_USEDEP}] |
67 |
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/pytest-2.9.0[${PYTHON_USEDEP}] |
69 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
70 |
+ )" |
71 |
+ |
72 |
+DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) |
73 |
+ |
74 |
+python_configure_all() { |
75 |
+ append-cflags $(test-flags-CC -pthread) |
76 |
+} |
77 |
+ |
78 |
+python_test() { |
79 |
+ py.test -v -v -x || die "Tests fail with ${EPYTHON}" |
80 |
+} |