summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-02 01:05:48 -0500
committerMike Frysinger <vapier@gentoo.org>2016-03-02 01:11:23 -0500
commit7f63c92ae10cb8e8d17d3ee1eb917462f6b3911c (patch)
treeeb38c9fc9b4a9cf08164ac53bebe034cf29a2d92 /dev-python/cryptography
parentdev-python/cryptography-vectors: verison bump to 1.2.3 (diff)
downloadgentoo-7f63c92ae10cb8e8d17d3ee1eb917462f6b3911c.tar.gz
gentoo-7f63c92ae10cb8e8d17d3ee1eb917462f6b3911c.tar.bz2
gentoo-7f63c92ae10cb8e8d17d3ee1eb917462f6b3911c.zip
dev-python/cryptography: verison bump to 1.2.3 and add openssl subslot #576128
Diffstat (limited to 'dev-python/cryptography')
-rw-r--r--dev-python/cryptography/Manifest1
-rw-r--r--dev-python/cryptography/cryptography-1.2.3.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
index 73bcde0eae74..319c1777632c 100644
--- a/dev-python/cryptography/Manifest
+++ b/dev-python/cryptography/Manifest
@@ -4,3 +4,4 @@ DIST cryptography-1.1.2.tar.gz 349022 SHA256 7f51459f84d670444275e615839f4542c93
DIST cryptography-1.1.tar.gz 348676 SHA256 059bc6428b1d0e2317f505698602642f1d8dda5b120ec573a59a430d8cb7a32d SHA512 8d5b5ac7cc2dcf7271dcd85c65c42cd815b95ec8502864da1b7c32c4a5905ecc6ae45f54d11e7b539d9ddf10d8bd3de9f40233c0b3cbdd1132b2ffbd4ebb318f WHIRLPOOL 0f154e624a51ebbc342ea082fc00a66b21024c81f3265e7d0e22e089afc5e83dcfe2857113d911db3a8e253d6fe93413ff94b91a83e97fd9405c3f08becc8a03
DIST cryptography-1.2.1.tar.gz 372763 SHA256 a13217a03a47e743d26edff7299e4be7358c2fd12a223ac5d6de3229690b6ee5 SHA512 8ec01e23cfc4c6f9dd38a4a3238a670e68e0174e23d815a3babe37b3355cd453586ee271848f5d9d194f6b3b28483101558376e062ef7bb20cc4508261eb1ad7 WHIRLPOOL fa11a9e8ee9c675c0d8d282f420d072e4029e349df5c07202cfd93fcfb94834a0481e2f858f1426b0aba46bf173843ff40975a23d5b006583241f64442307638
DIST cryptography-1.2.2.tar.gz 372894 SHA256 3f219cb9106d9b737ea9c332c4d15d70ac328f91b59fd9d79f78bdea8f826a67 SHA512 9c838e116b23bf22c5b01ecdd6f7fa0c4c92ce857516d500b983ae71bab002331cafcb404caa454362878ecbe4a818626c5f94636340bcad0518390671a36845 WHIRLPOOL 29c86d3d6f271f5a9a5da9afa39acc49c579e752e2c040e4b1014c0446a4604fa955ff2a6486ed1c0389fbe5ca54c3181af0bcef279a3fd4e8f4a37e3e09c190
+DIST cryptography-1.2.3.tar.gz 373165 SHA256 8eb11c77dd8e73f48df6b2f7a7e16173fe0fe8fdfe266232832e88477e08454e SHA512 f05f6ffd3386e839998437b3cb6b3bcc38af604e77aefe43904c8e155c26f9113f70666d7f089a76f5f646350f2ffa0aeb1e546d14da1d99c1d3de3419c833e3 WHIRLPOOL 5aeab8267500fffa6ca242c606c3724b0d03770129ac96250c913e4b2b433a8a8e83a6bcb2f5309adbe18e1c02004afecec9ae0c12c7ff381be4f36ff985f10b
diff --git a/dev-python/cryptography/cryptography-1.2.3.ebuild b/dev-python/cryptography/cryptography-1.2.3.ebuild
new file mode 100644
index 000000000000..2aa14454ce32
--- /dev/null
+++ b/dev-python/cryptography/cryptography-1.2.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Library providing cryptographic recipes and primitives"
+HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 BSD )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="libressl test"
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl )
+ $(python_gen_cond_dep '>=dev-python/cffi-1.4.1:=[${PYTHON_USEDEP}]' 'python*')
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
+ >=dev-python/idna-2.0[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/six-1.4.1[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
+ virtual/python-ipaddress[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}
+ >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
+ test? (
+ ~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/iso8601[${PYTHON_USEDEP}]
+ dev-python/pretend[${PYTHON_USEDEP}]
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
+
+python_test() {
+ py.test -v -v -x || die "Tests fail with ${EPYTHON}"
+}