diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2014-07-11 17:54:13 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2014-07-11 17:54:13 +0000 |
commit | d389f831c2547679cb03c40220299e5786fea318 (patch) | |
tree | fbcf34675f8babe4e1893498c8806384307bf08d /dev-java | |
parent | New ebuild for htmlparser. (diff) | |
download | historical-d389f831c2547679cb03c40220299e5786fea318.tar.gz historical-d389f831c2547679cb03c40220299e5786fea318.tar.bz2 historical-d389f831c2547679cb03c40220299e5786fea318.zip |
New ebuild for htmlparser.
Note: this is a different one as dev-java/htmlparser! (the one from htmlparser.org)
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x77C501ED
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/htmlparser-org/Manifest | 17 | ||||
-rw-r--r-- | dev-java/htmlparser-org/htmlparser-org-1.6.ebuild | 49 | ||||
-rw-r--r-- | dev-java/htmlparser-org/metadata.xml | 6 |
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-java/htmlparser-org/Manifest b/dev-java/htmlparser-org/Manifest index 4766b919b38a..8d9b0692e20e 100644 --- a/dev-java/htmlparser-org/Manifest +++ b/dev-java/htmlparser-org/Manifest @@ -1,3 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST htmlparser1_6_20060610.zip 4346070 SHA256 e4f1ff4be7501572fec5a17740c817b711a7dbf68f0ee97ec7f4921625981915 SHA512 f23d08d9330dc45133a227b8e1a80a515d01298027ccb0ca0863d1b4fab829f52950e3a3ccad057718fd57b05f8c0176786583af8625c70a38a940d3e878cd5f WHIRLPOOL 17376507ce22c08634455d60f3cf822e98dcd55cd8372508a78395d88ed93e64f0dad60427d9c85a2cf8cba6ed752a87f15962314e545fb46481196cb108f148 -EBUILD htmlparser-org-1.6.ebuild 1234 SHA256 d438315295fce65325e347c068d89020c569bb82d5daa1b1c24a61345ed52ec9 SHA512 056e96107d38227f025751fbcab64acaf1b2a07d9db088beb9b4d29d2e6fb75217571763e4ead659b434484266e7260d3457ab4d1b93bb8f67d0b2c4ee3d97b5 WHIRLPOOL 8347713ca5fd48af52b56e8d379868187cf068ebedc8c1b10766c5ca9ca1875da8c549228d8f66610558660aab5993580ba5ef039eda3880106ef3abe24bd3d7 +EBUILD htmlparser-org-1.6.ebuild 1344 SHA256 2bf771b3cbad2abb71b619d94606510bb39cd831bdf7f4480e0030d0a3b86544 SHA512 979f5034d7327b41d476b356d04f2105c861a24488b8541da4ad61f5c47d76c349870b7b5b4a7dde91562e437d5af7841404533b2e85502b796a709de0cdafa8 WHIRLPOOL f383c3de539c38be4a58b253d690b751c6abb3fe040361d35ff022162ffaeab0a0615810b358fe7b80db11e5b23d744ca58e5b52c98d0df054c9376fff5d8e23 +MISC ChangeLog 464 SHA256 ed11d504402be24aa79761928d00fc0584284c5c42c9486ca3b217f691723fdf SHA512 494268e30f9b665ba768ddfdc983d0480086831b8ec6402072ec66c0af8be1f55f641f7c2f211670971aec490ef2ec405492f832329323800e6a95eac4498a77 WHIRLPOOL 57a8584652e15ea5605540e3c83f18adb068679f5d0fd6d8818071c94ed8dcef03f8a8d3a50116207051d998c63ca04ce44adfc01a79c54b02387c0b07277555 MISC metadata.xml 159 SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b SHA512 269cf19c37f2d136b926f546ec83ffdbc1374b2b6e26f8a31f21854143380386c31bfc7b2a0b9c47fb1f7c02607ddbdd43e517cb5c3270515e465c4dd7788843 WHIRLPOOL afb402fec04cddb3184b69eb8a8d36b404edd2870fd06c8f5e99be39c341ea6fa7542e0b680fac05529522ed33838e8279381d7a6de9dbc58fe55841229d8a51 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQEcBAEBCAAGBQJTwCTCAAoJEKCEBkJ3xQHtv0YH/0afUVi/UqJTRQwrtJyomDzI +rPFy/J4ZoHEwDW3mz1IEaVCiBGgPRPYFmiW98w9qdlXgefkzw5Ko+VUCM6F1EStt +FiinkMxDcAXpBsFKx6x+S+IC1UAkKB+Z5cGfUekR7yRb4i1lmpmS4+9wk1JvM/Sk +KyjL2yAHERNgpXOHZ111qetU5Tl3/35cL0/ommLskqlZR8NHaOlxtT/RyXrfwGXY +w3Ze8QRg69bycKtosxbW/l0r6SVb8Gvv7GqJZv2cfdH59B8Txr2ZVBRnDK4oxXxX +bHqF/DtMBRz2ch2/fGWnb1g7OaucLr/fze537v6dFeejOiurotA8waboNQkggXU= +=pnre +-----END PGP SIGNATURE----- diff --git a/dev-java/htmlparser-org/htmlparser-org-1.6.ebuild b/dev-java/htmlparser-org/htmlparser-org-1.6.ebuild new file mode 100644 index 000000000000..6c295e6ce829 --- /dev/null +++ b/dev-java/htmlparser-org/htmlparser-org-1.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser-org/htmlparser-org-1.6.ebuild,v 1.1 2014/07/11 17:54:09 ercpe Exp $ + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-pkg-simple + +MY_PN=${PN/-org/} +MY_PV=$(replace_all_version_separators _) +SRC_VER="20060610" + +DESCRIPTION="Java library used to parse HTML (from htmlparser.org)" +HOMEPAGE="http://htmlparser.sourceforge.net/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}${MY_PV}_${SRC_VER}.zip" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +S="${WORKDIR}/${MY_PN}${MY_PV}" + +DEPEND="app-arch/unzip + >=virtual/jdk-1.6 + test? ( dev-java/junit:0 )" +RDEPEND=">=virtual/jre-1.6" + +JAVA_SRC_DIR="src" + +java_prepare() { + unzip src.zip || die + rm build.xml lib/* || die + mkdir -p src-test/org/htmlparser/tests || die + mv src/org/htmlparser/tests/* src-test/org/htmlparser/tests || die +} + +src_test() { + mkdir target/tests || die + testcp="$(java-pkg_getjars junit):target/tests:${PN}.jar:${JAVA_HOME}/lib/tools.jar" + ejavac -cp "${testcp}" -d target/tests $(find src-test/ -name "*.java") + tests=$(find target/tests -name "*Test.class" \ + | sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \ + | grep -vP '\$'); + ejunit -cp "${testcp}" ${tests} +} diff --git a/dev-java/htmlparser-org/metadata.xml b/dev-java/htmlparser-org/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-java/htmlparser-org/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + |