Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91234 Details for
Bug 129773
dev-java/junit:4 rekeyword request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
junit-4.1.ebuild
junit-4.1.ebuild (text/plain), 1.89 KB, created by
Mikko Tiihonen
on 2006-07-08 13:32:14 UTC
(
hide
)
Description:
junit-4.1.ebuild
Filename:
MIME Type:
Creator:
Mikko Tiihonen
Created:
2006-07-08 13:32:14 UTC
Size:
1.89 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1-r1.ebuild,v 1.9 2005/08/03 19:07:58 axxo Exp $ > >inherit java-pkg-2 java-ant-2 > >MY_P=${P/-/} >S=${WORKDIR}/${MY_P} >DESCRIPTION="Simple framework to write repeatable tests" >SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" >HOMEPAGE="http://www.junit.org/" >LICENSE="CPL-1.0" >SLOT="1" >KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64" >IUSE="doc source examples" > >RDEPEND=">=virtual/jre-1.5" >DEPEND=">=virtual/jdk-1.5 > ${RDEPEND} > source? ( app-arch/zip ) > >=dev-java/ant-core-1.4 > app-arch/unzip" > ># TODO: ># - figure how the junit jar in ant-lib could should be named ># - some way to switch between junit3 and junit4 in ant is required, otherwise ># junit4 utilising test cases cannot be run through ant. ># -> This would propably mean that whenever a build target is java >=1.5 the ># ant script should put junit4.jar into classpath and otherwise use the ># older junit.jar > >src_unpack() { > unpack ${A} > cd ${S} > unzip ${P}-src.jar || die "Could not extract sources" > > # Their own unit tests do not even work in unix! > # - reported to upstream > sed -i 's/";"/File.pathSeparator/' org/junit/tests/JUnitCoreTest.java > > # remove jars > rm -f *.jar >} > >src_compile() { > eant dist >} > >src_install() { > java-pkg_newjar ${MY_P}/${P}.jar > > dodoc README.html cpl-v10.html to-do.txt > > if use examples; then > dodir /usr/share/doc/${PF}/examples/org/junit/samples/ > find org/junit/samples/ -name "*.class" | xargs rm > cp -r org/junit/samples/* ${D}/usr/share/doc/${PF}/examples/org/junit/samples/ || die "Could not install examples" > fi > > use source && java-pkg_dosrc junit org > > dodir /usr/share/ant-core/lib > dosym /usr/share/${PN}-${SLOT}/lib/${PN}.jar /usr/share/ant-core/lib/junit4.jar > > use doc && java-pkg_dohtml -r doc javadoc >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 129773
: 91234 |
91243