dev-python/serpent: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Mon, 19 Oct 2015 16:14:03 +0000 (18:14 +0200)
committerJustin Lecher <jlec@gentoo.org>
Mon, 19 Oct 2015 16:29:11 +0000 (18:29 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/serpent/serpent-1.11.ebuild

index 483d33ab226ab366b6e5d52936700fa6e9c59649..559ec68a0ab4549fd9b3972ee552fa2e4ea714ca 100644 (file)
@@ -3,15 +3,23 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
 
 inherit distutils-r1
 
 DESCRIPTION="A simple serialization library based on ast.literal_eval"
-HOMEPAGE="https://pypi.python.org/packages/source/s/serpent/"
+HOMEPAGE="https://pypi.python.org/pypi/serpent https://github.com/irmen/Serpent"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE=""
+
+# not bundled
+RESTRICT="test"
+
+python_test() {
+       ${PYTHON} -bb test_serpent.py || die
+}