Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jsr173/
Date: Sat, 01 Apr 2017 22:03:23
Message-Id: 1491084196.903ce8317ca2cb2f5b4f6fc5672252fa06654368.monsieurp@gentoo
1 commit: 903ce8317ca2cb2f5b4f6fc5672252fa06654368
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 22:03:01 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 22:03:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903ce831
7
8 dev-java/jsr173: drop jaxme dependency.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-java/jsr173/jsr173-1.0-r4.ebuild | 43 ++++++++++++++++++++++++++++++++++++
13 1 file changed, 43 insertions(+)
14
15 diff --git a/dev-java/jsr173/jsr173-1.0-r4.ebuild b/dev-java/jsr173/jsr173-1.0-r4.ebuild
16 new file mode 100644
17 index 00000000000..4ae2654069f
18 --- /dev/null
19 +++ b/dev-java/jsr173/jsr173-1.0-r4.ebuild
20 @@ -0,0 +1,43 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +EAPI=6
24 +
25 +JAVA_PKG_IUSE="doc source"
26 +
27 +inherit java-pkg-2 java-pkg-simple
28 +
29 +DESCRIPTION="Yet another Java library for parsing and writing XML"
30 +HOMEPAGE="http://dev2dev.bea.com/xml/stax.html"
31 +SRC_URI="http://ftpna2.bea.com/pub/downloads/${PN}.jar"
32 +
33 +LICENSE="bea.ri.jsr173"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
36 +
37 +RDEPEND="
38 + ${CDEPEND}
39 + >=virtual/jre-1.6"
40 +
41 +DEPEND="
42 + ${CDEPEND}
43 + >=virtual/jdk-1.6"
44 +
45 +S="${WORKDIR}"
46 +
47 +DOCS=( README.txt jsr173_1.0.pdf )
48 +
49 +src_unpack() {
50 + cd "${S}" || die
51 + jar xvf "${DISTDIR}/${A}" || die "failed to unpack"
52 + jar xvf "${P//-/_}_src.jar" || die "failed to unpack"
53 +}
54 +
55 +src_prepare() {
56 + default
57 + java-pkg_clean
58 +}
59 +
60 +src_install() {
61 + java-pkg-simple_src_install
62 + use doc && einstalldocs
63 +}