diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/tagsoup |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/tagsoup')
-rw-r--r-- | dev-java/tagsoup/Manifest | 5 | ||||
-rw-r--r-- | dev-java/tagsoup/metadata.xml | 14 | ||||
-rw-r--r-- | dev-java/tagsoup/tagsoup-1.2.1.ebuild | 42 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/tagsoup/Manifest b/dev-java/tagsoup/Manifest new file mode 100644 index 000000000000..53dbde66ee49 --- /dev/null +++ b/dev-java/tagsoup/Manifest @@ -0,0 +1,5 @@ +DIST tagsoup-1.2.1-src.zip 222757 SHA256 fe4bb031f2c62461337afe81f8f70df463dc5edb39bd4145c002f6d10a891ece SHA512 3bb1608746270663f6ed45318457e3ee27419929411689d962cffc0ab0c32ec4b858020043be46e929014b696c753a01b49d6eea9a98f18d81fb9205e99ac0a1 WHIRLPOOL 45fd3f63d7582dbc9358874f7f15504fb2e364d7d10fb372b7c2f92791e330f0b2e297795c66b789762ee27c5d125c455dd6a0558be2bd459329fb53eba1bb4c +EBUILD tagsoup-1.2.1.ebuild 1109 SHA256 c5a5c68c5b3b624dc26468af8cc3ac004a2ec6f62d08be8373c18791c0eb5f09 SHA512 e8d4a3a0c13c3f63280d31fc954f4028e4b77686da2fe9887598c26551918835f007397cc56e6b8c3f6e581cd4bdfed3f758bd3dd59b412403a69037157aecc3 WHIRLPOOL 2fd65646ab36585350e040d90b591ce8440e1981d615f8e34b3a28d98866a6726c5a59ae0133bd128bbfc2441bd4383773e91a74edb27794613a6b0cf6ae723f +MISC ChangeLog 2565 SHA256 9e68022627c46dafda233b5f8f92128d5a1b0b4905fa49a1392b004d63be24b7 SHA512 087d2b4af179aed13152df920595cc78f064d11520ef6b43d684bdedf9319835126b3ff6f74c56d310febfc884929d052e0dd1656c205f8ec2ff6002653aa682 WHIRLPOOL dbfe19369644945672949ff276d9c51441b81f9de1a76ee2135916fe831f562bbdb3aa7c0ed8223f7680a344bc7e0896fc53284975ef1cd624254a81c14a2797 +MISC ChangeLog-2015 5166 SHA256 78801d9d17507bceec4b45b85b66e8112dd89eac52e72bb4948d4e22fa92e8ca SHA512 293084ab924f81804f2d082b325dbf65c01f36f0a7352672124acbfc09b26c380c35c61805275fd77f393bba043d511895457cd4366e62fe4c944e8c27dd8d19 WHIRLPOOL a798cecc4bfa91fe2b1de464913597eb11d93860e90308524918734b96475c7878f22c0bbd40c5d31c034741b6f824e2e516ee1ff283a14a8a1f47c2002c00ad +MISC metadata.xml 501 SHA256 a6eab428a18e3b10f7459de137d49448f38b072050495a365df0cb042c376285 SHA512 e8abb4f880b76ee62dd56e0caa65868efa920f080cae9c137a9ff2646e77c2e22e5bb687e584f1b9621bb10140d6725626b01adad7df85f19ce55d80b4706ba1 WHIRLPOOL a154a77cb587adfed98fef4e974b84eb095f9f737b8287a30af45468a5d0f639ce425057620b500aa20ecb8d3406e43137481dcc03b1d31a98e5c1d36ce59d71 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..7bbcd732b623 --- /dev/null +++ b/dev-java/tagsoup/tagsoup-1.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 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 ~x86-fbsd ~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}/* +} |