commit: 9cf3378d672449c43b8c508649790acbec67527d Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Thu Dec 3 09:53:05 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Dec 3 10:21:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf3378d
dev-python/python-magic: Add python3.5 support Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> dev-python/python-magic/python-magic-0.4.10.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/python-magic/python-magic-0.4.10.ebuild b/dev-python/python-magic/python-magic-0.4.10.ebuild index 224d596..14c2cda 100644 --- a/dev-python/python-magic/python-magic-0.4.10.ebuild +++ b/dev-python/python-magic/python-magic-0.4.10.ebuild @@ -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 +}