From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/saxon/
Date: Sat, 3 Mar 2018 20:42:51 +0000 (UTC) [thread overview]
Message-ID: <1520109519.23b7fd9c95885d25abf36da08d031129c5d6c077.monsieurp@gentoo> (raw)
commit: 23b7fd9c95885d25abf36da08d031129c5d6c077
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 3 20:37:27 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Mar 3 20:38:39 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b7fd9c
dev-java/saxon: EAPI 6 bump.
Bug: https://bugs.gentoo.org/642358
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-java/saxon/saxon-9.2.0.6-r2.ebuild | 90 ++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
diff --git a/dev-java/saxon/saxon-9.2.0.6-r2.ebuild b/dev-java/saxon/saxon-9.2.0.6-r2.ebuild
new file mode 100644
index 00000000000..f65040049f6
--- /dev/null
+++ b/dev-java/saxon/saxon-9.2.0.6-r2.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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}
+ >=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
+}
next reply other threads:[~2018-03-03 20:42 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-03 20:42 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-15 11:14 [gentoo-commits] repo/gentoo:master commit in: dev-java/saxon/ Miroslav Šulc
2024-07-14 15:39 Sam James
2024-07-14 8:36 Arthur Zamarin
2024-07-14 8:36 Arthur Zamarin
2024-07-14 8:36 Arthur Zamarin
2024-06-14 10:12 Miroslav Šulc
2024-04-17 9:12 Miroslav Šulc
2023-12-17 10:06 Miroslav Šulc
2023-10-24 12:54 Miroslav Šulc
2022-04-23 7:05 Miroslav Šulc
2022-04-22 18:10 Arthur Zamarin
2022-04-22 18:10 Arthur Zamarin
2022-04-22 18:10 Arthur Zamarin
2022-04-22 18:10 Arthur Zamarin
2022-04-15 6:36 Arthur Zamarin
2022-04-15 6:22 Agostino Sarubbo
2022-03-15 17:23 Sam James
2022-03-15 17:23 Sam James
2020-10-20 4:11 Sam James
2019-05-18 1:14 Aaron Bauman
2018-04-14 19:18 Mikle Kolyada
2018-04-14 19:18 Mikle Kolyada
2018-04-12 20:54 Thomas Deutschmann
2018-04-05 3:29 Aaron Bauman
2018-03-14 15:01 Mikle Kolyada
2017-07-13 18:32 Alexis Ballier
2017-03-21 23:00 Patrice Clement
2017-03-21 23:00 Patrice Clement
2017-03-21 23:00 Patrice Clement
2015-10-17 22:36 Patrice Clement
2015-09-29 21:20 James Le Cuirot
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=1520109519.23b7fd9c95885d25abf36da08d031129c5d6c077.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