From 3ee7bff4696dc78534eecb2ae36d901a194bf331 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Mon, 19 Oct 2015 18:14:03 +0200 Subject: dev-python/serpent: Add python3.5 support Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher --- dev-python/serpent/serpent-1.11.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'dev-python/serpent') diff --git a/dev-python/serpent/serpent-1.11.ebuild b/dev-python/serpent/serpent-1.11.ebuild index 483d33ab226a..559ec68a0ab4 100644 --- a/dev-python/serpent/serpent-1.11.ebuild +++ b/dev-python/serpent/serpent-1.11.ebuild @@ -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 +} -- cgit v1.2.3-18-g5258