From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/ant/
Date: Sun, 10 Mar 2024 21:10:35 +0000 (UTC) [thread overview]
Message-ID: <1710105005.36e7245281a7afed509161d26cf1a4ffe55c5688.fordfrog@gentoo> (raw)
commit: 36e7245281a7afed509161d26cf1a4ffe55c5688
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Feb 27 11:20:43 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 21:10:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e72452
dev-java/ant: drop PDEPEND, handle all ant-tasks unconditional
After chenging the JAVA_ANT_E_DEPEND value in java-ant-2.eclass we no
longer need to PDEPEND on dev-java/ant-core.
We also remove the non-existing RDEPEND on <dev-java/ant-core
We also handle all ant-tasks conditional to avoid building unneeded jar files.
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
.../ant/{ant-1.10.14-r2.ebuild => ant-1.10.14-r3.ebuild} | 16 +++++++---------
dev-java/ant/metadata.xml | 1 +
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/dev-java/ant/ant-1.10.14-r2.ebuild b/dev-java/ant/ant-1.10.14-r3.ebuild
similarity index 96%
rename from dev-java/ant/ant-1.10.14-r2.ebuild
rename to dev-java/ant/ant-1.10.14-r3.ebuild
index 9a6c7aacc165..d1d0486dd712 100644
--- a/dev-java/ant/ant-1.10.14-r2.ebuild
+++ b/dev-java/ant/ant-1.10.14-r3.ebuild
@@ -20,9 +20,9 @@ S="${WORKDIR}/apache-${P}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-IUSE="bcel bsf commonslogging commonsnet jai jakartamail javamail jdepend jsch junit junit4
- junitlauncher log4j oro regexp resolver testutil xalan xz"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="antlr bcel bsf commonslogging commonsnet imageio jai jakartamail javamail jdepend
+ jmf jsch junit junit4 junitlauncher log4j oro regexp resolver swing testutil xalan xz"
# At least 10 test cases would fail without network
PROPERTIES="test_network"
@@ -71,9 +71,7 @@ DEPEND="
)
xz? ( dev-java/xz-java:0 )
"
-PDEPEND="~dev-java/ant-core-${PV}:0"
RDEPEND="
- !<dev-java/ant-core-1.10.14
!dev-java/ant-apache-regexp
!dev-java/ant-apache-log4j
!dev-java/ant-apache-xalan2
@@ -143,7 +141,7 @@ src_prepare() {
eprefixify "src/script/ant"
ANT_TASKS=(
- ant-antlr # no dependencies
+ $(use antlr && echo ant-antlr) # no dependencies
$(use bcel && echo ant-apache-bcel)
$(use bsf && echo ant-apache-bsf) # REQUIRED_USE for tests
$(use log4j && echo ant-apache-log4j)
@@ -153,12 +151,12 @@ src_prepare() {
$(use xalan && echo ant-apache-xalan2)
$(use commonslogging && echo ant-commons-logging)
$(use commonsnet && echo ant-commons-net)
- ant-imageio # no dependencies
+ $(use imageio && echo ant-imageio) # no dependencies
$(use jai && echo ant-jai)
$(use jakartamail && echo ant-jakartamail)
$(use javamail && echo ant-javamail)
$(use jdepend && echo ant-jdepend)
- ant-jmf # no dependencies
+ $(use jmf && echo ant-jmf) # no dependencies
$(use jsch && echo ant-jsch)
$(use junit && echo ant-junit) # REQUIRED_USE for junit4 and for testutil
$(use junit4 && echo ant-junit4)
@@ -167,7 +165,7 @@ src_prepare() {
# available on https://www.netrexx.org/downloads.nsp and states:
# "IBM's last NetRexx release, suitable for JVM versions 1.5 and below [...]"
# $(use netrexx && echo ant-netrexx) # src/etc/poms/ant-netrexx/pom.xml
- ant-swing # no dependencies
+ $(use swing && echo ant-swing) # no dependencies
$(use testutil && echo ant-testutil)
$(use xz && echo ant-xz)
)
diff --git a/dev-java/ant/metadata.xml b/dev-java/ant/metadata.xml
index fbae5fba582e..1c03ec86e251 100644
--- a/dev-java/ant/metadata.xml
+++ b/dev-java/ant/metadata.xml
@@ -12,6 +12,7 @@
(<pkg>dev-java/bsf</pkg>)</flag>
<flag name="commonslogging">Enable commons-logging Ant tasks</flag>
<flag name="commonsnet">Enable commons-net Ant tasks</flag>
+ <flag name="imageio">Enable imageio Ant tasks</flag>
<flag name="jai">Enable JAI (Java Imaging) Ant task</flag>
<flag name="jakartamail">Enable Jakartamail Ant task</flag>
<flag name="javamail">Enable JavaMail Ant task</flag>
next reply other threads:[~2024-03-10 21:10 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-10 21:10 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 7:48 [gentoo-commits] repo/gentoo:master commit in: dev-java/ant/ Miroslav Šulc
2024-11-21 21:08 Arthur Zamarin
2024-11-21 13:47 Jakov Smolić
2024-11-19 1:37 Sam James
2024-10-20 10:16 Miroslav Šulc
2024-04-19 10:38 Sam James
2024-03-12 6:45 Sam James
2024-03-10 21:10 Miroslav Šulc
2024-03-10 8:53 Arthur Zamarin
2024-03-03 6:11 Sam James
2024-02-25 23:06 Sam James
2024-02-25 19:19 Jakov Smolić
2024-02-20 10:22 Miroslav Šulc
2024-01-26 2:09 Ionen Wolkens
2024-01-26 2:09 Ionen Wolkens
2024-01-24 10:48 Miroslav Šulc
2024-01-23 18:50 Sam James
2024-01-23 9:42 Miroslav Šulc
2023-12-11 19:22 Miroslav Šulc
2020-10-15 7:42 Miroslav Šulc
2020-10-14 19:19 Agostino Sarubbo
2020-10-01 18:16 Miroslav Šulc
2020-07-20 9:06 Miroslav Šulc
2020-07-19 21:35 Sam James
2020-07-05 11:20 Miroslav Šulc
2019-11-25 13:22 Miroslav Šulc
2019-11-25 13:22 Miroslav Šulc
2019-10-17 14:02 Miroslav Šulc
2019-03-20 17:27 Miroslav Šulc
2019-03-19 10:23 Miroslav Šulc
2019-03-15 8:21 Mikle Kolyada
2019-03-04 18:42 Miroslav Šulc
2019-01-23 8:28 Miroslav Šulc
2019-01-21 10:29 Miroslav Šulc
2018-10-22 18:24 Michał Górny
2018-05-04 20:49 Patrice Clement
2018-04-19 22:14 Sergei Trofimovich
2018-04-18 14:47 Aaron Bauman
2018-03-17 13:37 Pacho Ramos
2018-03-01 8:39 Michał Górny
2017-01-29 15:41 Fabian Groffen
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=1710105005.36e7245281a7afed509161d26cf1a4ffe55c5688.fordfrog@gentoo \
--to=fordfrog@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