public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/ant-ivy/
Date: Fri, 12 Mar 2021 12:18:09 +0000 (UTC)	[thread overview]
Message-ID: <1615551484.3b38b403d4e581f079fc1e75e74ef7a37e0ad8c9.fordfrog@gentoo> (raw)

commit:     3b38b403d4e581f079fc1e75e74ef7a37e0ad8c9
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 12 10:41:15 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 12:18:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b38b403

dev-java/ant-ivy: eapi7, min jdk/jre 1.8

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 ...ant-ivy-1.4.1-r1.ebuild => ant-ivy-1.4.1-r2.ebuild} | 18 +++++++++++-------
 ...ant-ivy-2.3.0-r2.ebuild => ant-ivy-2.3.0-r3.ebuild} | 10 ++++++----
 2 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild b/dev-java/ant-ivy/ant-ivy-1.4.1-r2.ebuild
similarity index 89%
rename from dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild
rename to dev-java/ant-ivy/ant-ivy-1.4.1-r2.ebuild
index 92df6ba8e8b..62198fb29dc 100644
--- a/dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild
+++ b/dev-java/ant-ivy/ant-ivy-1.4.1-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
 JAVA_PKG_IUSE="doc examples source test"
 
@@ -11,7 +11,7 @@ WANT_SPLIT_ANT="true"
 # Rewrites examples otherwise... bad.
 JAVA_PKG_BSFIX_ALL="no"
 
-inherit java-pkg-2 java-ant-2 eutils
+inherit java-pkg-2 java-ant-2
 
 MY_PN="${PN##*-}"
 MY_P="${MY_PN}-${PV}"
@@ -32,19 +32,23 @@ COMMON_DEP="
 	dev-java/jakarta-oro:2.0
 	dev-java/jsch:0"
 
+BDEPEND="app-arch/unzip"
 DEPEND="
-	>=virtual/jdk-1.4
-	app-arch/unzip
+	>=virtual/jdk-1.8:*
 	test? ( dev-java/ant-junit:0 )
 	${COMMON_DEP}"
 
-RDEPEND=">=virtual/jre-1.4
+RDEPEND=">=virtual/jre-1.8:*
 	${COMMON_DEP}"
 
 S="${WORKDIR}/${MY_P}"
 
-java_prepare() {
-	epatch "${FILESDIR}/1.4.1-javadoc.patch"
+PATCHES=(
+	"${FILESDIR}/1.4.1-javadoc.patch"
+)
+
+src_prepare() {
+	default
 
 	# init-ivy expects existing ivy.jar, but we don't need actually it
 	sed -i -e 's/depends="init-ivy, prepare"/depends="prepare"/' build.xml \

diff --git a/dev-java/ant-ivy/ant-ivy-2.3.0-r2.ebuild b/dev-java/ant-ivy/ant-ivy-2.3.0-r3.ebuild
similarity index 95%
rename from dev-java/ant-ivy/ant-ivy-2.3.0-r2.ebuild
rename to dev-java/ant-ivy/ant-ivy-2.3.0-r3.ebuild
index d39bf489081..ef8d904b79d 100644
--- a/dev-java/ant-ivy/ant-ivy-2.3.0-r2.ebuild
+++ b/dev-java/ant-ivy/ant-ivy-2.3.0-r3.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
 JAVA_PKG_IUSE="doc examples source test"
 
@@ -40,18 +40,20 @@ CDEPEND="dev-java/jsch:0
 	dev-java/jakarta-oro:2.0
 	dev-java/commons-httpclient:3"
 
-DEPEND=">=virtual/jdk-1.6
+DEPEND=">=virtual/jdk-1.8:*
 	test? (
 		dev-java/ant-junit:0
 	)
 	${CDEPEND}"
 
-RDEPEND=">=virtual/jre-1.6
+RDEPEND=">=virtual/jre-1.8:*
 	${CDEPEND}"
 
 S="${WORKDIR}/${MY_P}"
 
-java_prepare() {
+src_prepare() {
+	default
+
 	# This stuff needs removing.
 	local CLEANUP=(
 		doc/reports


             reply	other threads:[~2021-03-12 12:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 12:18 Miroslav Šulc [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
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
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=1615551484.3b38b403d4e581f079fc1e75e74ef7a37e0ad8c9.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