From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/saxon/Manifest | 7 +++ dev-java/saxon/files/9.2-build.xml | 72 +++++++++++++++++++++++ dev-java/saxon/files/9.2-edition.properties | 2 + dev-java/saxon/metadata.xml | 11 ++++ dev-java/saxon/saxon-6.5.5-r2.ebuild | 48 +++++++++++++++ dev-java/saxon/saxon-9.2.0.6-r2.ebuild | 90 +++++++++++++++++++++++++++++ 6 files changed, 230 insertions(+) create mode 100644 dev-java/saxon/Manifest create mode 100644 dev-java/saxon/files/9.2-build.xml create mode 100644 dev-java/saxon/files/9.2-edition.properties create mode 100644 dev-java/saxon/metadata.xml create mode 100644 dev-java/saxon/saxon-6.5.5-r2.ebuild create mode 100644 dev-java/saxon/saxon-9.2.0.6-r2.ebuild (limited to 'dev-java/saxon') diff --git a/dev-java/saxon/Manifest b/dev-java/saxon/Manifest new file mode 100644 index 000000000000..aecca257cda8 --- /dev/null +++ b/dev-java/saxon/Manifest @@ -0,0 +1,7 @@ +AUX 9.2-build.xml 2061 BLAKE2B fb4e505f9308caf2300b7a1159ff20a973576d974544b1be0b42b71566f8207af7ae48710522c4627bd4879ecfdf14f9f9b983802e6c98c4d1f00cdbc6a363e9 SHA512 9e7c02427041df22a7a5eddc6d9e709635493d079efaba66a9da6320af961d933176105028f8a96fef8f84599724829d582ff64d061d70364f048ed39308e67c +AUX 9.2-edition.properties 74 BLAKE2B d468841c782fa7bf1b39cbeeac01d983a8d6891a13a97b2994496dd80e1c4e3cac893b35f813bccf4e0a877c7c3f1a6c5c12a9c6005b82efb2c42a70a49e93dc SHA512 2c95fc288bb35f68819edc95e8ce30f921b17196123ee7ce0c9908d210e8758c51204bc7dd222d6b7e4803dceb331bcd83120622fa2bcb6587d150a0f479ca02 +DIST saxon6-5-5.zip 3346162 BLAKE2B 63d49545d101c3b595ff3f3db6d781158b8a51862ccdc294e782ac0935010a841405fb21663bd35853042c53548991dfefa7f789be292fe8497a29253c87ee09 SHA512 2d76ab6da8fc8ca8502139f6b620d4c9e94732a520083480e3936f6bd0a9f069252a7a05df53dab49aabec505764b2ec4ca1b36022bb56df568883a0491f495a +DIST saxonhe9-2-0-6source.zip 2942625 BLAKE2B 45f9cc12591ebb94076392b16edba52811d911c41f2f197ffe864e37c1ef478670ff276b7dc8dff316dcd2986f777b4cc2d43989e5d300510ee0edfe7e54103d SHA512 6c59c0cbed905cf561387acb54bb31f0a251432deb0edf498ec4f4d9955bbcc12d1765ace594090d3ccb0416e3e72349466e430bb4f799b51fd12ce8fc5a144e +EBUILD saxon-6.5.5-r2.ebuild 867 BLAKE2B a5879fbeb51e113e05dfbfe4dff8088e26621278c76f83cde4b47b6744cf83e9fb94fd25f661f25e57a3f8a5d513d903f3808dfb6fb6ba79d6e450cbccb03b5a SHA512 a8a6978c47998380b6c7ec09f7102584007aedd829cd95d0ff629d2df9062c5eb46ceecff88b2bb0fa575907810fb21fa14dc1253ff0da3f9962687935f53df1 +EBUILD saxon-9.2.0.6-r2.ebuild 1965 BLAKE2B a6fc49263e9322f3172a97a85721c614157449f3f9582ac9a74a5649c28078fda0588bd4ae3dea4367aae8f7b06eba69b64dcd13bac690303088755ba8298eef SHA512 204c2924bf4a4e9610a8b3e1377c47185129d92f714358df1f41c8a5191b15f9d86e74ac32af3c36232b411e1273ba870b74da464d5b76efeb1d3df941e07b9c +MISC metadata.xml 311 BLAKE2B fdce161da5c8394b66ee6b1bcebbccd863cd5e70291afab04400c4d806afc955f803b5c5aa15601157f2784e434baf505dcbebdbff9817fe960961f8108d3b63 SHA512 2fc12b71b9e977a095610f8f784f19252d44e31442cc5d5ce513f601a2394f4bf491fc9065de88bbf45afe7b8f1ca33ea907e31aa26875f48846856f1bf51126 diff --git a/dev-java/saxon/files/9.2-build.xml b/dev-java/saxon/files/9.2-build.xml new file mode 100644 index 000000000000..3bd9a64d4fe5 --- /dev/null +++ b/dev-java/saxon/files/9.2-build.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/saxon/files/9.2-edition.properties b/dev-java/saxon/files/9.2-edition.properties new file mode 100644 index 000000000000..bb5acee0b19c --- /dev/null +++ b/dev-java/saxon/files/9.2-edition.properties @@ -0,0 +1,2 @@ +config=net.sf.saxon.Configuration +platform=net.sf.saxon.java.JavaPlatform diff --git a/dev-java/saxon/metadata.xml b/dev-java/saxon/metadata.xml new file mode 100644 index 000000000000..d11a296ea609 --- /dev/null +++ b/dev-java/saxon/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + saxon + + diff --git a/dev-java/saxon/saxon-6.5.5-r2.ebuild b/dev-java/saxon/saxon-6.5.5-r2.ebuild new file mode 100644 index 000000000000..6ea74c425702 --- /dev/null +++ b/dev-java/saxon/saxon-6.5.5-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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} + >=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 new file mode 100644 index 000000000000..d538db728ef6 --- /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 + + # . 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 +} -- cgit v1.2.3