diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-12-06 11:01:49 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-12-06 11:01:49 +0000 |
commit | 24c9849ff0e8f7590ce839eb465650f622b11427 (patch) | |
tree | eb1a1a1608ad919261f676e84f5cdb26392fc183 /dev-python/rsa | |
parent | dev-python/pyasn1-modules: Add pypy3 support (diff) | |
download | gentoo-2-24c9849ff0e8f7590ce839eb465650f622b11427.tar.gz gentoo-2-24c9849ff0e8f7590ce839eb465650f622b11427.tar.bz2 gentoo-2-24c9849ff0e8f7590ce839eb465650f622b11427.zip |
dev-python/rsa: Move to new distutils eclass, fixes py3 installation problems, #433621
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/rsa')
-rw-r--r-- | dev-python/rsa/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/rsa/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/rsa/rsa-3.1.4-r1.ebuild | 33 |
3 files changed, 44 insertions, 5 deletions
diff --git a/dev-python/rsa/ChangeLog b/dev-python/rsa/ChangeLog index f2b1ccd84bac..efe5ad92f67f 100644 --- a/dev-python/rsa/ChangeLog +++ b/dev-python/rsa/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/rsa # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rsa/ChangeLog,v 1.8 2014/05/09 05:55:20 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/rsa/ChangeLog,v 1.9 2014/12/06 11:01:49 jlec Exp $ + +*rsa-3.1.4-r1 (06 Dec 2014) + + 06 Dec 2014; Justin Lecher <jlec@gentoo.org> +rsa-3.1.4-r1.ebuild, + metadata.xml: + Move to new distutils eclass, fixes py3 installation problems, #433621 *rsa-3.1.4 (09 May 2014) diff --git a/dev-python/rsa/metadata.xml b/dev-python/rsa/metadata.xml index 65a0ed57882b..310d6b44cf36 100644 --- a/dev-python/rsa/metadata.xml +++ b/dev-python/rsa/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>python</herd> - <upstream> - <remote-id type="pypi">rsa</remote-id> - </upstream> + <herd>python</herd> + <upstream> + <remote-id type="pypi">rsa</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/rsa/rsa-3.1.4-r1.ebuild b/dev-python/rsa/rsa-3.1.4-r1.ebuild new file mode 100644 index 000000000000..1eed9e2f4a43 --- /dev/null +++ b/dev-python/rsa/rsa-3.1.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rsa/rsa-3.1.4-r1.ebuild,v 1.1 2014/12/06 11:01:49 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python RSA implementation" +HOMEPAGE="http://stuvel.eu/rsa http://pypi.python.org/pypi/rsa" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/pyasn1-0.0.13[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + >=dev-python/setuptools-0.6.10[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + ) + " + +python_test() { + nosetests || die +} |