diff options
author | 2015-04-07 21:31:29 +0100 | |
---|---|---|
committer | 2015-04-07 21:31:29 +0100 | |
commit | 7b3be59b1ba65942cc8402f02aa0fee022bdb69f (patch) | |
tree | be8e58b8405ebc3df74bf4819136ad7d0210d8d4 /app-eselect | |
parent | dev-java/findbugs-bcel hasn't been needed for years. (diff) | |
download | java-7b3be59b1ba65942cc8402f02aa0fee022bdb69f.tar.gz java-7b3be59b1ba65942cc8402f02aa0fee022bdb69f.tar.bz2 java-7b3be59b1ba65942cc8402f02aa0fee022bdb69f.zip |
Move eselect ebuilds to app-admin/eselect as in main tree and remove duplicate eselect-java-0.1.0.
Diffstat (limited to 'app-eselect')
-rw-r--r-- | app-eselect/eselect-gradle/Manifest | 19 | ||||
-rw-r--r-- | app-eselect/eselect-gradle/eselect-gradle-0.1.ebuild | 24 | ||||
-rw-r--r-- | app-eselect/eselect-gradle/files/gradle.eselect | 131 | ||||
-rw-r--r-- | app-eselect/eselect-gradle/metadata.xml | 8 | ||||
-rw-r--r-- | app-eselect/eselect-java/ChangeLog | 25 | ||||
-rw-r--r-- | app-eselect/eselect-java/Manifest | 3 | ||||
-rw-r--r-- | app-eselect/eselect-java/eselect-java-9999.ebuild | 30 | ||||
-rw-r--r-- | app-eselect/eselect-java/metadata.xml | 8 |
8 files changed, 248 insertions, 0 deletions
diff --git a/app-eselect/eselect-gradle/Manifest b/app-eselect/eselect-gradle/Manifest new file mode 100644 index 00000000..f4be3350 --- /dev/null +++ b/app-eselect/eselect-gradle/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX gradle.eselect 3098 SHA256 b7dcd9c8346eb7907ed9dde1f0f9febb87fd82450cef00aaf082866f6253b30b SHA512 739d4424560cf8da983cbb62ff9c7a5224e88937fc6fa8f005007d4790312cf6854893ffc298125bfad34a56662b09361f8d21da54a1a67039d73d92812e254a WHIRLPOOL 0d0d9060373398fe090bc7fa480d25f028ff53137155c3297130501c116b4d6f884f8faba1738728766c7bdcf49332a5c498bd3542e96dbb8e4aaa1703b82669 +EBUILD eselect-gradle-0.1.ebuild 436 SHA256 f5a2da3fadb33c0ba6a89a8f407a7a0f058744260095ff29cbc05406868d18a5 SHA512 a7abd391c28d6015a31aeaedc12330a05d57d40758304ddd86f7458be669a54042deb381bbe2f3da2bad1caa398e26e7640c9eacadcd854a6c38013fc864d4fe WHIRLPOOL 15eb3ef510911a9ab91790b6dd172f0218b7e3cbd1a8448c598d31f87945fc12048d6c02b69122957e9f646e004ee3418f47e3e728d61fba3e68688f891a3a81 +MISC metadata.xml 258 SHA256 51a8f8876c8eb8f7155f6f53aa2638b2581d590bd0f4c0cdd1fd0ef78f41ade9 SHA512 d50ec8c3003c653a85b9d89ee5838aead82a4d4150fc5f610825ca532b039ad80c14653609a1f2c0224e3c86f10b8ea400ca6f71289a0e382f9af789cecee9d2 WHIRLPOOL 6ff97f03ddeae5cc9db98a8a2a1496c96d65fb00d94e8bf1569f40c9dbefb18b71adaed4ee686a038fd3e3a3fc426e5cab819c0569b3a39de915837926c5ff89 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQF8BAEBCABmBQJU7Ko/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMzU3QjAxODY1QjI1MDNDMTg0NTNEMjA4 +Q0FDMkE5Njc4NTQ4RTM1AAoJEIysKpZ4VI41dYMH/25ZpzG2WcxjITBmc2/5LN6J +LD148E/6O6JiwiEA3xsC7IGCqn/bIwUfo5AFFhuNV5+IW7GVtPk+TsQjrO9LB+ZO +Ht9cNjvEbmx9IfDpfT7PRZPMeTdl85LNGyF5J8qHrGBgXdQvIrVVbcUM3wEUmCP8 +uu+LhalmaQr8TU4JqHS0keV4tr3ow0V4NUhpUxdbAgHlVxQmR5llrFbjiinU2ycm +l4J4RR88Bk03ACcaa0QerE/s08v7D53O8IiCd6mnrKI5AuoiWCwIsN4Jim8VEobo +hwfQN89JPlvmw1tD4JnmVt0KUa5pmxmeOlekHTLTurw6Zd3DMhNX/Im6k2w2JcE= +=1ThB +-----END PGP SIGNATURE----- diff --git a/app-eselect/eselect-gradle/eselect-gradle-0.1.ebuild b/app-eselect/eselect-gradle/eselect-gradle-0.1.ebuild new file mode 100644 index 00000000..95c369c2 --- /dev/null +++ b/app-eselect/eselect-gradle/eselect-gradle-0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2013-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Manage multiple Gradle versions on one system" +HOMEPAGE="http://www.gentoo.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-admin/eselect" + +S="${WORKDIR}" + +src_install() { + insinto /usr/share/eselect/modules + doins "${FILESDIR}/gradle.eselect" +} diff --git a/app-eselect/eselect-gradle/files/gradle.eselect b/app-eselect/eselect-gradle/files/gradle.eselect new file mode 100644 index 00000000..a9db41c2 --- /dev/null +++ b/app-eselect/eselect-gradle/files/gradle.eselect @@ -0,0 +1,131 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 2013-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 or later +# $Id: $ + +DESCRIPTION="Manage the /usr/bin/gradle symlink" +MAINTAINER="flo@geekplace.eu" +VERSION=0.1 + +# find a list of gradle symlink targets +find_targets() { + local f + for f in "${EROOT}"/usr/bin/gradle?(-bin)-[[:digit:]]*; do + [[ -x ${f} ]] && basename "${f}" + done +} + +remove_symlink() { + rm "${EROOT}/usr/bin/gradle" \ + || die -q "Could not remove symlink" +} + +set_symlink() { + local target=$1 + + if is_number "${target}"; then + local targets=( $(find_targets) ) + target=${targets[target-1]} + fi + + [[ -z ${target} ]] \ + && die -q "Target \"${1}\" doesn't apper to be valid!" + + [[ ! -x ${EROOT}/usr/bin/${target} ]] \ + && die -q "${EROOT}/usr/bin/${target} is not an executable" + + ln -s "${target}" "${EROOT}/usr/bin/gradle" \ + || die -q "Could not set symlink" +} + +describe_show() { + echo "Shows the current gradle symlink" +} + +do_show() { + write_list_start "Current gradle symlink:" + if [[ -L ${EROOT}/usr/bin/gradle ]]; then + local gradle=$(cannonicalise "${EROOT}/usr/bin/gradle") + write_kv_list_entry "${gradle}" "" + else + write_kv_list_entry "(unset)" "" + fi +} + +describe_list() { + echo "list available gradle symlink targets" +} + +do_list() { + local i targets=( $(find_targets) ) + + write_list_start "Available gradle symlink targets:" + for (( i = 0; i < ${#targets[@]}; i++ )); do + # highligh the target where the symlink is pointing to + [[ ${targets[i]} = \ + $(basename "$(canonicalise "${EROOT}/usr/bin/gradle")") ]] \ + && targets[i]=$(highlight_marker "${targets[i]}") + done + write_numbered_list -m "(none found)" "${targets[@]}" +} + +describe_set() { + echo "Set a new gradle symlink target" +} + +describe_set_parameters() { + echo "<target>" +} + +describe_set_options() { + echo "target : Target name or number (from 'list' action)" +} + +do_set() { + [[ -z $1 ]] && die -q "You didn't tell me what to set the symlink to" + [[ $# -gt 1 ]] && die -q "Too many parameters" + test_for_root + + if [[ -L ${EROOT}/usr/bin/gradle ]]; then + # existing symmlink + remove_symlink + set_symlink "$1" + elif [[ -e ${EROOT}/usr/bin/gradle ]]; then + # we have someting strange + die -q "${EROOT}/usr/bin/gradle exists but is not a symlink" + else + set_symlink "$1" + fi +} + +describe_update() { + echo "Automatically update the gradle symlink" +} + +describe_update_options() { + echo "ifunset: Do not override currently set version" +} + +do_update() { + [[ -z $1 || $1 == ifunset ]] || die -q "Usage error" + [[ $# -gt 1 ]] && die -q "Too many parameters" + test_for_root + + if [[ -L ${EROOT}/usr/bin/gradle ]]; then + if [[ $1 == ifunset && -e ${EROOT}/usr/bin/gradle ]]; then + return + fi + remove_symlink + elif [[ -e ${EROOT}/usr/bin/gradle ]]; then + die -q "${EROOT}/usr/bin/gradle exists but is not a symlink" + fi + + local targets=( $(find_targets) ) + if [[ ${#targets[@]} -gt 0 ]]; then + set_symlink "${targets[${#targets[@]}-1]}" + fi +} + +test_for_root() { + [[ -w ${EROOT}/usr/bin ]] || die -q "${EROOT}/usr/bin not writeable by current user. Are you root?" +} diff --git a/app-eselect/eselect-gradle/metadata.xml b/app-eselect/eselect-gradle/metadata.xml new file mode 100644 index 00000000..38a3c02e --- /dev/null +++ b/app-eselect/eselect-gradle/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>flo@geekplace.eu</email> + <description>Maintainer, CC him on bugs</description> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-java/ChangeLog b/app-eselect/eselect-java/ChangeLog new file mode 100644 index 00000000..6daa0d87 --- /dev/null +++ b/app-eselect/eselect-java/ChangeLog @@ -0,0 +1,25 @@ +# ChangeLog for app-admin/eselect-java +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 06 Apr 2013; Vlastimil Babka <caster@gentoo.org> eselect-java-0.1.0.ebuild: + Use soft blockers to allow easy java-config upgrade. + + 19 Feb 2013; Ralph Sennhauser <sera@gentoo.org> eselect-java-0.1.0.ebuild: + Use http instead of https + +*eselect-java-0.1.0 (13 Feb 2013) + + 13 Feb 2013; Ralph Sennhauser <sera@gentoo.org> +eselect-java-0.1.0.ebuild: + Add release + + 10 Feb 2013; Ralph Sennhauser <sera@gentoo.org> eselect-java-9999.ebuild: + No longer depends on baselayout-java, add PDEPEND on jre while it's still + needed + +*eselect-java-9999 (30 Dec 2012) + + 30 Dec 2012; Ralph Sennhauser <sera@gentoo.org> +eselect-java-9999.ebuild, + +metadata.xml: + New package eselect-java. + diff --git a/app-eselect/eselect-java/Manifest b/app-eselect/eselect-java/Manifest new file mode 100644 index 00000000..4474b02c --- /dev/null +++ b/app-eselect/eselect-java/Manifest @@ -0,0 +1,3 @@ +EBUILD eselect-java-9999.ebuild 612 SHA256 28727f0866890ba12f91038df64e86bfda6a7ce40cb0b451d67e71e05187432d SHA512 3d26439dc59babf6bc2757fc19df547a1176edff31d6d96ea56744a620b126a2e770a585b521ee48c6270f48c728848872833f3aae52953c4b88ae96bd90f765 WHIRLPOOL 339899e9cc27f5da85f26d9c68c813be9a50207c9e4f5e839005dccedabd4c045843294573ab763930193c0f96948deca6c7b3bbd9de9a14d708ef0b1c2cbda4 +MISC ChangeLog 810 SHA256 67c50c614dead9958c960a00de64f948475856b1725ccd3dd1c26b67d3b055c1 SHA512 0485cd60fa45f655bb24f45db24ee5792aaaec221b7a25430831818143ddd92e2dcf260038f4b03d37e33965ba797902c2328e1da6481a4875fbe6d18e8fc518 WHIRLPOOL 8e59c362292273cd959fb5eced9d8f01ac878b17097fc665d65441506c3892c478a61cd1b2a5b4f48556c6cdda5f1a0fdd8a84d7e5108c648b91c07ea3bc48d2 +MISC metadata.xml 205 SHA256 e319f1701f6be29c8e077049d77738b69b72be0458754ef90ad9a684f2ec1722 SHA512 fb7831a8a05e9995888eaef748c98a12adcb911ef1c9901a3555765782d87cd3172cfb2c47ffa89d8a5454e7aa1f5bd27358b88a035c97f1ff388d7fc85a9d7e WHIRLPOOL 673d7b564054942d04b33cfcd01f7c5ff16ad9f9f2a60586ccc54c60443bf2dc34fa037e4e1de889539838342eea62022a3b9a7cae65b0c2f34fcbacfcfd0c73 diff --git a/app-eselect/eselect-java/eselect-java-9999.ebuild b/app-eselect/eselect-java/eselect-java-9999.ebuild new file mode 100644 index 00000000..9fc7f74b --- /dev/null +++ b/app-eselect/eselect-java/eselect-java-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools subversion + +ESVN_REPO_URI="http://overlays.gentoo.org/svn/proj/java/projects/${PN}/trunk/" + +DESCRIPTION="A set of eselect modules for Java" +HOMEPAGE="http://www.gentoo.org/proj/en/java/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=" + !!app-admin/eselect-ecj + !!app-admin/eselect-maven + !!<dev-java/java-config-2.2 + app-admin/eselect" +# https://bugs.gentoo.org/show_bug.cgi?id=315229 +PDEPEND=">=virtual/jre-1.5" + +src_prepare() { + eautoreconf +} diff --git a/app-eselect/eselect-java/metadata.xml b/app-eselect/eselect-java/metadata.xml new file mode 100644 index 00000000..82a57ccd --- /dev/null +++ b/app-eselect/eselect-java/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + |