From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/ant-ivy/
Date: Mon, 10 Aug 2015 18:39:45 +0000 (UTC) [thread overview]
Message-ID: <1439235584.c44303a8bd07d4a8d76b38733e6bafc840f6a795.monsieurp@gentoo> (raw)
commit: c44303a8bd07d4a8d76b38733e6bafc840f6a795
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 19:08:46 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 19:39:44 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c44303a8
dev-java/ant-ivy: Update dev-java/bcprov dependency to match with new SLOT
number. Fixes bug 557166.
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/ant-ivy/ant-ivy-2.3.0-r1.ebuild | 104 +++++++++++++++++++++++++++++++
1 file changed, 104 insertions(+)
diff --git a/dev-java/ant-ivy/ant-ivy-2.3.0-r1.ebuild b/dev-java/ant-ivy/ant-ivy-2.3.0-r1.ebuild
new file mode 100644
index 0000000..11c6fbd
--- /dev/null
+++ b/dev-java/ant-ivy/ant-ivy-2.3.0-r1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+# Register this as a split-ant task.
+WANT_SPLIT_ANT="true"
+
+# Don't rewrite examples, that's bad.
+JAVA_PKG_BSFIX_ALL="no"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_PN="apache-ivy"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Ivy is a free java based dependency manager"
+HOMEPAGE="http://ant.apache.org/ivy"
+SRC_URI="mirror://apache/ant/ivy/${PV}/${MY_P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+# We cannot build tests yet as there is no org.apache.tools.ant.BuildFileTest packaged anywhere yet.
+RESTRICT="test"
+
+# There may be additional optional dependencies (commons-logging, commons-lang...)
+CDEPEND="
+ dev-java/jsch:0
+ dev-java/bcpg:0
+ dev-java/bcpkix:0
+ dev-java/bcprov:1.50
+ dev-java/ant-core:0
+ dev-java/commons-vfs:0
+ dev-java/jakarta-oro:2.0
+ dev-java/commons-httpclient:3"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ test? (
+ dev-java/ant-junit:0
+ )
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+java_prepare() {
+ # This stuff needs removing.
+ local CLEANUP=(
+ doc/reports
+ test/triggers
+ doc/configuration
+ test/repositories
+ test/java/org/apache/ivy/core/settings/custom-resolver.jar
+ src/example/chained-resolvers/settings/repository/test-1.0.jar
+ )
+
+ rm -rf "${CLEANUP[@]}" || die
+
+ java-ant_rewrite-classpath
+ mkdir lib || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+EANT_GENTOO_CLASSPATH="
+ jsch
+ bcpg
+ bcpkix
+ ant-core
+ commons-vfs
+ bcprov-1.50
+ jakarta-oro-2.0
+ commons-httpclient-3
+"
+
+EANT_BUILD_TARGET="/offline jar"
+
+EANT_EXTRA_ARGS="-Dbuild.version=${PV} -Dbundle.version=${PV}"
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant "/offline test"
+}
+
+src_install() {
+ java-pkg_dojar build/artifact/jars/ivy.jar
+ java-pkg_register-ant-task
+
+ if use doc; then
+ java-pkg_dojavadoc build/doc/reports/api
+ java-pkg_dohtml -r doc
+ fi
+
+ use examples && java-pkg_doexamples src/example
+ use source && java-pkg_dosrc src/java/*
+}
next reply other threads:[~2015-08-10 18:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 18:39 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-02 13:16 [gentoo-commits] repo/gentoo:master commit in: dev-java/ant-ivy/ Miroslav Šulc
2024-04-15 10:17 Miroslav Šulc
2022-05-06 6:15 Miroslav Šulc
2022-05-05 18:04 Arthur Zamarin
2022-05-05 9:54 Jakov Smolić
2022-05-05 9:54 Jakov Smolić
2022-04-05 9:01 Florian Schmaus
2022-01-05 20:49 Florian Schmaus
2022-01-05 18:08 Arthur Zamarin
2022-01-03 10:22 Jakov Smolić
2022-01-03 9:17 Jakov Smolić
2021-12-04 16:27 Miroslav Šulc
2021-03-12 12:18 Miroslav Šulc
2019-10-07 9:52 Agostino Sarubbo
2018-06-04 1:12 Aaron Bauman
2018-05-26 18:16 Aaron Bauman
2018-04-08 18:37 James Le Cuirot
2015-10-24 14:16 Patrice Clement
2015-10-24 14:16 Patrice Clement
2015-10-17 16:59 Patrice Clement
2015-08-10 18:39 Patrice Clement
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=1439235584.c44303a8bd07d4a8d76b38733e6bafc840f6a795.monsieurp@gentoo \
--to=monsieurp@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