From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/gradle-bin/
Date: Fri, 25 Jun 2021 10:40:59 +0000 (UTC) [thread overview]
Message-ID: <1624617619.e619b4bf7bdc8bdfa5757e4730fbe5241d532fa0.flow@gentoo> (raw)
commit: e619b4bf7bdc8bdfa5757e4730fbe5241d532fa0
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 10:25:05 2021 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 10:40:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e619b4bf
dev-java/gradle-bin: add 6.8.3 and 7.1, drop old
Unlike the dropped 6.3 ebuild, these ebuilds only install versioned
gradle symlinks in /usr/bin, e.g. /usr/bin/gradle-bin-7.1. The
/usr/bin/gradle symlink is managed by app-eselect/eselect-gradle.
Closes: https://bugs.gentoo.org/339574
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-java/gradle-bin/Manifest | 3 +-
...adle-bin-6.3.ebuild => gradle-bin-6.8.3.ebuild} | 38 ++++++++++++++--------
...gradle-bin-6.3.ebuild => gradle-bin-7.1.ebuild} | 38 ++++++++++++++--------
3 files changed, 52 insertions(+), 27 deletions(-)
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest
index a76117f75ea..fec5d60f9a4 100644
--- a/dev-java/gradle-bin/Manifest
+++ b/dev-java/gradle-bin/Manifest
@@ -1 +1,2 @@
-DIST gradle-bin-6.3.zip 145161013 BLAKE2B f840bda2c1e2a6dd5306b9f7ad6fc8ae8c3d7342de57bd813b8dff64f733fc058af8dc7c9c5a138eac4eef3d5d12074976db81fe7eeb51b52d726502af04d036 SHA512 9796c14f8d4559128b4cb7e676883d83ef99b67242ae8156abebdb38bb7a561e8b3df3f93b24aa53274b7d78a7b04ea51e73268c2465799daa9da53ef73de24d
+DIST gradle-bin-6.8.3.zip 150631445 BLAKE2B 935a6631167481e289ac5a468b822ffeec204519edf42c8a0f05a911ef716715b706e3c22637763b4a7a0c7cbfa89f163673ef5631c115c025c5634b353fcee6 SHA512 fdd5c347142c2a8e2a1455d8886ddb103531de6e69d41f20d199a488d10165600924876761b452da213759a1dc6d47ed00a069f1a9f8af99fdbf1af3bb2e0564
+DIST gradle-bin-7.1.zip 154782196 BLAKE2B 8252b53dd9214f92c2a900a240ee22e1cf98f8dadc07248df8015dd3eda745338198b864aeb1cd0d3b3ec4604fdf01105c74e95fba4b9dde1ef56db7eb5f8dcd SHA512 30aad03b1bd02fef13fbb59ae29ce859dc60f734432207c9a173056bc9e23125233d618c3f4906011f70065dd09c848abdc6dd249421c3b79c28477903b78a01
diff --git a/dev-java/gradle-bin/gradle-bin-6.3.ebuild b/dev-java/gradle-bin/gradle-bin-6.8.3.ebuild
similarity index 65%
copy from dev-java/gradle-bin/gradle-bin-6.3.ebuild
copy to dev-java/gradle-bin/gradle-bin-6.8.3.ebuild
index 1623bb9c3f3..dfbd1549205 100644
--- a/dev-java/gradle-bin/gradle-bin-6.3.ebuild
+++ b/dev-java/gradle-bin/gradle-bin-6.8.3.ebuild
@@ -19,31 +19,43 @@ LICENSE="Apache-2.0"
SLOT="${PV}"
KEYWORDS="~amd64 ~x86"
+DEPEND="app-eselect/eselect-gradle"
BDEPEND="app-arch/unzip"
-DEPEND=">=virtual/jre-1.8"
-RDEPEND=">=virtual/jdk-1.8"
+RDEPEND="
+ ${DEPEND}
+ >=virtual/jre-1.8:*
+"
S="${WORKDIR}/${MY_P}"
+src_compile() {
+ :
+}
+
src_install() {
local gradle_dir="/usr/share/${PN}-${SLOT}"
- insinto "${gradle_dir}"
- doins -r lib/
-
- exeinto "${gradle_dir}"/bin
- doexe bin/${MY_PN}
- dosym "../${gradle_dir#/usr/}/bin/gradle" "/usr/bin/${MY_PN}-${SLOT}"
+ if use source; then
+ java-pkg_dosrc src
+ fi
docinto html
dodoc -r docs/release-notes.html
-
- if use doc ; then
+ if use doc; then
dodoc -r docs/{dsl,userguide}
java-pkg_dojavadoc docs/javadoc
fi
- if use source ; then
- java-pkg_dosrc src/*
- fi
+ insinto "${gradle_dir}"
+ doins -r bin/ lib/
+ fperms 755 "${gradle_dir}/bin/gradle"
+ dosym "${gradle_dir}/bin/gradle" "/usr/bin/${PN}-${SLOT}"
+}
+
+pkg_postinst() {
+ eselect gradle update ifunset
+}
+
+pkg_postrm() {
+ eselect gradle update ifunset
}
diff --git a/dev-java/gradle-bin/gradle-bin-6.3.ebuild b/dev-java/gradle-bin/gradle-bin-7.1.ebuild
similarity index 65%
rename from dev-java/gradle-bin/gradle-bin-6.3.ebuild
rename to dev-java/gradle-bin/gradle-bin-7.1.ebuild
index 1623bb9c3f3..dfbd1549205 100644
--- a/dev-java/gradle-bin/gradle-bin-6.3.ebuild
+++ b/dev-java/gradle-bin/gradle-bin-7.1.ebuild
@@ -19,31 +19,43 @@ LICENSE="Apache-2.0"
SLOT="${PV}"
KEYWORDS="~amd64 ~x86"
+DEPEND="app-eselect/eselect-gradle"
BDEPEND="app-arch/unzip"
-DEPEND=">=virtual/jre-1.8"
-RDEPEND=">=virtual/jdk-1.8"
+RDEPEND="
+ ${DEPEND}
+ >=virtual/jre-1.8:*
+"
S="${WORKDIR}/${MY_P}"
+src_compile() {
+ :
+}
+
src_install() {
local gradle_dir="/usr/share/${PN}-${SLOT}"
- insinto "${gradle_dir}"
- doins -r lib/
-
- exeinto "${gradle_dir}"/bin
- doexe bin/${MY_PN}
- dosym "../${gradle_dir#/usr/}/bin/gradle" "/usr/bin/${MY_PN}-${SLOT}"
+ if use source; then
+ java-pkg_dosrc src
+ fi
docinto html
dodoc -r docs/release-notes.html
-
- if use doc ; then
+ if use doc; then
dodoc -r docs/{dsl,userguide}
java-pkg_dojavadoc docs/javadoc
fi
- if use source ; then
- java-pkg_dosrc src/*
- fi
+ insinto "${gradle_dir}"
+ doins -r bin/ lib/
+ fperms 755 "${gradle_dir}/bin/gradle"
+ dosym "${gradle_dir}/bin/gradle" "/usr/bin/${PN}-${SLOT}"
+}
+
+pkg_postinst() {
+ eselect gradle update ifunset
+}
+
+pkg_postrm() {
+ eselect gradle update ifunset
}
next reply other threads:[~2021-06-25 10:41 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-25 10:40 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-03 7:16 [gentoo-commits] repo/gentoo:master commit in: dev-java/gradle-bin/ Florian Schmaus
2025-02-04 17:33 Florian Schmaus
2025-01-29 8:38 Florian Schmaus
2025-01-02 20:30 Florian Schmaus
2025-01-02 20:30 Florian Schmaus
2025-01-02 20:30 Florian Schmaus
2024-10-24 10:42 Florian Schmaus
2024-10-24 10:42 Florian Schmaus
2024-09-24 8:12 Florian Schmaus
2024-09-24 8:12 Florian Schmaus
2024-08-22 9:51 Florian Schmaus
2024-05-26 23:02 Sam James
2024-04-09 14:26 Florian Schmaus
2024-02-29 22:17 Sam James
2024-01-07 9:16 Florian Schmaus
2024-01-07 9:16 Florian Schmaus
2024-01-07 9:16 Florian Schmaus
2024-01-07 9:16 Florian Schmaus
2023-10-22 10:28 Florian Schmaus
2023-10-22 10:28 Florian Schmaus
2023-09-11 8:32 Florian Schmaus
2023-09-11 8:32 Florian Schmaus
2023-09-11 8:32 Florian Schmaus
2023-07-17 20:05 Florian Schmaus
2023-07-01 17:28 Florian Schmaus
2023-06-28 16:32 Sam James
2023-06-28 13:54 Sam James
2023-05-29 7:19 Florian Schmaus
2023-05-29 7:18 Florian Schmaus
2023-04-16 5:26 Sam James
2023-04-16 5:26 Sam James
2023-03-24 6:13 Sam James
2023-03-24 6:13 Sam James
2023-03-16 11:47 Florian Schmaus
2023-02-26 20:23 Florian Schmaus
2023-02-20 12:08 Florian Schmaus
2023-02-20 12:08 Florian Schmaus
2023-02-14 11:47 Florian Schmaus
2023-01-08 10:25 Florian Schmaus
2022-11-26 12:48 Florian Schmaus
2022-11-17 9:14 Florian Schmaus
2022-09-30 10:26 Florian Schmaus
2022-09-30 10:26 Florian Schmaus
2022-09-30 10:24 Florian Schmaus
2022-09-30 10:24 Florian Schmaus
2022-08-28 12:27 Florian Schmaus
2022-08-23 19:09 Florian Schmaus
2022-07-22 16:31 Florian Schmaus
2022-05-13 20:45 Florian Schmaus
2022-05-07 10:56 Jakov Smolić
2022-05-07 10:56 Jakov Smolić
2022-04-02 18:01 Florian Schmaus
2022-04-02 18:01 Florian Schmaus
2022-03-15 18:59 Florian Schmaus
2022-03-15 10:11 Jakov Smolić
2022-03-15 9:59 Jakov Smolić
2022-02-20 9:11 Florian Schmaus
2022-02-20 9:11 Florian Schmaus
2022-02-12 15:02 Florian Schmaus
2021-12-22 16:04 Florian Schmaus
2021-12-16 8:35 Florian Schmaus
2021-12-16 8:35 Florian Schmaus
2021-12-12 9:36 Florian Schmaus
2021-12-12 9:36 Florian Schmaus
2021-11-18 8:38 Florian Schmaus
2021-08-25 9:07 Florian Schmaus
2021-07-05 13:44 Florian Schmaus
2021-06-23 14:20 Sam James
2021-01-18 20:14 Fabian Groffen
2020-07-18 0:01 Sam James
2020-04-30 23:38 James Le Cuirot
2019-02-23 19:53 Patrice Clement
2017-05-03 13:42 Tony Vroon
2017-02-01 14:42 Tony Vroon
2017-01-24 11:57 Tony Vroon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1624617619.e619b4bf7bdc8bdfa5757e4730fbe5241d532fa0.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox