Gentoo Archives: gentoo-commits

From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/java-config: ChangeLog java-config-2.1.11.ebuild
Date: Wed, 28 Apr 2010 11:51:02
Message-Id: 20100428115052.66CD82C062@corvid.gentoo.org
1 ali_bush 10/04/28 11:50:52
2
3 Modified: ChangeLog
4 Added: java-config-2.1.11.ebuild
5 Log:
6 Version Bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.241 dev-java/java-config/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-config/ChangeLog?rev=1.241&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-config/ChangeLog?rev=1.241&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-config/ChangeLog?r1=1.240&r2=1.241
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v
19 retrieving revision 1.240
20 retrieving revision 1.241
21 diff -u -r1.240 -r1.241
22 --- ChangeLog 20 Feb 2010 14:35:59 -0000 1.240
23 +++ ChangeLog 28 Apr 2010 11:50:52 -0000 1.241
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-java/java-config
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.240 2010/02/20 14:35:59 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.241 2010/04/28 11:50:52 ali_bush Exp $
29 +
30 +*java-config-2.1.11 (28 Apr 2010)
31 +
32 + 28 Apr 2010; Alistair Bush <ali_bush@g.o>
33 + +java-config-2.1.11.ebuild:
34 + Version Bump
35
36 20 Feb 2010; Raúl Porcel <armin76@g.o> java-config-2.1.10.ebuild:
37 alpha/arm/ia64 stable wrt #299868
38
39
40
41 1.1 dev-java/java-config/java-config-2.1.11.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-config/java-config-2.1.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-config/java-config-2.1.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: java-config-2.1.11.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/java-config-2.1.11.ebuild,v 1.1 2010/04/28 11:50:52 ali_bush Exp $
51
52 EAPI="2"
53 NEED_PYTHON="2.4"
54 SUPPORT_PYTHON_ABIS="1"
55
56 inherit fdo-mime gnome2-utils distutils eutils
57
58 DESCRIPTION="Java environment configuration tool"
59 HOMEPAGE="http://www.gentoo.org/proj/en/java/"
60 SRC_URI="mirror://gentoo/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="2"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
65 IUSE=""
66
67 DEPEND=""
68 RDEPEND=">=dev-java/java-config-wrapper-0.15"
69 # Tests fail when java-config isn't already installed.
70 RESTRICT="test"
71 RESTRICT_PYTHON_ABIS="3.*"
72
73 PYTHON_MODNAME="java_config_2"
74
75 src_prepare() {
76 sed -e "s/if not self.dry_run/& and not os.path.exists(s)/" -i setup.py || die "sed failed"
77 }
78
79 src_test() {
80 testing() {
81 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" src/run-test-suite.py
82 }
83 python_execute_function testing
84 }
85
86 src_install() {
87 distutils_src_install
88
89 insinto /usr/share/java-config-2/config/
90 newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found"
91 }
92
93 pkg_postrm() {
94 distutils_pkg_postrm
95 fdo-mime_desktop_database_update
96 gnome2_icon_cache_update
97 }
98
99 pkg_postinst() {
100 distutils_pkg_postinst
101 fdo-mime_desktop_database_update
102 gnome2_icon_cache_update
103 }