Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 528392 | Differences between
and this patch

Collapse All | Expand All

(-)a/jcommon-1.0.18.ebuild (-10 / +10 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2015 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommon/jcommon-1.0.18.ebuild,v 1.5 2014/10/05 10:44:14 ago Exp $
3
# $Header: $
4
4
5
EAPI=5
5
EAPI=5
6
6
Lines 11-28 Link Here
11
MY_P=${PN}-$(replace_version_separator 3 -)
11
MY_P=${PN}-$(replace_version_separator 3 -)
12
DESCRIPTION="JCommon is a collection of useful classes used by JFreeChart, JFreeReport and other projects"
12
DESCRIPTION="JCommon is a collection of useful classes used by JFreeChart, JFreeReport and other projects"
13
HOMEPAGE="http://www.jfree.org/jcommon"
13
HOMEPAGE="http://www.jfree.org/jcommon"
14
SRC_URI="mirror://sourceforge/jfreechart/${MY_P}.tar.gz"
14
SRC_URI="mirror://sourceforge/jfreechart/${MY_P}.zip"
15
15
16
LICENSE="LGPL-2"
16
LICENSE="LGPL-2"
17
SLOT="1.0"
17
SLOT="1.0"
18
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
18
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
19
IUSE="debug"
19
IUSE="debug"
20
20
21
RDEPEND="
22
	>=virtual/jdk-1.4"
23
DEPEND="
21
DEPEND="
24
	>=virtual/jdk-1.4
22
	>=virtual/jdk-1.6
23
	app-arch/unzip
25
	test? ( dev-java/junit:4 )"
24
	test? ( dev-java/junit:4 )"
25
RDEPEND=">=virtual/jre-1.6"
26
26
27
S=${WORKDIR}/${MY_P}
27
S=${WORKDIR}/${MY_P}
28
28
Lines 40-52 Link Here
40
src_test() {
40
src_test() {
41
	java-pkg_jar-from --into lib junit-4
41
	java-pkg_jar-from --into lib junit-4
42
	eant -f ant/build.xml compile-junit-tests
42
	eant -f ant/build.xml compile-junit-tests
43
	ejunit4 -cp "./lib/jcommon-${PV}-junit.jar:$(java-pkg_getjars junit-4)" \
43
	ejunit4 -cp "./lib/${P}-junit.jar:$(java-pkg_getjars junit-4)" \
44
		org.jfree.junit.JCommonTestSuite
44
		org.jfree.junit.JCommonTestSuite
45
}
45
}
46
46
47
src_install() {
47
src_install() {
48
	java-pkg_newjar ${P}.jar ${PN}.jar
48
	java-pkg_newjar ${P}.jar ${PN}.jar
49
	dodoc README.txt
49
	dodoc README.md
50
	use doc && java-pkg_dojavadoc javadoc
50
	use doc && java-pkg_dojavadoc javadoc
51
	use source && java-pkg_dosrc source/com source/org
51
	use source && java-pkg_dosrc src/main/java/com src/main/java/org
52
}
52
}

Return to bug 528392