dev-python/python-magic: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Thu, 3 Dec 2015 09:53:05 +0000 (10:53 +0100)
committerJustin Lecher <jlec@gentoo.org>
Thu, 3 Dec 2015 10:21:03 +0000 (11:21 +0100)
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/python-magic/python-magic-0.4.10.ebuild

index 224d5965dc780475632efa777af84f24e7326435..14c2cda5c73c55541afd31ee35c3787f3cc34107 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit distutils-r1
 
@@ -20,3 +20,10 @@ IUSE=""
 RDEPEND="sys-apps/file[-python]"
 DEPEND="${DEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# https://github.com/ahupp/python-magic/issues/97
+RESTRICT="test"
+
+python_test() {
+       esetup.py test
+}