Gentoo Archives: gentoo-commits

From: "Ralph Sennhauser (sera)" <sera@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/htmlparser: ChangeLog htmlparser-1.4-r1.ebuild htmlparser-1.4.ebuild htmlparser-1.3.1.ebuild
Date: Wed, 30 Jul 2014 18:35:13
Message-Id: 20140730183506.C741A2004E@flycatcher.gentoo.org
1 sera 14/07/30 18:35:05
2
3 Modified: ChangeLog
4 Added: htmlparser-1.4-r1.ebuild
5 Removed: htmlparser-1.4.ebuild htmlparser-1.3.1.ebuild
6 Log:
7 Use recent icu4j
8 Cleanup ebuild, bump EAPI to 5
9 Remove old
10
11 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 3C5CF75A)
12
13 Revision Changes Path
14 1.10 dev-java/htmlparser/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/ChangeLog?rev=1.10&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/ChangeLog?rev=1.10&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/ChangeLog?r1=1.9&r2=1.10
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-java/htmlparser/ChangeLog,v
23 retrieving revision 1.9
24 retrieving revision 1.10
25 diff -u -r1.9 -r1.10
26 --- ChangeLog 8 Jul 2013 14:11:01 -0000 1.9
27 +++ ChangeLog 30 Jul 2014 18:35:05 -0000 1.10
28 @@ -1,6 +1,14 @@
29 # ChangeLog for dev-java/htmlparser
30 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser/ChangeLog,v 1.9 2013/07/08 14:11:01 tomwij Exp $
32 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
33 +# $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser/ChangeLog,v 1.10 2014/07/30 18:35:05 sera Exp $
34 +
35 +*htmlparser-1.4-r1 (30 Jul 2014)
36 +
37 + 30 Jul 2014; Ralph Sennhauser <sera@g.o> -htmlparser-1.3.1.ebuild,
38 + -htmlparser-1.4.ebuild, +htmlparser-1.4-r1.ebuild:
39 + Use recent icu4j
40 + Cleanup ebuild, bump EAPI to 5
41 + Remove old
42
43 *htmlparser-1.4 (08 Jul 2013)
44
45
46
47
48 1.1 dev-java/htmlparser/htmlparser-1.4-r1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/htmlparser-1.4-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/htmlparser/htmlparser-1.4-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: htmlparser-1.4-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2014 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser/htmlparser-1.4-r1.ebuild,v 1.1 2014/07/30 18:35:05 sera Exp $
58
59 EAPI=5
60
61 JAVA_PKG_IUSE="doc source"
62
63 inherit java-pkg-2 java-ant-2
64
65 DESCRIPTION="Implementation of the HTML5 parsing algorithm in Java"
66 HOMEPAGE="http://about.validator.nu/htmlparser/"
67 SRC_URI="http://about.validator.nu/${PN}/${P}.zip"
68
69 LICENSE="W3C"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE=""
73
74 COMMON_DEP="
75 dev-java/icu4j:52
76 dev-java/jchardet:0
77 dev-java/xom:0"
78 RDEPEND="${COMMON_DEP}
79 >=virtual/jre-1.5"
80 DEPEND="${COMMON_DEP}
81 >=virtual/jdk-1.5
82 app-arch/unzip"
83
84 java_prepare() {
85 find "${WORKDIR}" -name '*.jar' -delete || die
86 mkdir -p build lib || die
87 cp "${FILESDIR}/build.xml" build.xml || die "cp failed"
88 }
89
90 JAVA_ANT_REWRITE_CLASSPATH="yes"
91
92 EANT_GENTOO_CLASSPATH="icu4j-52,xom,jchardet"
93
94 src_install() {
95 java-pkg_dojar htmlparser.jar
96
97 use source && java-pkg_dosrc src/*
98 use doc && java-pkg_dojavadoc docs
99 }