1 |
commit: eb0d8c553ae4c9732596112a221c4d7348dfe9b2 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 3 20:13:16 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 3 20:26:55 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0d8c55 |
7 |
|
8 |
dev-python/rfc3987: add python3.6 and pypy to PYTHON_COMPAT |
9 |
|
10 |
Since dev-python/regex does not compile with pypy3, and the |
11 |
regex module is not a hard dep, use python_gen_cond_dep to |
12 |
omit the dev-python/regex dependency for pypy3. |
13 |
|
14 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
15 |
|
16 |
dev-python/rfc3987/rfc3987-1.3.7.ebuild | 5 +++-- |
17 |
1 file changed, 3 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/rfc3987/rfc3987-1.3.7.ebuild b/dev-python/rfc3987/rfc3987-1.3.7.ebuild |
20 |
index e21e5e9dbda..c55109efc5e 100644 |
21 |
--- a/dev-python/rfc3987/rfc3987-1.3.7.ebuild |
22 |
+++ b/dev-python/rfc3987/rfc3987-1.3.7.ebuild |
23 |
@@ -3,7 +3,7 @@ |
24 |
|
25 |
EAPI=5 |
26 |
|
27 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
28 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
29 |
|
30 |
inherit distutils-r1 |
31 |
|
32 |
@@ -16,7 +16,8 @@ SLOT="0" |
33 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
34 |
IUSE="" |
35 |
|
36 |
-RDEPEND="dev-python/regex[${PYTHON_USEDEP}]" |
37 |
+RDEPEND="$(python_gen_cond_dep \ |
38 |
+ 'dev-python/regex[${PYTHON_USEDEP}]' python2_7 'python3*' pypy)" |
39 |
DEPEND="${RDEPEND} |
40 |
dev-python/setuptools[${PYTHON_USEDEP}] |
41 |
" |