1 |
commit: e2e4d0f4836fbaad31e40e5d8ba22fe886d4f71e |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 25 22:25:08 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 26 18:14:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e4d0f4 |
7 |
|
8 |
dev-python/pyopenssl: version bump to 17.4.0 |
9 |
|
10 |
dev-python/pyopenssl/Manifest | 1 + |
11 |
dev-python/pyopenssl/pyopenssl-17.4.0.ebuild | 67 ++++++++++++++++++++++++++++ |
12 |
2 files changed, 68 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest |
15 |
index 2558e91e7ff..0c6380313ed 100644 |
16 |
--- a/dev-python/pyopenssl/Manifest |
17 |
+++ b/dev-python/pyopenssl/Manifest |
18 |
@@ -3,3 +3,4 @@ DIST pyOpenSSL-16.2.0.tar.gz 167305 SHA256 7779a3bbb74e79db234af6a08775568c6769b |
19 |
DIST pyOpenSSL-17.0.0.tar.gz 167121 SHA256 48abfe9d2bb8eb8d8947c8452b0223b7b1be2383b332f3b4f248fe59ef0bafdd SHA512 819be95f920a70b40ae48ed6740bd1d8cd3bf2fc080f682db8978946929994cb87ac467e220267dcdafc40aa7ed2cce51a334a49b06c1e2665d295157181ddad WHIRLPOOL 8256ad13d35d7c7d1678bd6c35140e13a1f601f149bc38633b3f04eaec7e302853abcb5df857a04fd04dc8ac3feeb35d4247dc979cee0969dafc538ec9b70d5c |
20 |
DIST pyOpenSSL-17.2.0.tar.gz 170816 SHA256 5d617ce36b07c51f330aa63b83bf7f25c40a0e95958876d54d1982f8c91b4834 SHA512 aef1628665353445760a0c869c5b88ba1f61a3ade7471bfd1ad9e57672573501574dab5a2491aaac1dc283893fcac1a81dd9b972f43d53fe7ef1aa48e3f0e88a WHIRLPOOL aab3617e825237032efa44d5b89603bcd6b33095f76bb04b53140138066d9c6e96b64bb6def4425b3cf3aa279691142c66bf5c6b9a89ef5e5c64eb83459dc5a9 |
21 |
DIST pyOpenSSL-17.3.0.tar.gz 168119 SHA256 29630b9064a82e04d8242ea01d7c93d70ec320f5e3ed48e95fcabc6b1d0f6c76 SHA512 2b58a652b8d6e2adadbc620a6b3411cd44169940ef1839fd3365cd343ebe1e630ddbb580d8d4dc79e738e0b4f91db0bdbbaecf18aea74204499c737eebb3fae8 WHIRLPOOL 154cb8beedd57c24aced9c0a37b2395a9c25a0696b803c70d40bc4df98802587e73602c7c74aebd03c60dd54849c293eede1366c0b2f5ccb0967331235754bc0 |
22 |
+DIST pyOpenSSL-17.4.0.tar.gz 169362 BLAKE2B 87a51efaa157b4a91a48edfcd9348402b6734e1c9f78e7ed638e3d245ae3922083c625e3d967e7513c588e131f96b06f110ae528cccbbb820f685afb9dda72ef SHA512 c3c791b15f2245d3c1381f84471f9e1b07b4a01c318a5a4012ec70193ba055fe948ba150f9c88d2dabe30b37f2025fe26ffb95c01682ca656d561014d41cf965 |
23 |
|
24 |
diff --git a/dev-python/pyopenssl/pyopenssl-17.4.0.ebuild b/dev-python/pyopenssl/pyopenssl-17.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..d873a6b97ce |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pyopenssl/pyopenssl-17.4.0.ebuild |
29 |
@@ -0,0 +1,67 @@ |
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 |
+MY_PN=pyOpenSSL |
41 |
+MY_P=${MY_PN}-${PV} |
42 |
+ |
43 |
+DESCRIPTION="Python interface to the OpenSSL library" |
44 |
+HOMEPAGE=" |
45 |
+ http://pyopenssl.sourceforge.net/ |
46 |
+ https://launchpad.net/pyopenssl |
47 |
+ https://pypi.python.org/pypi/pyOpenSSL |
48 |
+" |
49 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="Apache-2.0" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" |
54 |
+IUSE="doc examples test" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ >=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/cryptography-1.9[${PYTHON_USEDEP}]" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ doc? ( |
61 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
62 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+ test? ( |
65 |
+ virtual/python-cffi[${PYTHON_USEDEP}] |
66 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
67 |
+ dev-python/pretend[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/pytest-3.0.1[${PYTHON_USEDEP}] )" |
69 |
+ |
70 |
+S=${WORKDIR}/${MY_P} |
71 |
+ |
72 |
+python_prepare_all() { |
73 |
+ # Requires network access |
74 |
+ sed -i -e 's/test_set_default_verify_paths/_&/' tests/test_ssl.py || die |
75 |
+ distutils-r1_python_prepare_all |
76 |
+} |
77 |
+ |
78 |
+python_compile_all() { |
79 |
+ use doc && emake -C doc html |
80 |
+} |
81 |
+ |
82 |
+python_test() { |
83 |
+ # FIXME: for some reason, no-ops on PyPy |
84 |
+ py.test -v || die "Testing failed with ${EPYTHON}" |
85 |
+} |
86 |
+ |
87 |
+python_install_all() { |
88 |
+ use doc && local HTML_DOCS=( doc/_build/html/. ) |
89 |
+ if use examples ; then |
90 |
+ docinto examples |
91 |
+ dodoc -r examples/* |
92 |
+ docompress -x /usr/share/doc/${PF}/examples |
93 |
+ fi |
94 |
+ |
95 |
+ distutils-r1_python_install_all |
96 |
+} |