1 |
commit: 7f63c92ae10cb8e8d17d3ee1eb917462f6b3911c |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 06:05:48 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 06:11:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f63c92a |
7 |
|
8 |
dev-python/cryptography: verison bump to 1.2.3 and add openssl subslot #576128 |
9 |
|
10 |
dev-python/cryptography/Manifest | 1 + |
11 |
dev-python/cryptography/cryptography-1.2.3.ebuild | 48 +++++++++++++++++++++++ |
12 |
2 files changed, 49 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest |
15 |
index 73bcde0..319c177 100644 |
16 |
--- a/dev-python/cryptography/Manifest |
17 |
+++ b/dev-python/cryptography/Manifest |
18 |
@@ -4,3 +4,4 @@ DIST cryptography-1.1.2.tar.gz 349022 SHA256 7f51459f84d670444275e615839f4542c93 |
19 |
DIST cryptography-1.1.tar.gz 348676 SHA256 059bc6428b1d0e2317f505698602642f1d8dda5b120ec573a59a430d8cb7a32d SHA512 8d5b5ac7cc2dcf7271dcd85c65c42cd815b95ec8502864da1b7c32c4a5905ecc6ae45f54d11e7b539d9ddf10d8bd3de9f40233c0b3cbdd1132b2ffbd4ebb318f WHIRLPOOL 0f154e624a51ebbc342ea082fc00a66b21024c81f3265e7d0e22e089afc5e83dcfe2857113d911db3a8e253d6fe93413ff94b91a83e97fd9405c3f08becc8a03 |
20 |
DIST cryptography-1.2.1.tar.gz 372763 SHA256 a13217a03a47e743d26edff7299e4be7358c2fd12a223ac5d6de3229690b6ee5 SHA512 8ec01e23cfc4c6f9dd38a4a3238a670e68e0174e23d815a3babe37b3355cd453586ee271848f5d9d194f6b3b28483101558376e062ef7bb20cc4508261eb1ad7 WHIRLPOOL fa11a9e8ee9c675c0d8d282f420d072e4029e349df5c07202cfd93fcfb94834a0481e2f858f1426b0aba46bf173843ff40975a23d5b006583241f64442307638 |
21 |
DIST cryptography-1.2.2.tar.gz 372894 SHA256 3f219cb9106d9b737ea9c332c4d15d70ac328f91b59fd9d79f78bdea8f826a67 SHA512 9c838e116b23bf22c5b01ecdd6f7fa0c4c92ce857516d500b983ae71bab002331cafcb404caa454362878ecbe4a818626c5f94636340bcad0518390671a36845 WHIRLPOOL 29c86d3d6f271f5a9a5da9afa39acc49c579e752e2c040e4b1014c0446a4604fa955ff2a6486ed1c0389fbe5ca54c3181af0bcef279a3fd4e8f4a37e3e09c190 |
22 |
+DIST cryptography-1.2.3.tar.gz 373165 SHA256 8eb11c77dd8e73f48df6b2f7a7e16173fe0fe8fdfe266232832e88477e08454e SHA512 f05f6ffd3386e839998437b3cb6b3bcc38af604e77aefe43904c8e155c26f9113f70666d7f089a76f5f646350f2ffa0aeb1e546d14da1d99c1d3de3419c833e3 WHIRLPOOL 5aeab8267500fffa6ca242c606c3724b0d03770129ac96250c913e4b2b433a8a8e83a6bcb2f5309adbe18e1c02004afecec9ae0c12c7ff381be4f36ff985f10b |
23 |
|
24 |
diff --git a/dev-python/cryptography/cryptography-1.2.3.ebuild b/dev-python/cryptography/cryptography-1.2.3.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..2aa1445 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cryptography/cryptography-1.2.3.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI="5" |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) |
37 |
+PYTHON_REQ_USE="threads(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Library providing cryptographic recipes and primitives" |
42 |
+HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="|| ( Apache-2.0 BSD )" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
48 |
+IUSE="libressl test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ !libressl? ( dev-libs/openssl:0= ) |
52 |
+ libressl? ( dev-libs/libressl ) |
53 |
+ $(python_gen_cond_dep '>=dev-python/cffi-1.4.1:=[${PYTHON_USEDEP}]' 'python*') |
54 |
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy) |
55 |
+ >=dev-python/idna-2.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}] |
57 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/six-1.4.1[${PYTHON_USEDEP}] |
59 |
+ $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy ) |
60 |
+ virtual/python-ipaddress[${PYTHON_USEDEP}] |
61 |
+ " |
62 |
+DEPEND="${RDEPEND} |
63 |
+ >=dev-python/setuptools-1.0[${PYTHON_USEDEP}] |
64 |
+ test? ( |
65 |
+ ~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}] |
66 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
67 |
+ dev-python/iso8601[${PYTHON_USEDEP}] |
68 |
+ dev-python/pretend[${PYTHON_USEDEP}] |
69 |
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
71 |
+ )" |
72 |
+ |
73 |
+DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) |
74 |
+ |
75 |
+python_test() { |
76 |
+ py.test -v -v -x || die "Tests fail with ${EPYTHON}" |
77 |
+} |