From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/ant-core/
Date: Sun, 10 Mar 2024 21:10:35 +0000 (UTC) [thread overview]
Message-ID: <1710105005.741d4790f8f688a04715b447481adc57c1d888b1.fordfrog@gentoo> (raw)
commit: 741d4790f8f688a04715b447481adc57c1d888b1
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Feb 26 13:59:33 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=741d4790
dev-java/ant-core: drop 1.10.9-r5
Bug: https://bugs.gentoo.org/802165
Closes: https://bugs.gentoo.org/202276
Closes: https://bugs.gentoo.org/850430
Closes: https://bugs.gentoo.org/829815
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/ant-core/Manifest | 2 -
dev-java/ant-core/ant-core-1.10.9-r5.ebuild | 159 ----------------------------
2 files changed, 161 deletions(-)
diff --git a/dev-java/ant-core/Manifest b/dev-java/ant-core/Manifest
deleted file mode 100644
index dccd735d44ed..000000000000
--- a/dev-java/ant-core/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST ant-1.10.9-gentoo.tar.bz2 6685 BLAKE2B 2249c7e1628052a2a6896c6995e0c5dd14ea77671ab0ef4402ece9968f41266cdf4411cd669dbb73c4d7043d7c6c5f6e992bfc2705e74899ff1058f0d4942704 SHA512 aade4c5322c29d1b6b4f6b99b229a1a07ff64faed104bdbbff3a82bd482d9cab5596c019dac92eaf4cab875fa9e46e5067ba816f910c2d6c94890ab85c50605b
-DIST apache-ant-1.10.9-src.tar.bz2 4593589 BLAKE2B afb73e592dbd4e0082f5890005ce70264ab9c59f1359a91cc83abcfb03938d98ed9d1eb797c9f72bd3d017a41c19635a6246e5b46ddcab660749a2530db1baaa SHA512 7a6c96131462dc0e1bcf41e2daa1b129a45d19302f4ee2915bb51c4cf347996fa5f8140f96653b21952decee16816476b8f258f8ad2c094a8305209cebcee4a4
diff --git a/dev-java/ant-core/ant-core-1.10.9-r5.ebuild b/dev-java/ant-core/ant-core-1.10.9-r5.ebuild
deleted file mode 100644
index 40333bc9a9d1..000000000000
--- a/dev-java/ant-core/ant-core-1.10.9-r5.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Don't depend on itself.
-JAVA_ANT_DISABLE_ANT_CORE_DEP="true"
-
-# Rewriting build.xml files for the testcases has no use at the moment.
-JAVA_PKG_BSFIX_ALL="no"
-JAVA_PKG_IUSE="doc source"
-MAVEN_ID="org.apache.ant:ant:1.10.9"
-
-inherit java-pkg-2 java-ant-2 prefix
-
-MY_P="apache-ant-${PV}"
-
-DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files"
-HOMEPAGE="https://ant.apache.org/"
-SRC_URI="https://archive.apache.org/dist/ant/source/${MY_P}-src.tar.bz2
- https://dev.gentoo.org/~fordfrog/distfiles/ant-${PV}-gentoo.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-
-CDEPEND=">=virtual/jdk-1.8:*"
-DEPEND="${CDEPEND}
- doc? (
- dev-java/bcel:0
- dev-java/bsf:2.3
- dev-java/commons-logging:0
- dev-java/commons-net:0
- dev-java/jakarta-activation-api:1
- dev-java/jakarta-regexp:1.4
- dev-java/jakarta-oro:2.0
- dev-java/jdepend:0
- dev-java/jsch:0
- dev-java/log4j-12-api:2
- dev-java/javax-mail:0
- dev-java/sun-jai-bin:0
- dev-java/xalan:0
- dev-java/xml-commons-resolver:0
- dev-java/xz-java:0
- )"
-RDEPEND="${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-RESTRICT="test"
-
-PATCHES=(
- "${WORKDIR}/${PV}-build.patch"
- "${WORKDIR}/${PV}-launch.patch"
-)
-
-src_prepare() {
- default
-
- eprefixify "${S}/src/script/ant"
-
- # Fixes bug 556008.
- java-ant_xml-rewrite -f build.xml \
- -c -e javadoc \
- -a failonerror \
- -v "false"
-
- # See bug #196080 for more details.
- java-ant_bsfix_one build.xml
- java-pkg-2_src_prepare
-
- # Remove JDK9+ stuff
- einfo "Removing JDK9+ classes (Jmod and Link)"
- rm "${S}"/src/main/org/apache/tools/ant/taskdefs/modules/{Jmod,Link}.java
-}
-
-src_compile() {
- export ANT_HOME=""
- # Avoid error message that package ant-core was not found
- export ANT_TASKS="none"
-
- local bsyscp
-
- # This ensures that when building ant with bootstrapped ant,
- # only the source is used for resolving references, and not
- # the classes in bootstrapped ant but jikes in kaffe has issues with this...
- if ! java-pkg_current-vm-matches kaffe; then
- bsyscp="-Dbuild.sysclasspath=ignore"
- fi
-
- CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars dist-internal ||
- die "build failed"
-
- if use doc; then
- # All Java packages imported by the source files need to present in
- # the classpath, otherwise it would be https://bugs.gentoo.org/780531
- local doc_deps=(
- bcel
- bsf-2.3
- commons-logging
- commons-net
- jakarta-activation-api-1
- jakarta-oro-2.0
- jakarta-regexp-1.4
- jdepend
- jsch
- log4j-12-api-2
- javax-mail
- sun-jai-bin
- xalan
- xml-commons-resolver
- xz-java
- )
- for dep in "${doc_deps[@]}"; do
- java-pkg_jar-from --build-only --into lib/optional/ "${dep}"
- done
- # This file imports netrexx.lang.Rexx, which is not available
- # from ::gentoo. Fortunately, there is not a dev-java/ant-*
- # package for it, so even if we could generate documentation
- # for it, it would be irrelevant
- rm src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java ||
- die "Failed to remove Java source file blocking Javadoc generation"
- ./build.sh ${bsyscp} javadocs || die "Javadoc build failed"
- fi
-}
-
-src_install() {
- dodir /usr/share/ant/lib
-
- for jar in ant.jar ant-bootstrap.jar ant-launcher.jar ; do
- java-pkg_dojar build/lib/${jar}
- dosym ../../${PN}/lib/${jar} /usr/share/ant/lib/${jar}
- done
-
- dobin src/script/ant
-
- dodir /usr/share/${PN}/bin
- for each in antRun antRun.pl runant.pl runant.py ; do
- dobin "${S}/src/script/${each}"
- dosym ../../../bin/${each} /usr/share/${PN}/bin/${each}
- done
- dosym ../${PN}/bin /usr/share/ant/bin
-
- insinto /usr/share/${PN}
- doins -r dist/etc
- dosym ../${PN}/etc /usr/share/ant/etc
-
- echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant"
- doenvd "${T}/20ant"
-
- dodoc NOTICE README WHATSNEW KEYS
-
- if use doc; then
- dodoc -r manual/*
- java-pkg_dojavadoc --symlink manual/api build/javadocs
- fi
-
- use source && java-pkg_dosrc src/main/*
-}
next reply other threads:[~2024-03-10 21:10 UTC|newest]
Thread overview: 56+ 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-10-27 17:39 [gentoo-commits] repo/gentoo:master commit in: dev-java/ant-core/ Eli Schwartz
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-01-26 2:09 Ionen Wolkens
2024-01-26 2:09 Ionen Wolkens
2024-01-23 9:42 Miroslav Šulc
2023-12-11 19:21 Miroslav Šulc
2022-05-21 18:19 Florian Schmaus
2022-05-20 8:45 Florian Schmaus
2022-05-12 18:23 Florian Schmaus
2022-03-22 17:47 Arthur Zamarin
2022-03-22 11:26 Agostino Sarubbo
2022-03-22 9:27 Jakov Smolić
2022-03-22 9:27 Jakov Smolić
2022-03-22 8:37 Arthur Zamarin
2022-02-19 9:25 Miroslav Šulc
2022-02-19 9:25 Miroslav Šulc
2022-02-03 6:56 Florian Schmaus
2022-01-30 9:00 Florian Schmaus
2022-01-30 9:00 Florian Schmaus
2022-01-18 9:51 Miroslav Šulc
2020-12-27 14:07 Fabian Groffen
2020-10-15 7:42 Miroslav Šulc
2020-10-14 19:22 Agostino Sarubbo
2020-10-14 19:19 Agostino Sarubbo
2020-10-14 19:08 Agostino Sarubbo
2020-10-14 18:29 Sam James
2020-10-01 18:16 Miroslav Šulc
2020-07-19 21:35 Sam James
2020-07-19 15:18 Sam James
2020-07-19 13:38 Sam James
2020-07-05 11:20 Miroslav Šulc
2019-11-25 13:22 Miroslav Šulc
2019-11-25 13:22 Miroslav Šulc
2019-11-23 16:49 Agostino Sarubbo
2019-11-23 12:43 Agostino Sarubbo
2019-11-23 5:42 Aaron Bauman
2019-11-22 10:24 Agostino Sarubbo
2019-11-01 10:31 Miroslav Šulc
2019-10-17 14:02 Miroslav Šulc
2019-04-30 8:40 Michał Górny
2019-03-20 17:27 Miroslav Šulc
2019-03-15 8:21 Mikle Kolyada
2019-03-01 12:46 Mikle Kolyada
2019-03-01 1:14 Thomas Deutschmann
2019-01-24 22:06 Miroslav Šulc
2019-01-23 8:28 Miroslav Šulc
2019-01-21 10:29 Miroslav Šulc
2018-02-12 22:18 James Le Cuirot
2017-01-30 19:03 Fabian Groffen
2017-01-27 9:34 Patrick Lauer
2017-01-26 21:50 James Le Cuirot
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.741d4790f8f688a04715b447481adc57c1d888b1.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