diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-01-07 21:41:14 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-01-07 21:41:14 +0000 |
commit | c399caa3a0f33181ca312c6ff20ecb6fa9045233 (patch) | |
tree | ad9ffe4019d3e36827b01c950f754c6b65af4222 /dev-java | |
parent | ia64/x86 stable wrt #208956 (diff) | |
download | historical-c399caa3a0f33181ca312c6ff20ecb6fa9045233.tar.gz historical-c399caa3a0f33181ca312c6ff20ecb6fa9045233.tar.bz2 historical-c399caa3a0f33181ca312c6ff20ecb6fa9045233.zip |
Remove some cruft.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28-gentoo-perfctr x86_64
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/java-config/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/java-config/Manifest | 6 | ||||
-rw-r--r-- | dev-java/java-config/files/java-config-2.0.33-r1.patch | 126 | ||||
-rw-r--r-- | dev-java/java-config/files/java-config-2.1.2-r1.patch | 12 | ||||
-rw-r--r-- | dev-java/java-config/java-config-1.3.7.ebuild | 38 | ||||
-rw-r--r-- | dev-java/java-config/java-config-2.1.6.ebuild | 40 |
6 files changed, 7 insertions, 222 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog index c17ecf07bb8d..b5105510b944 100644 --- a/dev-java/java-config/ChangeLog +++ b/dev-java/java-config/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/java-config # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.205 2009/01/07 20:24:19 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.206 2009/01/07 21:41:14 caster Exp $ + + 07 Jan 2009; Vlastimil Babka <caster@gentoo.org> + -files/java-config-2.0.33-r1.patch, -files/java-config-2.1.2-r1.patch, + -java-config-1.3.7.ebuild, -java-config-2.1.6.ebuild: + Remove some cruft. 07 Jan 2009; Brent Baude <ranger@gentoo.org> java-config-2.1.6-r1.ebuild: Marking java-config-2.1.6-r1 ppc64 for bug 250773 diff --git a/dev-java/java-config/Manifest b/dev-java/java-config/Manifest index a0a12e8d9bf4..bf0d14a50803 100644 --- a/dev-java/java-config/Manifest +++ b/dev-java/java-config/Manifest @@ -1,6 +1,4 @@ AUX java-config-1.2.11-shebang.patch 229 RMD160 e201dafad76307123139861371ade56f03887342 SHA1 e91f77077bb0b5793bda7ffc58442019dc66db09 SHA256 4068a51515b7510260de57a5872d6e04b1a33d2f9728d77ed00fe7f41cced83a -AUX java-config-2.0.33-r1.patch 4424 RMD160 896e66d699863e31181ac9584805ece0d42fb30c SHA1 fb141b627f9e17b61347b24a112d1f2d1e6df028 SHA256 bc96b7478e57f1e86f3b7a2d97f8cfa5ec0df072fd6ef1c0ca647266a5c47cb6 -AUX java-config-2.1.2-r1.patch 372 RMD160 9db4f747b6e7eccae3408e7aa0ec7e9b636b5eab SHA1 fea6717969effdb0ec0177ba3a78d9852db0e53a SHA256 fc99c0f972fe99d3db34a2c130115b72d6adde910a42b1b4d0a1bfed9f3d2c23 AUX java-config-2.1.6-portage-import.patch 1251 RMD160 6dac699aca050493ade1aa127b9eca62c28a302e SHA1 6a4735f80363e5bb3b302e21e821de5fa254c235 SHA256 07429735dc5ed6d037e621fb636f92df2aecd417e03843dea9b03722b225105e DIST java-config-1.2.11.tar.bz2 15743 RMD160 e1175474e87f234f9428d7db6827a3a4435e6aba SHA1 fd2ffdda515005ef7a9358b650f59674c13bc0b7 SHA256 f17bdce2b97dca14daf77dbefb6d6c0935fbc444b67e9a0d7cc68538575a6b83 DIST java-config-1.3.7.tar.bz2 14362 RMD160 243739cdef9ea5b2baa708eabd5358d1804631de SHA1 48a46198ceace1a27d49c5176b2b6d720aaa9eff SHA256 bed302b9643d19caa3f1bbb75ebb8d9373a4ccf68a0b437a158f7265171f56d1 @@ -8,9 +6,7 @@ DIST java-config-2.1.4.tar.bz2 41558 RMD160 3b8533ecabc7eaf729e3a46009dcfe96b10f DIST java-config-2.1.6.tar.bz2 40527 RMD160 a0e5b3ed3d858c75246d7e23d74c24faa43c2b57 SHA1 80b2c566c70c25f6b9c6f7ec86eb77fe8df297c6 SHA256 43c297c474e8409904c56cb796562ce508a279260168db64495daa0be8519738 EBUILD java-config-1.2.11-r1.ebuild 853 RMD160 dbee4fb27b32124fc6a3ad13451e30b0fdf5c372 SHA1 7f29b8997f5f53ceca38ec663a86be97674e7ed4 SHA256 d28d85e6fdd7b6aac8e72b09f6a2a72cefa729ea1941ecea615cc074f521daff EBUILD java-config-1.3.7-r1.ebuild 1307 RMD160 9e2e1045e452bd4afd834fff437495d5d4c02e05 SHA1 b1f4850230c446a7f39033542707b9b4fe9496c1 SHA256 72ad16124c942d97ad0042c51b61747503b57fc5cc99223426e1d84035a6a0c6 -EBUILD java-config-1.3.7.ebuild 1224 RMD160 7571952e5e0d9dcd7c4cc240124b6622e06eead8 SHA1 ce38b32ab3aaf6bc80f85b17a6c707fa105e8311 SHA256 8b14160ddedf1a26fb092de9b104f4ca547e39af45bf5b78a710790a22f47add EBUILD java-config-2.1.4.ebuild 1417 RMD160 0011ffef63d5e6132960019a000913a9fe5e7359 SHA1 64f30467117da6173ae2e0a20a682572aaa194d5 SHA256 ae79289c918b1f55cefa3de8af87db84dae209306c59cf743bfca85eda0035ce EBUILD java-config-2.1.6-r1.ebuild 1125 RMD160 f9becb00336e513aa9b142671253e0da4fa62055 SHA1 a48015d8028c69bcd2f1e2e15f929afde9371f76 SHA256 541ac05414a2f978d2692ad2baede24ada49afb70f350ed3670fcf37705211fd -EBUILD java-config-2.1.6.ebuild 1013 RMD160 92acb2b9d7319ef5560cd93e8a400f297985238f SHA1 e0b26a8cb745bc5c468247ff91864223edc94ea0 SHA256 c4e818cc02ac92aca6f020f0a44eeb05c73bd04f08451ee68066bce91b4d3ec8 -MISC ChangeLog 36374 RMD160 54cfeab8cc246f0eed577b1bee5be0499ac9126f SHA1 86bbb6f711a0d132b449911018a11bca414fe031 SHA256 39325cf7670e0778c277f8992411ae48202d8db8f4edc1b481680f50871f5a5b +MISC ChangeLog 36576 RMD160 16f843a82a24b212a922463b3cceeae8b39f2ae1 SHA1 6b12b4c4bea968003c8da3518e00f3a51b5bdcfc SHA256 2676f11d333f9f387973d34b61e2a1a91ce2b382e45539020f913482e508350b MISC metadata.xml 482 RMD160 b060f8a2492170d8513e1b2d03512d8b565b5045 SHA1 b154d3e425be12942f183a7ad1a37fecc215e4b4 SHA256 f80d3cd5afabd0dc4d177925c3715c464288e5ec3ed1ca809a7f7a66ee3907a5 diff --git a/dev-java/java-config/files/java-config-2.0.33-r1.patch b/dev-java/java-config/files/java-config-2.0.33-r1.patch deleted file mode 100644 index 9b49cd53f55e..000000000000 --- a/dev-java/java-config/files/java-config-2.0.33-r1.patch +++ /dev/null @@ -1,126 +0,0 @@ -diff -ru --exclude .svn tags/2.0.33/src/gjl trunk/src/gjl ---- tags/2.0.33/src/gjl 2007-05-26 11:10:15.000000000 +0200 -+++ trunk/src/gjl 2007-05-28 13:59:52.000000000 +0200 -@@ -34,7 +34,7 @@ - pkg = unresolved.pop() - resolved.add(pkg) - # dep is in the form of (jar, pkg) -- for dep in pkg.deps(): -+ for dep in manager.get_pkg_deps(pkg): - dep_pkg = dep[-1] - p = manager.get_package(dep_pkg) - if p is None: -diff -ru --exclude .svn tags/2.0.33/src/java_config/EnvironmentManager.py trunk/src/java_config/EnvironmentManager.py ---- tags/2.0.33/src/java_config/EnvironmentManager.py 2007-05-26 11:10:15.000000000 +0200 -+++ trunk/src/java_config/EnvironmentManager.py 2007-05-28 11:40:03.000000000 +0200 -@@ -263,6 +263,19 @@ - def build_classpath(self, pkgs): - return self.build_path(pkgs, "CLASSPATH") - -+ def get_pkg_deps(self, pkg): -+ """ -+ Returns list of package's deps and optional deps. -+ Filters out optional deps that are not present. -+ """ -+ deps = pkg.deps(); -+ for opt_dep in pkg.opt_deps(): -+ p = self.get_package(opt_dep[-1]) -+ if p: -+ deps.append(opt_dep) -+ -+ return deps -+ - def add_dep_classpath(self, pkg, dep, classpath): - pkg_cp = pkg.classpath() - if pkg_cp: -@@ -295,7 +308,7 @@ - lpath = pkg.query(query) - self.add_path_elements(lpath, path) - -- for dep in pkg.deps(): -+ for dep in self.get_pkg_deps(pkg): - p = self.get_package(dep[-1]) - - if p: -@@ -344,7 +357,7 @@ - - self.add_pkg_env_vars(pkg, env) - -- for dep in pkg.deps(): -+ for dep in self.get_pkg_deps(pkg): - p = self.get_package(dep[-1]) - - if p: -diff -ru --exclude .svn tags/2.0.33/src/java_config/Package.py trunk/src/java_config/Package.py ---- tags/2.0.33/src/java_config/Package.py 2007-05-26 11:10:15.000000000 +0200 -+++ trunk/src/java_config/Package.py 2007-05-28 11:36:50.000000000 +0200 -@@ -55,11 +55,13 @@ - """ - Return all packages this package depends on - """ -- depstr = self.query("DEPEND") -- if depstr: -- return [dep.split("@") for dep in depstr.split(":")] -- else: -- return [] -+ return self.__get_deps("DEPEND") -+ -+ def opt_deps(self): -+ """ -+ Return all packages this package optionally depends on -+ """ -+ return self.__get_deps("OPTIONAL_DEPEND") - - def provides(self): - """ -@@ -69,5 +71,18 @@ - if pv: - return pv.split(" ") - return [] -+ -+ def __get_deps(self, query): -+ """ -+ Internal function to get package's (optional) dependencies; -+ @param query: variable to read from package.env -+ """ -+ depstr = self.query(query) -+ if depstr: -+ return [dep.split("@") for dep in depstr.split(":")] -+ else: -+ return [] -+ -+ - - # vim:set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: -diff -ru --exclude .svn tags/2.0.33/src/java_config/VersionManager.py trunk/src/java_config/VersionManager.py ---- tags/2.0.33/src/java_config/VersionManager.py 2007-05-26 11:10:15.000000000 +0200 -+++ trunk/src/java_config/VersionManager.py 2007-05-27 17:43:01.000000000 +0200 -@@ -127,6 +127,7 @@ - - prefs = self.get_prefs() - -+ # first try to find vm based on preferences - low = self.get_lowest(atoms) # Lowest vm version we can use - for atom in matched_atoms: - for pref in prefs: -@@ -143,12 +144,14 @@ - else: - return gvm # use it! - -- low = self.get_lowest_atom(matched_atoms) -- vm = self.find_vm("", low) -- if vm: -- return vm -- else: -- raise Exception("Couldn't find suitable VM. Possible invalid dependency string.") -+ # no match in preferences, find anything we have -+ for atom in matched_atoms: -+ vm = self.find_vm("", atom) -+ if vm: -+ return vm -+ -+ # nothing found -+ raise Exception("Couldn't find suitable VM. Possible invalid dependency string.") - - def find_vm(self, vm, atom): - vm_list = EnvironmentManager().find_vm(vm) diff --git a/dev-java/java-config/files/java-config-2.1.2-r1.patch b/dev-java/java-config/files/java-config-2.1.2-r1.patch deleted file mode 100644 index 4c644c26d182..000000000000 --- a/dev-java/java-config/files/java-config-2.1.2-r1.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- tags/2.1.2/src/java_config_2/EnvironmentManager.py 2007-10-14 16:00:23.000000000 +1300 -+++ src/java_config_2/EnvironmentManager.py 2007-10-14 20:22:03.000000000 +1300 -@@ -36,8 +36,7 @@ - self.load_active_vm() - except InvalidVMError: - pass -- finally: -- pass -+ pass - - def __call__(self): - return self diff --git a/dev-java/java-config/java-config-1.3.7.ebuild b/dev-java/java-config/java-config-1.3.7.ebuild deleted file mode 100644 index 4b49c7b37562..000000000000 --- a/dev-java/java-config/java-config-1.3.7.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/java-config-1.3.7.ebuild,v 1.9 2007/03/09 14:01:43 betelgeuse Exp $ - -inherit base 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="0" -KEYWORDS="amd64 ia64 ppc ppc64 x86 ~x86-fbsd" -IUSE="" - -RDEPEND="virtual/python - dev-java/java-config-wrapper" - -src_install() { - distutils_src_install - newbin java-config java-config-1 - doman java-config.1 - - doenvd 30java-finalclasspath -} - -pkg_postinst() { - elog "The way Java is handled on Gentoo has been recently updated." - elog "If you have not done so already, you should follow the" - elog "instructions available at:" - elog "\thttp://www.gentoo.org/proj/en/java/java-upgrade.xml" - elog - elog "While we are moving towards the new Java system, we only allow" - elog "1.3 or 1.4 JDKs to be used with java-config-1 to ensure" - elog "backwards compatibility with the old system." - elog "For more details about this, please see:" - elog "\thttp://www.gentoo.org/proj/en/java/why-we-need-java-14.xml" -} diff --git a/dev-java/java-config/java-config-2.1.6.ebuild b/dev-java/java-config/java-config-2.1.6.ebuild deleted file mode 100644 index 9aeab1028c1c..000000000000 --- a/dev-java/java-config/java-config-2.1.6.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2008 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.6.ebuild,v 1.6 2008/06/26 16:34:09 nixnut Exp $ - -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="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd" -IUSE="" - -DEPEND="dev-lang/python" -RDEPEND="${DEPEND} - >=dev-java/java-config-wrapper-0.15" - -PYTHON_MODNAME="java_config_2" - -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_python_version - 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 -} |