From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/ant-contrib/
Date: Mon, 7 Oct 2019 14:39:37 +0000 (UTC) [thread overview]
Message-ID: <1570459173.072554496d348720f94caca7bf0a571813a21122.mgorny@gentoo> (raw)
commit: 072554496d348720f94caca7bf0a571813a21122
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 7 14:38:44 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 7 14:39:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07255449
dev-java/ant-contrib: Revert "Drop old (EAPI=0)"
Needed by net-im/openfire.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-java/ant-contrib/Manifest | 1 +
.../ant-contrib/ant-contrib-1.0_beta2-r2.ebuild | 62 ++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/dev-java/ant-contrib/Manifest b/dev-java/ant-contrib/Manifest
index 8290b6b58b9..00cbebe0371 100644
--- a/dev-java/ant-contrib/Manifest
+++ b/dev-java/ant-contrib/Manifest
@@ -1 +1,2 @@
+DIST ant-contrib-1.0b2-src.tar.bz2 118216 BLAKE2B 518e7bd19280ea035be155a5b8c5f1f5e228a7b24ebe1291c859c2216a57ce673c41f4d8975e73d9a4d07d54fbef404604dd22cc52adfe49820445c05c79e471 SHA512 5245ed1458c9c4892ab8196a8acdf8678aab0d45fc58fcd8ca446e3589f378a9a02de8e608abb75d24fa190cdcbe209454a703eec8d4e563b7690d6d58ea9af8
DIST ant-contrib-1.0b3-src.tar.bz2 3298187 BLAKE2B 0572d583a770c239880fb7e8e4a1e91331dfe80a52d7cf83a90d108f1e717caa26699dce43b72fb1944a74c8c738ad659f60864e2e8e945c8e91569d80c1214b SHA512 8147ed51612eed9d41515c00ef2bb7210ebd50dba8b471abfadf8a56c67b53c030602ce9e49e9070d72d383de61f290e941a76c282e223330fee606f3633b0a8
diff --git a/dev-java/ant-contrib/ant-contrib-1.0_beta2-r2.ebuild b/dev-java/ant-contrib/ant-contrib-1.0_beta2-r2.ebuild
new file mode 100644
index 00000000000..8b10e01db51
--- /dev/null
+++ b/dev-java/ant-contrib/ant-contrib-1.0_beta2-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A collection of tasks for Apache Ant"
+HOMEPAGE="http://ant-contrib.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ant-contrib/${PN}-${PV/_beta/b}-src.tar.bz2"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86"
+IUSE=""
+
+# test? ( dev-java/ant-junit dev-java/ant-testutil )
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/bcel-5.1
+ >=dev-java/xerces-2.7
+ >=dev-java/ant-core-1.7.0"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/tests-visibility.patch"
+ cd "${S}/lib"
+ java-pkg_jar-from ant-core ant.jar
+ java-pkg_jar-from bcel bcel.jar bcel-5.1.jar
+ java-pkg_jar-from xerces-2
+}
+
+EANT_EXTRA_ARGS="-Dversion=${PV} -Ddep.available=true"
+EANT_DOC_TARGET="docs"
+
+# The tests fail to find bcel and fail
+RESTRICT="test"
+
+src_test() {
+ cd test/lib || die
+ java-pkg_jar-from junit junit.jar junit-3.8.1.jar
+ java-pkg_jar-from ant-testutil
+ cd "${S}"
+ local testutil=$(java-pkg_getjars ant-testutil)
+ EANT_TEST_EXTRA_ARGS="-Dtestutil.jar.location=${testutil}" \
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar build/lib/${PN}.jar
+
+ java-pkg_register-ant-task
+ dodoc README.txt || die
+ use doc && java-pkg_dojavadoc build/docs/api
+ use source && java-pkg_dosrc src/net
+ java-pkg_dohtml -r manual
+}
next reply other threads:[~2019-10-07 14:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-07 14:39 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-16 7:48 [gentoo-commits] repo/gentoo:master commit in: dev-java/ant-contrib/ Miroslav Šulc
2021-12-09 16:23 Agostino Sarubbo
2021-12-09 16:22 Agostino Sarubbo
2021-12-07 23:49 Sam James
2021-12-07 7:52 Miroslav Šulc
2021-12-07 7:52 Miroslav Šulc
2021-04-16 12:54 Miroslav Šulc
2019-11-10 13:03 Michał Górny
2019-10-07 13:53 Michał Górny
2019-10-07 9:52 Agostino Sarubbo
2017-03-26 22:06 James Le Cuirot
2017-03-26 22:06 James Le Cuirot
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=1570459173.072554496d348720f94caca7bf0a571813a21122.mgorny@gentoo \
--to=mgorny@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