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

(-)/usr/portage/dev-java/jcommon/jcommon-1.0.18.ebuild (-8 / +9 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2014 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-27 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="
21
RDEPEND="
22
	>=virtual/jdk-1.4"
22
	>=virtual/jdk-1.5"
23
DEPEND="
23
DEPEND="
24
	>=virtual/jdk-1.4
24
	>=virtual/jdk-1.5
25
	app-arch/unzip
25
	test? ( dev-java/junit:4 )"
26
	test? ( dev-java/junit:4 )"
26
27
27
S=${WORKDIR}/${MY_P}
28
S=${WORKDIR}/${MY_P}
Lines 40-52 Link Here
40
src_test() {
41
src_test() {
41
	java-pkg_jar-from --into lib junit-4
42
	java-pkg_jar-from --into lib junit-4
42
	eant -f ant/build.xml compile-junit-tests
43
	eant -f ant/build.xml compile-junit-tests
43
	ejunit4 -cp "./lib/jcommon-${PV}-junit.jar:$(java-pkg_getjars junit-4)" \
44
	ejunit4 -cp "./lib/${P}-junit.jar:$(java-pkg_getjars junit-4)" \
44
		org.jfree.junit.JCommonTestSuite
45
		org.jfree.junit.JCommonTestSuite
45
}
46
}
46
47
47
src_install() {
48
src_install() {
48
	java-pkg_newjar ${P}.jar ${PN}.jar
49
	java-pkg_newjar ${P}.jar ${PN}.jar
49
	dodoc README.txt
50
	dodoc README.md
50
	use doc && java-pkg_dojavadoc javadoc
51
	use doc && java-pkg_dojavadoc javadoc
51
	use source && java-pkg_dosrc source/com source/org
52
	use source && java-pkg_dosrc src/main/java/com src/main/java/org
52
}
53
}

Return to bug 528392