mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-eselect/eselect-gradle: initial import from ::java
Closes: https://bugs.gentoo.org/618832 Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
1
app-eselect/eselect-gradle/Manifest
Normal file
1
app-eselect/eselect-gradle/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST eselect-gradle-0.2.tar.bz2 1521 BLAKE2B 8ea5b8ca72615684604722ec25ea18fc15b97a21d37205f8d729bb542183241d5b27c5c0b5ea66034f336b42f7c53d2a8b7b9faddab5849aa7ffbdab3a22e2ea SHA512 9988d6ec40c12cd559f1d93a606f6365fa49fbbfb482a4edbf0ba15cc26d307fb63e5f019f84c7d4ebc356ea7ba8ec120b6b248862a46238c7e6e8338a78deeb
|
||||
29
app-eselect/eselect-gradle/eselect-gradle-0.2.ebuild
Normal file
29
app-eselect/eselect-gradle/eselect-gradle-0.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
29
app-eselect/eselect-gradle/eselect-gradle-9999.ebuild
Normal file
29
app-eselect/eselect-gradle/eselect-gradle-9999.ebuild
Normal file
@@ -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
|
||||
}
|
||||
8
app-eselect/eselect-gradle/metadata.xml
Normal file
8
app-eselect/eselect-gradle/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user