diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-04-23 08:10:29 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-04-23 09:05:06 +0200 |
commit | c69a0d1a09acd4369d23fcaa603bb4dd953c87fb (patch) | |
tree | ad1d5b8bb35385e0c26606f5aa606b403fd82840 /dev-java/saxon | |
parent | dev-java/lucene: drop 2.4.1-r2 (diff) | |
download | gentoo-c69a0d1a09acd4369d23fcaa603bb4dd953c87fb.tar.gz gentoo-c69a0d1a09acd4369d23fcaa603bb4dd953c87fb.tar.bz2 gentoo-c69a0d1a09acd4369d23fcaa603bb4dd953c87fb.zip |
dev-java/saxon: drop 6.5.5-r2, 9.2.0.6-r2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/saxon')
-rw-r--r-- | dev-java/saxon/saxon-6.5.5-r2.ebuild | 49 | ||||
-rw-r--r-- | dev-java/saxon/saxon-9.2.0.6-r2.ebuild | 91 |
2 files changed, 0 insertions, 140 deletions
diff --git a/dev-java/saxon/saxon-6.5.5-r2.ebuild b/dev-java/saxon/saxon-6.5.5-r2.ebuild deleted file mode 100644 index e33a43038e65..000000000000 --- a/dev-java/saxon/saxon-6.5.5-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc examples source" - -inherit java-pkg-2 java-pkg-simple versionator - -MY_P="${PN}$(replace_all_version_separators -)" - -DESCRIPTION="Set of tools for processing XML documents" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" -HOMEPAGE="http://saxon.sourceforge.net/" - -LICENSE="MPL-1.1" -SLOT="6.5" -KEYWORDS="amd64 x86" - -CDEPEND="dev-java/jdom:0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DEPEND=" - ${CDEPEND} - app-arch/unzip - >=virtual/jdk-1.6" - -JAVA_GENTOO_CLASSPATH="jdom" -JAVA_ENCODING="ISO-8859-1" -JAVA_SRC_DIR="src" - -src_unpack() { - unpack ${A} - unzip -qq source.zip -d src || die "failed to unpack" -} - -src_prepare() { - default - java-pkg_clean -} - -src_install() { - default - java-pkg-simple_src_install - use examples && java-pkg_doexamples samples -} diff --git a/dev-java/saxon/saxon-9.2.0.6-r2.ebuild b/dev-java/saxon/saxon-9.2.0.6-r2.ebuild deleted file mode 100644 index 4332edc035b1..000000000000 --- a/dev-java/saxon/saxon-9.2.0.6-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source" - -inherit versionator java-pkg-2 java-ant-2 - -MY_PV="$(replace_all_version_separators -)" - -DESCRIPTION="A XSLT and XQuery Processor" -HOMEPAGE="http://saxon.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${PN}he${MY_PV}source.zip" - -LICENSE="MPL-1.0" -SLOT="9" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CDEPEND=" - dev-java/xom:0 - dev-java/jdom:0 - dev-java/dom4j:1 - dev-java/ant-core" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DEPEND=" - ${CDEPEND} - app-arch/unzip - >=virtual/jdk-1.6" - -S="${WORKDIR}" - -# prepare eclass variables -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_ANT_CLASSPATH_TAGS="javac javadoc" - -src_prepare() { - default - - # Fedora-inspired removal. - - # deadNET. - rm -rv net/sf/saxon/dotnet || die - - # Depends on XQJ (javax.xml.xquery). - rm -rv net/sf/saxon/xqj || die - - # This requires a EE edition feature (com.saxonica.xsltextn). - rm -v net/sf/saxon/option/sql/SQLElementFactory.java || die - - # <major>.<minor> version - local version="$(get_version_component_range 1-2)" - - # generate build.xml with external javadoc links - sed -e "s:@JDK@:1.6:" \ - -e "s:@JDOM@:1:" \ - < "${FILESDIR}/${version}-build.xml" \ - > "${S}/build.xml" \ - || die "build.xml generation failed!" - - # prepare creates the dir for properties - eant prepare - - # properties - cp -v \ - "${FILESDIR}/${version}-edition.properties" \ - "${S}/build/classes/edition.properties" || die -} - -src_compile() { - local gcp="$(java-pkg_getjars dom4j-1,jdom,xom)" - gcp="${gcp}:$(java-pkg_getjars --build-only ant-core)" - eant -Dgentoo.classpath="${gcp}" jar $(use_doc) -} - -src_install() { - java-pkg_dojar build/lib/${PN}.jar - - java-pkg_dolauncher ${PN}${SLOT}-transform --main net.sf.saxon.Transform - java-pkg_dolauncher ${PN}${SLOT}-query --main net.sf.saxon.Query - - java-pkg_register-ant-task - - use doc && java-pkg_dojavadoc build/api - - use source && java-pkg_dosrc src -} |