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/nekohtml |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/nekohtml')
-rw-r--r-- | dev-java/nekohtml/Manifest | 6 | ||||
-rw-r--r-- | dev-java/nekohtml/files/nekohtml-1.9.18-remove-obsolete-xerces-bridges.patch | 12 | ||||
-rw-r--r-- | dev-java/nekohtml/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild | 57 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-java/nekohtml/Manifest b/dev-java/nekohtml/Manifest new file mode 100644 index 000000000000..43634ed555a5 --- /dev/null +++ b/dev-java/nekohtml/Manifest @@ -0,0 +1,6 @@ +AUX nekohtml-1.9.18-remove-obsolete-xerces-bridges.patch 533 SHA256 9d72da5a1b4281fb83514db33c471e70dbf91c1e0c9bcdbb9e41a5049ffa2bed SHA512 21c077f13c5157928f6cdc1be45f729e05b42d5b33cae7394d0d8c1167045f27e8baab89a5aefe33b907d1c3e2146030ee54a48da6d1a3bdde6c75f729dc7937 WHIRLPOOL c15097c889a72e511d8c2e6306f35b54821a7c983a0d995aa4d11d739002f4a2bd5c1512eb1002014dd21fe80650181e3f8bfa4b1ce1370eacff39b1d22673bc +DIST nekohtml-1.9.18.tar.gz 10471968 SHA256 fbb0dc6bdc07a1b4c4cc7ab32197f1aa431a506e33caf6cfb8130766c22475c0 SHA512 f7321ad853eb63e327ef8bada52892caf58372f11136df72f46d8a7cd6918492cc66243002955525ac05fd669b3c4389e9067421f749f99f928629cc7f88e0eb WHIRLPOOL 8b7208ba84bdce1da6fdca17548f5c8b98a85a6d39f2695ddf776508c5b0dc3a724fbe994f64c37b62a718a36e41b8dfe28c73bbb7da7c0347485ebf8b811336 +EBUILD nekohtml-1.9.18-r1.ebuild 1226 SHA256 0c833714c4bd21e8c5ad5592bc24912239c3a75a421ed3b3991d23d3aea17c63 SHA512 650cebaba5acba5ce87885c3589fe9e3f8efe4ca21e5aa96ced484667399643e6609e155cfb0adbbb59128b41cafbfd6e912d1aed6f7f56dc6d7b73d609dffe5 WHIRLPOOL b61e374d80cc854ac436b7931619a222e80c5dab58536f573c40b0743b20b4f704aeb66dcdb238e1814f8a8369ef0915e8c653da7d96d13ebfdc243525f8c711 +MISC ChangeLog 2821 SHA256 4c1fe39c9331ad621a88a9b2588276dae086e41d2a0b71c8d64ef78fb7eeff60 SHA512 2e9825f69d411d81b378038a196a416697428d4cfa180cbd7dc60cdd2cc8048da9f573fcdcf029f8bfe78cc55bbaa4b31af67f82e25cebfa4ba976e0eaa926b3 WHIRLPOOL e2da5ac0b04579748e4ad847926218bb2d0e323f6b5f4e1fc594a7571e05b5a0a12586a6075bf0af1d08cc342ed3a67f1d59198c24a302fb4dc52dd2de3483bf +MISC ChangeLog-2015 3125 SHA256 242c26e14b4818cc9c1f8a237ddc067821d4369e22084769fd6351d6245755e5 SHA512 84dd774e4eeb743b517f72cfdbc26464a9ede26402deb223ea0de8ef6b3fcc44f0bb533ebb4aaabb59190d5e854c00044068adfb92b4387e77f65afde0799733 WHIRLPOOL 3426001b236e42e3d4d35a7c876faaca197376b6ad5601c06a21c8dcb8ee37458d6a99d994d1e209226de37996a42de14d76ffa1d9639678e6c00df23690d084 +MISC metadata.xml 314 SHA256 d1e22d0606de4838f77b87f577b98ed8c1d4d69bd83a4d94411c2564526603e6 SHA512 a8b454129fe31dd7b221ea1094a331ad78feb7cbf558e256fad7a49a28c7ceb99874504c4430c1fad04e854b25a5e1005005f3c2320eafe985ee934c758351f6 WHIRLPOOL 4c89a63dc3f939ad32ce6c58f46b8464c50af4c6cbf6c97fe765e4ed2fce072afbfa373393a3d70b25bba12405dd8cd23e66b5a48779c9b6bf215a4ad01d8ddb diff --git a/dev-java/nekohtml/files/nekohtml-1.9.18-remove-obsolete-xerces-bridges.patch b/dev-java/nekohtml/files/nekohtml-1.9.18-remove-obsolete-xerces-bridges.patch new file mode 100644 index 000000000000..2f4a6c655cac --- /dev/null +++ b/dev-java/nekohtml/files/nekohtml-1.9.18-remove-obsolete-xerces-bridges.patch @@ -0,0 +1,12 @@ +diff -Nru /tmp/nekohtml-1.9.16.orig/build.xml ./build.xml +--- /tmp/nekohtml-1.9.16.orig/build.xml 2012-07-31 18:12:48.559950104 +0300 ++++ ./build.xml 2012-07-31 18:12:53.887883123 +0300 +@@ -103,8 +103,6 @@ + unless="compile.skip"> + <mkdir dir="${build.classes.dir}"/> + +- <compileWith xercesVersion="2.0.2" bridge="2_0"/> +- <compileWith xercesVersion="2.1.0" bridge="2_1"/> + <compileWith xercesVersion="2.2.1" bridge="2_2"/> + <compileWith xercesVersion="2.3.0" bridge="2_3"/> + <compileWith xercesVersion="2.8.1" bridge="2_3"/> diff --git a/dev-java/nekohtml/metadata.xml b/dev-java/nekohtml/metadata.xml new file mode 100644 index 000000000000..7b1fb1901602 --- /dev/null +++ b/dev-java/nekohtml/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">nekohtml</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild b/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild new file mode 100644 index 000000000000..fd1401c96ca6 --- /dev/null +++ b/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source test" + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="A simple HTML scanner and tag balancer using standard XML interfaces" + +HOMEPAGE="http://nekohtml.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="amd64 x86" + +COMMON_DEP=">=dev-java/xerces-2.7" +DEPEND=">=virtual/jdk-1.4 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + ) + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} taskdef" +JAVA_ANT_REWRITE_CLASSPATH="yes" + +EANT_GENTOO_CLASSPATH="xerces-2" +EANT_TEST_GENTOO_CLASSPATH="ant-junit,junit,xerces-2" + +# Do not generate docs, use bundled. +EANT_DOC_TARGET="" + +java_prepare() { + find . -iname '*.jar' -delete || die + epatch "${FILESDIR}"/${P}-remove-obsolete-xerces-bridges.patch +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar build/lib/${PN}.jar + + if use doc; then + java-pkg_dojavadoc doc/javadoc + java-pkg_dohtml -r doc/* + fi + + use source && java-pkg_dosrc src/org + use examples && java-pkg_doexamples src/sample +} |