summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-03-12 11:30:13 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-03-12 13:18:03 +0100
commitfb83e8a64cf52a952ac45a25dff08e847a8da52b (patch)
treed44277a878931e7c646c4ea0f2d82703ef15bf25 /dev-java/xalan
parentdev-java/xsdlib: min jdk/jre 1.8 (diff)
downloadgentoo-fb83e8a64cf52a952ac45a25dff08e847a8da52b.tar.gz
gentoo-fb83e8a64cf52a952ac45a25dff08e847a8da52b.tar.bz2
gentoo-fb83e8a64cf52a952ac45a25dff08e847a8da52b.zip
dev-java/xalan: eapi7, min jdk/jre 1.8
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/xalan')
-rw-r--r--dev-java/xalan/xalan-2.7.2-r1.ebuild (renamed from dev-java/xalan/xalan-2.7.2.ebuild)18
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-java/xalan/xalan-2.7.2.ebuild b/dev-java/xalan/xalan-2.7.2-r1.ebuild
index c5f4ec852ee9..068336c40472 100644
--- a/dev-java/xalan/xalan-2.7.2.ebuild
+++ b/dev-java/xalan/xalan-2.7.2-r1.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
# NOTE: Building the docs is much more hassle than it's worth. It
# requires com.sun.image.codec, which has long gone from JDKs, and
@@ -9,16 +9,16 @@ EAPI=5
JAVA_PKG_IUSE="doc source"
-inherit java-pkg-2 java-ant-2 versionator
+inherit java-pkg-2 java-ant-2
MY_PN="${PN}-j"
-MY_PV="$(replace_all_version_separators _)"
+MY_PV="$(ver_rs 1- _)"
MY_P="${MY_PN}_${MY_PV}"
SRC_DIST="${MY_P}-src.tar.gz"
BIN_DIST="${MY_P}-bin.zip"
DESCRIPTION="Transforming XML documents into HTML, text, or other XML document types"
-HOMEPAGE="http://xalan.apache.org/"
+HOMEPAGE="https://xalan.apache.org/"
SRC_URI="mirror://apache/${PN}/${MY_PN}/source/${SRC_DIST}
doc? ( mirror://apache/${PN}/${MY_PN}/binaries/${BIN_DIST} )"
LICENSE="Apache-2.0"
@@ -28,13 +28,13 @@ KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-mac
CDEPEND="dev-java/javacup:0
dev-java/bcel:0"
+BDEPEND="doc? ( app-arch/unzip )"
RDEPEND="${CDEPEND}
- >=virtual/jre-1.3
+ >=virtual/jre-1.8:*
~dev-java/xalan-serializer-${PV}:${SLOT}"
DEPEND="${CDEPEND}
- >=virtual/jdk-1.3
- doc? ( app-arch/unzip )"
+ >=virtual/jdk-1.8:*"
EANT_GENTOO_CLASSPATH="bcel,javacup"
EANT_BUILD_TARGET="unbundledjar"
@@ -43,7 +43,9 @@ EANT_DOC_TARGET=""
JAVA_ANT_REWRITE_CLASSPATH="true"
S="${WORKDIR}/${MY_P}"
-java_prepare() {
+src_prepare() {
+ default
+
# disable building of serializer.jar
sed -i -e 's/depends="prepare,serializer.jar"/depends="prepare"/' \
build.xml || die "sed build.xml failed"