summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2021-06-25 12:11:40 +0200
committerFlorian Schmaus <flow@gentoo.org>2021-06-25 12:40:19 +0200
commite7508d3a927907d50cc9f4b4a3d187c8e0884eb6 (patch)
treecbda01b09e7faeccbe4171efd3bb4ba43645973d /app-eselect/eselect-gradle
parentapp-emacs/meson-mode: keyword 0.3 for ~riscv (diff)
downloadgentoo-e7508d3a927907d50cc9f4b4a3d187c8e0884eb6.tar.gz
gentoo-e7508d3a927907d50cc9f4b4a3d187c8e0884eb6.tar.bz2
gentoo-e7508d3a927907d50cc9f4b4a3d187c8e0884eb6.zip
app-eselect/eselect-gradle: initial import from ::java
Closes: https://bugs.gentoo.org/618832 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-eselect/eselect-gradle')
-rw-r--r--app-eselect/eselect-gradle/Manifest1
-rw-r--r--app-eselect/eselect-gradle/eselect-gradle-0.2.ebuild29
-rw-r--r--app-eselect/eselect-gradle/eselect-gradle-9999.ebuild29
-rw-r--r--app-eselect/eselect-gradle/metadata.xml8
4 files changed, 67 insertions, 0 deletions
diff --git a/app-eselect/eselect-gradle/Manifest b/app-eselect/eselect-gradle/Manifest
new file mode 100644
index 000000000000..ccad19816722
--- /dev/null
+++ b/app-eselect/eselect-gradle/Manifest
@@ -0,0 +1 @@
+DIST eselect-gradle-0.2.tar.bz2 1521 BLAKE2B 8ea5b8ca72615684604722ec25ea18fc15b97a21d37205f8d729bb542183241d5b27c5c0b5ea66034f336b42f7c53d2a8b7b9faddab5849aa7ffbdab3a22e2ea SHA512 9988d6ec40c12cd559f1d93a606f6365fa49fbbfb482a4edbf0ba15cc26d307fb63e5f019f84c7d4ebc356ea7ba8ec120b6b248862a46238c7e6e8338a78deeb
diff --git a/app-eselect/eselect-gradle/eselect-gradle-0.2.ebuild b/app-eselect/eselect-gradle/eselect-gradle-0.2.ebuild
new file mode 100644
index 000000000000..c89b668fd940
--- /dev/null
+++ b/app-eselect/eselect-gradle/eselect-gradle-0.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Manage multiple Gradle versions on one system"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/Flow/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/Flow/${PN}/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ app-admin/eselect
+ >dev-java/gradle-bin-6.3
+"
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins gradle.eselect
+}
diff --git a/app-eselect/eselect-gradle/eselect-gradle-9999.ebuild b/app-eselect/eselect-gradle/eselect-gradle-9999.ebuild
new file mode 100644
index 000000000000..f20781837483
--- /dev/null
+++ b/app-eselect/eselect-gradle/eselect-gradle-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Manage multiple Gradle versions on one system"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/Flow/${PN}.git"
+else
+ SRC_URI=""
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ app-admin/eselect
+ >dev-java/gradle-bin-6.3
+"
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins gradle.eselect
+}
diff --git a/app-eselect/eselect-gradle/metadata.xml b/app-eselect/eselect-gradle/metadata.xml
new file mode 100644
index 000000000000..b76915629dab
--- /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 type="person">
+ <email>flow@gentoo.org</email>
+ <name>Florian Schmaus</name>
+</maintainer>
+</pkgmetadata>