diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2014-12-14 10:16:13 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2014-12-14 10:16:13 +0000 |
commit | f31168cb7cc686f65b8371f71f280b391b85f89b (patch) | |
tree | c69f3b04393e061c075855b828d201e9f4b00cb8 /dev-java | |
parent | Bump geniplate to 0.6.0.5 (diff) | |
download | gentoo-2-f31168cb7cc686f65b8371f71f280b391b85f89b.tar.gz gentoo-2-f31168cb7cc686f65b8371f71f280b391b85f89b.tar.bz2 gentoo-2-f31168cb7cc686f65b8371f71f280b391b85f89b.zip |
Version bump as per bug #532142
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jsoup/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jsoup/jsoup-1.8.1.ebuild | 48 |
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-java/jsoup/ChangeLog b/dev-java/jsoup/ChangeLog index 0cdc05b08477..79275972c8a2 100644 --- a/dev-java/jsoup/ChangeLog +++ b/dev-java/jsoup/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jsoup -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsoup/ChangeLog,v 1.1 2013/09/25 17:36:28 ercpe Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsoup/ChangeLog,v 1.2 2014/12/14 10:16:13 ercpe Exp $ + +*jsoup-1.8.1 (14 Dec 2014) + + 14 Dec 2014; Johann Schmitz <ercpe@gentoo.org> +jsoup-1.8.1.ebuild: + Version bump as per bug #532142 *jsoup-1.7.2 (25 Sep 2013) diff --git a/dev-java/jsoup/jsoup-1.8.1.ebuild b/dev-java/jsoup/jsoup-1.8.1.ebuild new file mode 100644 index 000000000000..a50f4d7c5323 --- /dev/null +++ b/dev-java/jsoup/jsoup-1.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsoup/jsoup-1.8.1.ebuild,v 1.1 2014/12/14 10:16:13 ercpe Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-pkg-simple vcs-snapshot + +MY_PV="${PV}.a" + +DESCRIPTION="Java HTML parser that makes sense of real-world HTML soup" +HOMEPAGE="http://jsoup.org/" +SRC_URI="https://github.com/jhy/${PN}/archive/${PN}-${MY_PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/${PN}-${MY_PV}" + +JAVA_SRC_DIR="src/main/java" + +java_prepare() { + rm pom.xml || die + mkdir -p target/classes/org/jsoup/nodes/ || die + cp src/main/java/org/jsoup/nodes/*.properties target/classes/org/jsoup/nodes/ || die +} + +src_test() { + testcp="${S}/${PN}.jar:$(java-pkg_getjars junit-4):target/tests" + + mkdir target/tests || die + ejavac -cp "${testcp}" -d target/tests $(find src/test/java -name "*.java") + cp -r src/test/resources/* target/tests || die + + tests=$(find target/tests -name "*Test.class" \ + | sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \ + | grep -vP '\$'); + ejunit4 -cp "${testcp}" ${tests} +} |