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/junit/
Date: Sat, 01 Apr 2017 23:20:42
Message-Id: 1491088836.7d2058adfc56d3667675ed8236654e4240a5dcef.monsieurp@gentoo
1 commit: 7d2058adfc56d3667675ed8236654e4240a5dcef
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 23:19:31 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 23:20:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2058ad
7
8 dev-java/junit: EAPI 6 bump.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-java/junit/junit-3.8.2-r2.ebuild | 42 ++++++++++++++++++++++++++++++++++++
13 1 file changed, 42 insertions(+)
14
15 diff --git a/dev-java/junit/junit-3.8.2-r2.ebuild b/dev-java/junit/junit-3.8.2-r2.ebuild
16 new file mode 100644
17 index 00000000000..7cf51fa048a
18 --- /dev/null
19 +++ b/dev-java/junit/junit-3.8.2-r2.ebuild
20 @@ -0,0 +1,42 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +JAVA_PKG_IUSE="doc source"
27 +
28 +inherit java-pkg-2 java-pkg-simple
29 +
30 +MY_P=${P/-/}
31 +
32 +DESCRIPTION="Simple framework to write repeatable tests"
33 +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
34 +HOMEPAGE="http://www.junit.org/"
35 +LICENSE="CPL-1.0"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
38 +
39 +DEPEND=">=virtual/jdk-1.6"
40 +RDEPEND=">=virtual/jre-1.6"
41 +
42 +DOCS=( README.html cpl-v10.html )
43 +
44 +JAVA_SRC_DIR="${PN}"
45 +
46 +S="${WORKDIR}/${MY_P}"
47 +
48 +src_unpack() {
49 + unpack ${A}
50 + cd "${S}" || die
51 + unzip src.jar || die
52 +}
53 +
54 +src_prepare() {
55 + default
56 + java-pkg_clean
57 +}
58 +
59 +src_install() {
60 + java-pkg-simple_src_install
61 + einstalldocs
62 +}