summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-24 13:19:56 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-10-24 13:30:40 +0200
commit1a70c2218ce9b0329b858ac117b0e8eb17d5bb51 (patch)
tree8d6c129a9d8f1400a846cff2acb8e74b5acbd0fc /dev-python/pyopenssl
parentdev-python/mimeparse: Bump to version 1.6.0 (diff)
downloadgentoo-1a70c2218ce9b0329b858ac117b0e8eb17d5bb51.tar.gz
gentoo-1a70c2218ce9b0329b858ac117b0e8eb17d5bb51.tar.bz2
gentoo-1a70c2218ce9b0329b858ac117b0e8eb17d5bb51.zip
dev-python/pyopenssl: Bump to version 16.2.0 (bug #597306).
Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-python/pyopenssl')
-rw-r--r--dev-python/pyopenssl/Manifest1
-rw-r--r--dev-python/pyopenssl/pyopenssl-16.2.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest
index 045e35c3a0ae..0339f23c8a04 100644
--- a/dev-python/pyopenssl/Manifest
+++ b/dev-python/pyopenssl/Manifest
@@ -2,3 +2,4 @@ DIST pyOpenSSL-0.14.tar.gz 128005 SHA256 a99db8e59c120138ad8a72eecedcc24b4510d2e
DIST pyOpenSSL-0.15.1.tar.gz 149887 SHA256 f0a26070d6db0881de8bcc7846934b7c3c930d8f9c79d45883ee48984bc0d672 SHA512 bd204f40c9583a8580cff28b061f02ea772fdda3965dab6ac9e3f8c3b98792bea87b6de76494f7ce81e1ddcc76019432a9ffa3bcd55c5adb063bb639efe62e51 WHIRLPOOL 34badbf11b49cb65019cb55da7c6d6a539971392741d14ea1408c56dc0564d52ffeb947d86549fed17762474d863d59a406cde86daa75a329bd5b6411a77702b
DIST pyOpenSSL-16.0.0.tar.gz 171929 SHA256 363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d SHA512 ba67a34e04e383ab42b619c5d9e73206672d584b0795e1d09c5de7e624bff0e3bd9f9e69d51a92d6a40e4000408ae21d5d2ac281f22aeca2e8681e6fa762a081 WHIRLPOOL c650d798a8d80fc7d026163cb81b6d6e44154e1f4d21748b2c3218e4385bf83e53eaf0e62bedaebac6fe39f3c1c6f01a725c00dcc2cd315ca8854cf820e58c49
DIST pyOpenSSL-16.1.0.tar.gz 166917 SHA256 88f7ada2a71daf2c78a4f139b19d57551b4c8be01f53a1cb5c86c2f3bf01355f SHA512 276c81d01e635445e9fdbb350e3ce040459be71d6ec2ae9b31e6ab28fee1e98157fa5b9f31674720212f2a3c42746c78f7620387452bc346482587f2d1e64b92 WHIRLPOOL 61eea8799028cfeee4719c549cee9eec625f8ab100d25863fc37febd8401ebb25058a9c8eede54375490e4d0facfd952f74bf11378da5c1a64d4f633c3589274
+DIST pyOpenSSL-16.2.0.tar.gz 167305 SHA256 7779a3bbb74e79db234af6a08775568c6769b5821faecf6e2f4143edb227516e SHA512 c1b068137a492564fe958603712d401b7ee0def94c01a28be55f5c89e07c25684ecb0f465f3c56f35924bde038894f2914ac49539144845fb586d12b80307078 WHIRLPOOL 60f2fe38ba773ed52bcfe88da57bd78f2114d7018a6184ec1c0fa2a8ae6dab4cf2495cd2aa75d7a5b2beee49477dbb6b4256034cec83752db0a3c7e5f7c4debb
diff --git a/dev-python/pyopenssl/pyopenssl-16.2.0.ebuild b/dev-python/pyopenssl/pyopenssl-16.2.0.ebuild
new file mode 100644
index 000000000000..85700a0006c8
--- /dev/null
+++ b/dev-python/pyopenssl/pyopenssl-16.2.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 flag-o-matic
+
+MY_PN=pyOpenSSL
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Python interface to the OpenSSL library"
+HOMEPAGE="
+ http://pyopenssl.sourceforge.net/
+ https://launchpad.net/pyopenssl
+ https://pypi.python.org/pypi/pyOpenSSL
+"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
+IUSE="doc examples test"
+RESTRICT="test" # currently pretty broken. tox always tries to fetch stuff from the internet.
+
+RDEPEND="
+ >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-1.3[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+# Test dependencies aren't keyworded for all arches yet.
+# test? (
+# >=dev-python/coverage-4.2[${PYTHON_USEDEP}]
+# dev-python/tox[${PYTHON_USEDEP}]
+# >=dev-python/pytest-3.0.1[${PYTHON_USEDEP}]
+# )"
+
+S=${WORKDIR}/${MY_P}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_test() {
+ tox
+ # https://bugs.launchpad.net/pyopenssl/+bug/1237953
+ rm -rf tmp* *.key *.pem || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/_build/html/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}