Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206124 Details for
Bug 205489
[java-overlay] dev-java/hamcrest should be split to subpackages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New dev-java/hamcrest ebuild
hamcrest-1.2.ebuild (text/plain), 1.99 KB, created by
Daniel Solano Gómez
on 2009-10-05 14:43:57 UTC
(
hide
)
Description:
New dev-java/hamcrest ebuild
Filename:
MIME Type:
Creator:
Daniel Solano Gómez
Created:
2009-10-05 14:43:57 UTC
Size:
1.99 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" >JAVA_PKG_IUSE="examples test" >inherit java-pkg-2 java-ant-2 > >DESCRIPTION="Library of matchers for building test expressions." >HOMEPAGE="http://code.google.com/p/${MY_PN}/" >SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz" >LICENSE="BSD-2" >SLOT="1.2" >KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" >IUSE="" > >CDEPEND=" > =dev-java/hamcrest-core-${PV}* > =dev-java/hamcrest-library-${PV}* > =dev-java/hamcrest-integration-${PV}*" >DEPEND=">=virtual/jdk-1.5 > test? ( > =dev-java/hamcrest-generator-${PV}* > dev-java/junit:4 > dev-java/easymock:2 > dev-java/jmock:1.0 > ) > ${CDEPEND}" >RDEPEND=">=virtual/jre-1.5 > ${CDEPEND}" > >JAVA_ANT_REWRITE_CLASSPATH=1 >JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} java-to-jar" > >java_prepare() { > # Don't include source in JAR. If a Gentoo user wants the source the source > # USE flag will be enabled > epatch "${FILESDIR}/hamcrest-1.2-no_source_in_jar.patch" > # Empty out the contents of the generator target; it has already been built. > epatch "${FILESDIR}/hamcrest-1.2-empty_generator.patch" > # Empty out the contents of the core target; it has already been built. > epatch "${FILESDIR}/hamcrest-1.2-empty_core.patch" > # Empty out the contents of the library target; it has already been built. > epatch "${FILESDIR}/hamcrest-1.2-empty_library.patch" > # Empty out the contents of the integration target; it has already been built. > epatch "${FILESDIR}/hamcrest-1.2-empty_integration.patch" > > find -name "*.jar" | xargs rm -v >} > >src_compile() { > einfo "Nothing to do..." >} > >src_test() { > ANT_TASKS="ant-junit4" eant unit-test \ > -Dgentoo.classpath="$(java-pkg_getjars --build-only hamcrest-generator-${PV}):\ > $(java-pkg_getjars hamcrest-core-${PV},hamcrest-library-${PV},hamcrest-integration-${PV}):\ > $(java-pkg_getjars --build-only junit-4,easymock-2,jmock-1.0)" >} > >src_install() { > dodoc README.txt CHANGES.txt > > use examples && java-pkg_doexamples ${PN}-examples >}
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 205489
:
206124
|
206126
|
206128
|
206129
|
206130
|
206132
|
206156
|
209178