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/jgoodies-animation/
Date: Mon, 01 Apr 2019 09:06:48
Message-Id: 1554109599.9e5336816419cec735191f530e9616f4b1e2f25d.monsieurp@gentoo
1 commit: 9e5336816419cec735191f530e9616f4b1e2f25d
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 1 09:05:41 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 1 09:06:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e533681
7
8 dev-java/jgoodies-animation: EAPI 6 bump.
9
10 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12 RepoMan-Options: --force
13
14 dev-java/jgoodies-animation/Manifest | 1 +
15 .../jgoodies-animation-1.2.0-r2.ebuild | 56 ++++++++++++++++++++++
16 2 files changed, 57 insertions(+)
17
18 diff --git a/dev-java/jgoodies-animation/Manifest b/dev-java/jgoodies-animation/Manifest
19 index f4a2bc9098d..a688a2ca5b6 100644
20 --- a/dev-java/jgoodies-animation/Manifest
21 +++ b/dev-java/jgoodies-animation/Manifest
22 @@ -1 +1,2 @@
23 DIST animation-1_2_0.zip 728028 BLAKE2B 591b63b6a2799bfe6020c4e81b834807fba3e72a039dbd9954846b6c5a5c2445493e2d8814b1897b9465ec39c2b62c2f027c1e05ef7db5e9439acc236dbf9078 SHA512 2220630d7fd70a98b6d9605de7a1d6fc3470cc19b39815b9777e6bc8cf7db74ce77338861dde45aafbe336ce8b48ee00bcd8149af701a7001869cd3da3cf6a72
24 +DIST jgoodies-animation-1.2.0.zip 728028 BLAKE2B 591b63b6a2799bfe6020c4e81b834807fba3e72a039dbd9954846b6c5a5c2445493e2d8814b1897b9465ec39c2b62c2f027c1e05ef7db5e9439acc236dbf9078 SHA512 2220630d7fd70a98b6d9605de7a1d6fc3470cc19b39815b9777e6bc8cf7db74ce77338861dde45aafbe336ce8b48ee00bcd8149af701a7001869cd3da3cf6a72
25
26 diff --git a/dev-java/jgoodies-animation/jgoodies-animation-1.2.0-r2.ebuild b/dev-java/jgoodies-animation/jgoodies-animation-1.2.0-r2.ebuild
27 new file mode 100644
28 index 00000000000..2ad90150c27
29 --- /dev/null
30 +++ b/dev-java/jgoodies-animation/jgoodies-animation-1.2.0-r2.ebuild
31 @@ -0,0 +1,56 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +JAVA_PKG_IUSE="doc examples source test"
38 +
39 +inherit java-pkg-2 java-ant-2
40 +
41 +MY_V=${PV//./_}
42 +
43 +DESCRIPTION="JGoodies Animation Library"
44 +HOMEPAGE="http://www.jgoodies.com/"
45 +SRC_URI="mirror://gentoo/animation-${MY_V}.zip -> ${P}.zip"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="amd64 x86"
50 +
51 +DEPEND="
52 + app-arch/unzip
53 + >=virtual/jdk-1.6
54 + test? ( dev-java/ant-junit:0 )"
55 +
56 +RDEPEND="
57 + >=virtual/jre-1.6
58 + examples? (
59 + >=dev-java/jgoodies-binding-1.1:1.0
60 + >=dev-java/jgoodies-forms-1.0:0
61 + )"
62 +
63 +S="${WORKDIR}/animation-${PV}"
64 +
65 +EANT_FILTER_COMPILER="jikes"
66 +EANT_DOC_TARGET=""
67 +
68 +DOCS=( RELEASE-NOTES.txt README.html )
69 +
70 +src_prepare() {
71 + default
72 +
73 + java-pkg_clean
74 +}
75 +
76 +src_test() {
77 + eant test -Djunit.jar.present=true \
78 + -Djunit.jar=$(java-pkg_getjar junit junit.jar)
79 +}
80 +
81 +src_install() {
82 + java-pkg_dojar build/animation.jar
83 + einstalldocs
84 + use doc && java-pkg_dohtml -r docs/*
85 + use source && java-pkg_dosrc src/core/*
86 + use examples && java-pkg_doexamples src/tutorial
87 +}