1 |
commit: 9cf3378d672449c43b8c508649790acbec67527d |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 3 09:53:05 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 3 10:21:03 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf3378d |
7 |
|
8 |
dev-python/python-magic: Add python3.5 support |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/python-magic/python-magic-0.4.10.ebuild | 9 ++++++++- |
14 |
1 file changed, 8 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-python/python-magic/python-magic-0.4.10.ebuild b/dev-python/python-magic/python-magic-0.4.10.ebuild |
17 |
index 224d596..14c2cda 100644 |
18 |
--- a/dev-python/python-magic/python-magic-0.4.10.ebuild |
19 |
+++ b/dev-python/python-magic/python-magic-0.4.10.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
|
22 |
EAPI=5 |
23 |
|
24 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
25 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
@@ -20,3 +20,10 @@ IUSE="" |
30 |
RDEPEND="sys-apps/file[-python]" |
31 |
DEPEND="${DEPEND} |
32 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
33 |
+ |
34 |
+# https://github.com/ahupp/python-magic/issues/97 |
35 |
+RESTRICT="test" |
36 |
+ |
37 |
+python_test() { |
38 |
+ esetup.py test |
39 |
+} |