summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2010-04-28 11:50:52 +0000
committerAlistair Bush <ali_bush@gentoo.org>2010-04-28 11:50:52 +0000
commita8f0a0512c3b357f67ef6095b7676616779e373b (patch)
treeff60313800f40bc2526046502b7d0f0d0f32737d /dev-java/java-config
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-a8f0a0512c3b357f67ef6095b7676616779e373b.tar.gz
gentoo-2-a8f0a0512c3b357f67ef6095b7676616779e373b.tar.bz2
gentoo-2-a8f0a0512c3b357f67ef6095b7676616779e373b.zip
Version Bump.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/java-config')
-rw-r--r--dev-java/java-config/ChangeLog8
-rw-r--r--dev-java/java-config/java-config-2.1.11.ebuild56
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog
index c47d74772b51..48d9f12dcb85 100644
--- a/dev-java/java-config/ChangeLog
+++ b/dev-java/java-config/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/java-config
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.240 2010/02/20 14:35:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.241 2010/04/28 11:50:52 ali_bush Exp $
+
+*java-config-2.1.11 (28 Apr 2010)
+
+ 28 Apr 2010; Alistair Bush <ali_bush@gentoo.org>
+ +java-config-2.1.11.ebuild:
+ Version Bump
20 Feb 2010; Raúl Porcel <armin76@gentoo.org> java-config-2.1.10.ebuild:
alpha/arm/ia64 stable wrt #299868
diff --git a/dev-java/java-config/java-config-2.1.11.ebuild b/dev-java/java-config/java-config-2.1.11.ebuild
new file mode 100644
index 000000000000..b4b47221b345
--- /dev/null
+++ b/dev-java/java-config/java-config-2.1.11.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI="2"
+NEED_PYTHON="2.4"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit fdo-mime gnome2-utils distutils eutils
+
+DESCRIPTION="Java environment configuration tool"
+HOMEPAGE="http://www.gentoo.org/proj/en/java/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-java/java-config-wrapper-0.15"
+# Tests fail when java-config isn't already installed.
+RESTRICT="test"
+RESTRICT_PYTHON_ABIS="3.*"
+
+PYTHON_MODNAME="java_config_2"
+
+src_prepare() {
+ sed -e "s/if not self.dry_run/& and not os.path.exists(s)/" -i setup.py || die "sed failed"
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" src/run-test-suite.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ insinto /usr/share/java-config-2/config/
+ newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found"
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}