diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/tagsoup | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/tagsoup')
-rw-r--r-- | dev-java/tagsoup/Manifest | 3 | ||||
-rw-r--r-- | dev-java/tagsoup/metadata.xml | 14 | ||||
-rw-r--r-- | dev-java/tagsoup/tagsoup-1.2.1.ebuild | 42 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/tagsoup/Manifest b/dev-java/tagsoup/Manifest new file mode 100644 index 000000000000..d416e92a44b0 --- /dev/null +++ b/dev-java/tagsoup/Manifest @@ -0,0 +1,3 @@ +DIST tagsoup-1.2.1-src.zip 222757 BLAKE2B 79a43edfa9aed7f08bfaedbe758b2a08d5ff596e268cc415707aee9076bcdbf8de0b4c2a855b9558ff2cf598ed4811a7a690aef6c5004e34484ffe3087bef8e9 SHA512 3bb1608746270663f6ed45318457e3ee27419929411689d962cffc0ab0c32ec4b858020043be46e929014b696c753a01b49d6eea9a98f18d81fb9205e99ac0a1 +EBUILD tagsoup-1.2.1.ebuild 1099 BLAKE2B c77f5066d6aaac5ad22ee09d0f714afc808d4dcbaecc9506f58568413f23a012ba531b95c034dc8d70546c03e80e06f68ae302a2341d50e29d9e3e71da66a252 SHA512 a0cb991662cb75a51a10080ea82c3aa73ffba29d05e163a80ae4f1e488dfce20ef66b6477804af1cbd48a25bb7fdc47c5f19108d86126c2537187a52a1602e79 +MISC metadata.xml 501 BLAKE2B e343c2ff8cc35280a493830bff0fbd4486a37fcc22d79eb8b74e6712250e9c879b50f8beede300189d233cdfa9579f02b921573f6e3af1bb399d34099764caf6 SHA512 e8abb4f880b76ee62dd56e0caa65868efa920f080cae9c137a9ff2646e77c2e22e5bb687e584f1b9621bb10140d6725626b01adad7df85f19ce55d80b4706ba1 diff --git a/dev-java/tagsoup/metadata.xml b/dev-java/tagsoup/metadata.xml new file mode 100644 index 000000000000..6ba5054b0614 --- /dev/null +++ b/dev-java/tagsoup/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> + This is the home page of TagSoup, a SAX-compliant parser written + in Java that, instead of parsing well-formed or valid XML, parses + HTML as it is found in the wild: nasty and brutish, though quite + often far from short. + </longdescription> +</pkgmetadata> diff --git a/dev-java/tagsoup/tagsoup-1.2.1.ebuild b/dev-java/tagsoup/tagsoup-1.2.1.ebuild new file mode 100644 index 000000000000..b31f93d18bc4 --- /dev/null +++ b/dev-java/tagsoup/tagsoup-1.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A SAX-compliant parser written in Java" +HOMEPAGE="http://mercury.ccil.org/~cowan/XML/tagsoup/" +SRC_URI="http://mercury.ccil.org/~cowan/XML/tagsoup/${P}-src.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.4" +DEPEND=" + >=virtual/jdk-1.4 + dev-java/saxon:9 + app-arch/unzip" + +EANT_BUILD_TARGET="dist" +EANT_DOC_TARGET="docs-api" +# Fails to detect a TransformerFactory. #421733 +# See also https://issues.apache.org/jira/browse/XALANJ-1549 for why the default is no good either. +EANT_ANT_TASKS="saxon-9" +EANT_EXTRA_ARGS="-Dtransformer.factory=net.sf.saxon.TransformerFactoryImpl" + +src_install() { + java-pkg_newjar dist/lib/${PN}-1.2.jar ${PN}.jar + java-pkg_dolauncher + + doman ${PN}.1 || die + dodoc CHANGES README TODO || die + + use doc && java-pkg_dojavadoc docs/api + use source && java-pkg_dosrc src/{java,templates}/* +} |