Gentoo Archives: gentoo-commits

From: Dirkjan Ochtman <djc@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cryptography/
Date: Sat, 04 Jun 2016 06:28:24
Message-Id: 1465021672.bc8ca29657ce38859f305ca7d6a9621eb7b75e74.djc@gentoo
1 commit: bc8ca29657ce38859f305ca7d6a9621eb7b75e74
2 Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 4 06:27:34 2016 +0000
4 Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 06:27:52 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc8ca296
7
8 dev-python/cryptography: version bump to 1.3.4 (fixes bug 584806)
9
10 Package-Manager: portage-2.2.28
11
12 dev-python/cryptography/Manifest | 1 +
13 dev-python/cryptography/cryptography-1.3.4.ebuild | 48 +++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
17 index d733337..c38ad3a 100644
18 --- a/dev-python/cryptography/Manifest
19 +++ b/dev-python/cryptography/Manifest
20 @@ -1,2 +1,3 @@
21 DIST cryptography-1.1.2.tar.gz 349022 SHA256 7f51459f84d670444275e615839f4542c93547a12e938a0a4906dafe5f7de153 SHA512 566e346a76cfd6b1c6afbf64d1fe496770b1ad5f471c42877ad6931a441ab77408815ae066ba3f0450766c86ae9dd10d7a5966321f93a979a4e1ab9e1201371b WHIRLPOOL 9a552e65047c45e19e313e0530031fa282aec51577bcc64f9346f37ac99663db052f7ccc1798532103edffa6e778f9585e937a862a475f6d7bd9140d06bbcf57
22 DIST cryptography-1.3.1.tar.gz 383852 SHA256 b4b36175e0f95ddc88435c26dbe3397edce48e2ff5fe41d504cdb3beddcd53e2 SHA512 8b833619d0aec5e6630c8e069e886f6b708b0b3a4f4ca4e37797a24c69be4cacf162f20c068deaecc3222ee0323583582d384e49fa3dbaeaeefc0d7d8c92918a WHIRLPOOL f9e7c75e910699afdf4adc4fb7257135b97c357c967bbca95f332e1f2ed262716ebba6a648427f86a524e75f6ac46aea7f891fe42100c9d7cf8ffcc317fb7905
23 +DIST cryptography-1.3.4.tar.gz 384109 SHA256 423ff890c01be7c70dbfeaa967eeef5146f1a43a5f810ffdc07b178e48a105a9 SHA512 abbc027433658702d2331282c9f63d99ea2eb42f5cdfe066b2b0ae6d9b86a35e23891716bb2e9e2ca707aa0d38fb69cba22ec5d95d2b9073047444fdae7a9224 WHIRLPOOL 5bd007cfe304620a7237b0f63fbe87ab22bd1cc252941f4815398382122b1c56c5a22e2dc35ce86aba2c2b2d9403de3313bafde23a3695bd26e4eb0f23c9dea9
24
25 diff --git a/dev-python/cryptography/cryptography-1.3.4.ebuild b/dev-python/cryptography/cryptography-1.3.4.ebuild
26 new file mode 100644
27 index 0000000..2aa1445
28 --- /dev/null
29 +++ b/dev-python/cryptography/cryptography-1.3.4.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="5"
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
38 +PYTHON_REQ_USE="threads(+)"
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Library providing cryptographic recipes and primitives"
43 +HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/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-linux ~x86-linux"
49 +IUSE="libressl test"
50 +
51 +RDEPEND="
52 + !libressl? ( dev-libs/openssl:0= )
53 + libressl? ( dev-libs/libressl )
54 + $(python_gen_cond_dep '>=dev-python/cffi-1.4.1:=[${PYTHON_USEDEP}]' 'python*')
55 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
56 + >=dev-python/idna-2.0[${PYTHON_USEDEP}]
57 + >=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
58 + dev-python/setuptools[${PYTHON_USEDEP}]
59 + >=dev-python/six-1.4.1[${PYTHON_USEDEP}]
60 + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
61 + virtual/python-ipaddress[${PYTHON_USEDEP}]
62 + "
63 +DEPEND="${RDEPEND}
64 + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
65 + test? (
66 + ~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
67 + dev-python/hypothesis[${PYTHON_USEDEP}]
68 + dev-python/iso8601[${PYTHON_USEDEP}]
69 + dev-python/pretend[${PYTHON_USEDEP}]
70 + dev-python/pyasn1-modules[${PYTHON_USEDEP}]
71 + dev-python/pytest[${PYTHON_USEDEP}]
72 + )"
73 +
74 +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
75 +
76 +python_test() {
77 + py.test -v -v -x || die "Tests fail with ${EPYTHON}"
78 +}