sera        14/07/30 18:35:05

  Modified:             ChangeLog
  Added:                htmlparser-1.4-r1.ebuild
  Removed:              htmlparser-1.4.ebuild htmlparser-1.3.1.ebuild
  Log:
  Use recent icu4j
  Cleanup ebuild, bump EAPI to 5
  Remove old
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
3C5CF75A)

Revision  Changes    Path
1.10                 dev-java/htmlparser/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/ChangeLog?rev=1.10&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/ChangeLog?rev=1.10&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/htmlparser/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog   8 Jul 2013 14:11:01 -0000       1.9
+++ ChangeLog   30 Jul 2014 18:35:05 -0000      1.10
@@ -1,6 +1,14 @@
 # ChangeLog for dev-java/htmlparser
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser/ChangeLog,v 1.9 
2013/07/08 14:11:01 tomwij Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser/ChangeLog,v 1.10 
2014/07/30 18:35:05 sera Exp $
+
+*htmlparser-1.4-r1 (30 Jul 2014)
+
+  30 Jul 2014; Ralph Sennhauser <s...@gentoo.org> -htmlparser-1.3.1.ebuild,
+  -htmlparser-1.4.ebuild, +htmlparser-1.4-r1.ebuild:
+  Use recent icu4j
+  Cleanup ebuild, bump EAPI to 5
+  Remove old
 
 *htmlparser-1.4 (08 Jul 2013)
 



1.1                  dev-java/htmlparser/htmlparser-1.4-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/htmlparser-1.4-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/htmlparser-1.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: htmlparser-1.4-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-java/htmlparser/htmlparser-1.4-r1.ebuild,v 1.1 
2014/07/30 18:35:05 sera Exp $

EAPI=5

JAVA_PKG_IUSE="doc source"

inherit java-pkg-2 java-ant-2

DESCRIPTION="Implementation of the HTML5 parsing algorithm in Java"
HOMEPAGE="http://about.validator.nu/htmlparser/";
SRC_URI="http://about.validator.nu/${PN}/${P}.zip";

LICENSE="W3C"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

COMMON_DEP="
        dev-java/icu4j:52
        dev-java/jchardet:0
        dev-java/xom:0"
RDEPEND="${COMMON_DEP}
        >=virtual/jre-1.5"
DEPEND="${COMMON_DEP}
        >=virtual/jdk-1.5
        app-arch/unzip"

java_prepare() {
        find "${WORKDIR}" -name '*.jar' -delete || die
        mkdir -p build lib || die
        cp "${FILESDIR}/build.xml" build.xml || die "cp failed"
}

JAVA_ANT_REWRITE_CLASSPATH="yes"

EANT_GENTOO_CLASSPATH="icu4j-52,xom,jchardet"

src_install() {
        java-pkg_dojar htmlparser.jar

        use source && java-pkg_dosrc src/*
        use doc && java-pkg_dojavadoc docs
}




Reply via email to