commit:     3ee7bff4696dc78534eecb2ae36d901a194bf331
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 16:14:03 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Oct 19 16:29:11 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee7bff4

dev-python/serpent: Add python3.5 support

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/serpent/serpent-1.11.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-python/serpent/serpent-1.11.ebuild 
b/dev-python/serpent/serpent-1.11.ebuild
index 483d33a..559ec68 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
+}

Reply via email to