summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Baidakou <the.dmol@gmail.com>2012-08-24 11:34:42 +0300
committerIvan Baidakou <the.dmol@gmail.com>2012-08-24 11:34:42 +0300
commit5a198eb533608b04200ddbb8832764781e5b6c6e (patch)
tree531bbdce5043364d3c8995b74bf5047df10680c8 /net-nds/jxplorer
parentnew commons-digester-3.2.ebuild wrt#310357 (diff)
downloaddmol-5a198eb533608b04200ddbb8832764781e5b6c6e.tar.gz
dmol-5a198eb533608b04200ddbb8832764781e5b6c6e.tar.bz2
dmol-5a198eb533608b04200ddbb8832764781e5b6c6e.zip
improved ebuild with unlinked junit dependency
Diffstat (limited to 'net-nds/jxplorer')
-rw-r--r--net-nds/jxplorer/Manifest9
-rw-r--r--net-nds/jxplorer/jxplorer-3.3.01.ebuild13
2 files changed, 14 insertions, 8 deletions
diff --git a/net-nds/jxplorer/Manifest b/net-nds/jxplorer/Manifest
index a903312..c4c9eba 100644
--- a/net-nds/jxplorer/Manifest
+++ b/net-nds/jxplorer/Manifest
@@ -1,4 +1,5 @@
-AUX jxplorer-3-pre 663 RMD160 447e3adf726870e2323f5dbc4ddff7d7bb5be124 SHA1 22c22de478a7fe1e91ea12aeafda15e7a269620b SHA256 1325841c7b09ce3c76a6a34ed1e87b6856ea6df82db77333814a23d7b036cb34
-AUX jxplorer-3.3.01-disable-jxworkbench.patch 507 RMD160 5a5dadd12071be91c67f960c6e9ea4cf45952e66 SHA1 e4f72e88f09adfbfcca1cd7e7d8fc31320043b57 SHA256 bdceeda0d3ae4e47fd8fef6525ebc584c796798e5e02d076336ce46a50033e49
-DIST jxplorer-3.3.01-project.zip 3753063 RMD160 b8eecc61e19b500dd4beb6b7f7aa60554956c018 SHA1 62aa0fb3258e45bd8901b194bb99de0eb09e20f4 SHA256 2b40070b54e84e591ec8b74fc8d1fc0bc10b95fa78ab458829ebd86520bd5be1
-EBUILD jxplorer-3.3.01.ebuild 1680 RMD160 2eaca3bfb67c2e612aa0bc44a70b3884ec388874 SHA1 9f552627ae66c1695b5572d4263dfc7cdcb8f2f7 SHA256 47058420c57bdee2dc67095fd4f835b310bfce213e4aa8a40496598ceb958357
+AUX jxplorer-3-pre 663 SHA256 1325841c7b09ce3c76a6a34ed1e87b6856ea6df82db77333814a23d7b036cb34 SHA512 11acb8c28a063825678ec3fe7bafc1cd1d0f99c96d49e62500d06b0584967017efb050c561826ce8b6db8a73da66ea1742f4a361fddc4e17abddad5174106f9f WHIRLPOOL c83f20d79c452f454b768d30cff0771b6e9619627f25ef9df98442985c01d93621ca57f34030f4c8c0a1c294d82bc3d28c92e934497922174d32e7b22a422d35
+AUX jxplorer-3.3.01-disable-jxworkbench.patch 507 SHA256 bdceeda0d3ae4e47fd8fef6525ebc584c796798e5e02d076336ce46a50033e49 SHA512 b89c2b1831de506e437c4094ee0312a06280e5ddf88ba4882a22f9a2e2c8422a28ab7c47ebd75b52c9c303645b46b90b69a0f0d37bd17e1994683b5fa6070a0a WHIRLPOOL a939b311580e796dc8b13a52ca681540acec1e6331707ecfecf796cc85244f6d9153bf8f60d24d4beffb54a8efbff5db7c0145a4ac2ac837f79834329d67519d
+DIST jxplorer-3.3.01-project.zip 3753063 SHA256 2b40070b54e84e591ec8b74fc8d1fc0bc10b95fa78ab458829ebd86520bd5be1 SHA512 48a0449fcacbfbdbfb29f7361a1768651fe5ae92d95b296ce2ebb6f6eeafc5e2a109119949db13fdf9520278998131bf9099aafad6cebea4f784d416a1cc07b9 WHIRLPOOL f15f844469238fe82a980dec26c16f9a43715f01326be137e4145d7d717a09b971b259861a01c38909ce39b128a3bb5a4001aff0556f617e85f754d76728d513
+EBUILD jxplorer-3.3.01.ebuild 1794 SHA256 c69fb5b969344175e589e64384702ac85e960a95e509692fc2f5f7b69d3fe9bb SHA512 168c67c8d6fde15fda9bca6d1721948910ffe34338e09281f183f4f6f89a5e283adcb43d44d1c519a8a57111c9972b51e82c7bab168faeb7408e0e9429d1b440 WHIRLPOOL e22bd81b08a634fd42465f5c001169f7f67a421460fcf433f605f45502299a555a10021d955d3bacfeac942ab668e1f4ad8f46967ebc45f87066dfec2bd89c13
+MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
diff --git a/net-nds/jxplorer/jxplorer-3.3.01.ebuild b/net-nds/jxplorer/jxplorer-3.3.01.ebuild
index 65e6c56..de81014 100644
--- a/net-nds/jxplorer/jxplorer-3.3.01.ebuild
+++ b/net-nds/jxplorer/jxplorer-3.3.01.ebuild
@@ -16,15 +16,15 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=virtual/jre-1.5
- >=dev-java/javahelp-2.0.02_p46
- =dev-java/junit-3.8*"
+ >=dev-java/javahelp-2.0.02_p46"
DEPEND=">=virtual/jdk-1.5
+ test? ( =dev-java/junit-3.8* )
${RDEPEND}"
S=${WORKDIR}/${PN}
JAVA_ANT_REWRITE_CLASSPATH="yes"
-EANT_GENTOO_CLASSPATH="javahelp junit"
+EANT_GENTOO_CLASSPATH="javahelp"
src_prepare() {
epatch "${FILESDIR}"/${P}-disable-jxworkbench.patch
@@ -40,7 +40,12 @@ src_prepare() {
fi
}
-src_test() {
+src_compile() {
+ EANT_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only junit)
+ java-pkg-2_src_compile
+}
+
+src_test(){
ANT_TASKS="ant-junit" java-pkg-2_src_test
}