Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/java-config/
Date: Sun, 21 Feb 2016 11:55:56
Message-Id: 1456055741.260df94b4a03fc4ed314deafac6424bede1a2703.chewi@gentoo
1 commit: 260df94b4a03fc4ed314deafac6424bede1a2703
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 21 11:55:20 2016 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 21 11:55:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260df94b
7
8 dev-java/java-config: Add Python 3.5, fix Python deps wrt bug #539802
9
10 Package-Manager: portage-2.2.27
11
12 .../{java-config-2.2.0-r2.ebuild => java-config-2.2.0-r3.ebuild} | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-java/java-config/java-config-2.2.0-r2.ebuild b/dev-java/java-config/java-config-2.2.0-r3.ebuild
16 similarity index 84%
17 rename from dev-java/java-config/java-config-2.2.0-r2.ebuild
18 rename to dev-java/java-config/java-config-2.2.0-r3.ebuild
19 index 75780b7..464984e 100644
20 --- a/dev-java/java-config/java-config-2.2.0-r2.ebuild
21 +++ b/dev-java/java-config/java-config-2.2.0-r3.ebuild
22 @@ -5,7 +5,7 @@
23 EAPI="6"
24
25 # jython depends on java-config, so don't add it or things will break
26 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
27 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
28
29 inherit distutils-r1
30
31 @@ -16,13 +16,15 @@ SRC_URI="https://dev.gentoo.org/~sera/distfiles/${P}.tar.bz2"
32 LICENSE="GPL-2"
33 SLOT="2"
34 KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
35 -IUSE=""
36 +IUSE="test"
37 +
38 +DEPEND="test? ( sys-apps/portage[${PYTHON_USEDEP}] )"
39
40 # baselayout-java is added as a dep till it can be added to eclass.
41 RDEPEND="
42 !dev-java/java-config-wrapper
43 sys-apps/baselayout-java
44 - sys-apps/portage"
45 + sys-apps/portage[${PYTHON_USEDEP}]"
46
47 python_install_all() {
48 distutils-r1_python_install_all