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/beansbinding/
Date: Sat, 29 Aug 2015 09:50:08
Message-Id: 1440834841.cbbed369e450ef85be9caad97fc0591d281a7485.monsieurp@gentoo
1 commit: cbbed369e450ef85be9caad97fc0591d281a7485
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 07:53:46 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 07:54:01 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbbed369
7
8 dev-java/beansbinding: Update HOMEPAGE and SRC_URI. Fixes bug 559000.
9
10 Package-Manager: portage-2.2.18
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-java/beansbinding/beansbinding-1.2.1-r2.ebuild | 45 ++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/dev-java/beansbinding/beansbinding-1.2.1-r2.ebuild b/dev-java/beansbinding/beansbinding-1.2.1-r2.ebuild
17 new file mode 100644
18 index 0000000..2739110
19 --- /dev/null
20 +++ b/dev-java/beansbinding/beansbinding-1.2.1-r2.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 1999-2015 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=5
27 +
28 +JAVA_PKG_IUSE="doc source"
29 +
30 +inherit java-pkg-2 java-ant-2
31 +
32 +DESCRIPTION="Implementation of JSR295"
33 +HOMEPAGE="https://java.net/projects/beansbinding/"
34 +SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}-src.zip"
35 +
36 +LICENSE="LGPL-2.1"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +
40 +IUSE=""
41 +
42 +DEPEND=">=virtual/jdk-1.6
43 + app-arch/unzip"
44 +
45 +RDEPEND=">=virtual/jre-1.6"
46 +
47 +S="${WORKDIR}"
48 +
49 +# https://bugs.gentoo.org/show_bug.cgi?id=249740
50 +# Quite weird. Should look into why this is happening.
51 +JAVA_PKG_FILTER_COMPILER="ecj-3.5 ecj-3.4 ecj-3.3 ecj-3.2"
52 +
53 +java_prepare() {
54 + # Avoid the usual "Javadoc returned 1" error.
55 + java-ant_xml-rewrite \
56 + -f nbproject/build-impl.xml \
57 + -c -e javadoc \
58 + -a failonerror \
59 + -v "false"
60 +}
61 +
62 +src_install() {
63 + java-pkg_dojar "dist/${PN}.jar"
64 + use doc && java-pkg_dojavadoc dist/javadoc
65 + use source && java-pkg_dosrc src/*
66 +}