Skip to content

Commit

Permalink
dev-python/pyopenssl: Add pypy3 support
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Oct 11, 2015
1 parent 972e0de commit aedbac4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dev-python/pyopenssl/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
Expand Down
11 changes: 8 additions & 3 deletions dev-python/pyopenssl/pyopenssl-0.15.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@
# $Id$

EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )

PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )

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"
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"
Expand Down Expand Up @@ -42,7 +47,7 @@ python_test() {
esetup.py test

# https://bugs.launchpad.net/pyopenssl/+bug/1237953
rm -rf tmp* *.key *.pem
rm -rf tmp* *.key *.pem || die
}

python_install_all() {
Expand Down

0 comments on commit aedbac4

Please sign in to comment.