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: Thu, 18 Feb 2016 17:05:31
Message-Id: 1455815036.22d6ca90de8cf83894715a2b42cd678f10ee37cb.chewi@gentoo
1 commit: 22d6ca90de8cf83894715a2b42cd678f10ee37cb
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 18 17:03:48 2016 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 18 17:03:56 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d6ca90
7
8 dev-java/java-config: Remove java-config-wrapper dependency, EAPI bump
9
10 java-config-wrapper is very obsolete but we have relied on it because
11 it installs the java-config symlink. We don't have time to do a
12 java-config bump yet but we can easily install the symlink
13 here. Addresses bug #504124.
14
15 Package-Manager: portage-2.2.27
16
17 dev-java/java-config/java-config-2.2.0-r1.ebuild | 36 ++++++++++++++++++++++++
18 1 file changed, 36 insertions(+)
19
20 diff --git a/dev-java/java-config/java-config-2.2.0-r1.ebuild b/dev-java/java-config/java-config-2.2.0-r1.ebuild
21 new file mode 100644
22 index 0000000..171c3ed
23 --- /dev/null
24 +++ b/dev-java/java-config/java-config-2.2.0-r1.ebuild
25 @@ -0,0 +1,36 @@
26 +# Copyright 1999-2016 Gentoo Foundation
27 +# Distributed under the terms of the GNU General Public License v2
28 +# $Id$
29 +
30 +EAPI="6"
31 +
32 +# jython depends on java-config, so don't add it or things will break
33 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
34 +
35 +inherit distutils-r1
36 +
37 +DESCRIPTION="Java environment configuration query tool"
38 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
39 +SRC_URI="https://dev.gentoo.org/~sera/distfiles/${P}.tar.bz2"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="2"
43 +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
44 +IUSE=""
45 +
46 +# baselayout-java is added as a dep till it can be added to eclass.
47 +RDEPEND="
48 + !dev-java/java-config-wrapper
49 + sys-apps/baselayout-java
50 + sys-apps/portage"
51 +
52 +python_install_all() {
53 + distutils-r1_python_install_all
54 +
55 + # This replaces the file installed by java-config-wrapper.
56 + cp -a "${ED}/usr/bin/${PN}-2" "${ED}/usr/bin/${PN}" || die
57 +}
58 +
59 +python_test() {
60 + esetup.py test
61 +}