From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/junitperf/Manifest | 5 +++ dev-java/junitperf/junitperf-1.9.1-r2.ebuild | 50 ++++++++++++++++++++++++++++ dev-java/junitperf/metadata.xml | 8 +++++ 3 files changed, 63 insertions(+) create mode 100644 dev-java/junitperf/Manifest create mode 100644 dev-java/junitperf/junitperf-1.9.1-r2.ebuild create mode 100644 dev-java/junitperf/metadata.xml (limited to 'dev-java/junitperf') diff --git a/dev-java/junitperf/Manifest b/dev-java/junitperf/Manifest new file mode 100644 index 000000000000..da09460de8c0 --- /dev/null +++ b/dev-java/junitperf/Manifest @@ -0,0 +1,5 @@ +DIST junitperf-1.9.1.zip 110600 SHA256 ff350b8b6bcf79826b96ab786303dc22f0d096d2e9d333c52ac567cc4d26b79a SHA512 35fd3cddf5643ede31a89f39e0149ceb5a07c97521bcb4e661fce32b08a5299064f6b52828889d4918485f3ca000f6020dd6cec802d8b1579f46bd861ad74b1b WHIRLPOOL 0ad8e653f87d5cd34f1c3630a7a185934cf8ae13a8fee05f0cfcd352d6f6aa8896bf8cce3e013e33cb73fa253c16fdad6c5b3edf16e49b3eaf5cd3cd56cf80cb +EBUILD junitperf-1.9.1-r2.ebuild 1055 SHA256 7ef0dbdc00576045cf55489baebefcb5514805129f2f66256acaedc61875378d SHA512 9633ad3e64884114db7ae1a54a72ce5b0fc8bd891e8cca017fab59c68a09291a923382bfd338d5b5f1995fc0a173f098dfdeee5ce827b2e2f62e62c97ac5d5f8 WHIRLPOOL 257cf6e735cef5001596aa0f36b0ac36b1dacb133dd655f8ed2420d62bf5a516d49543b72f99d4cd6ad6b130eafee5aa92aaf9de771acb9667b8ab5efd3744d9 +MISC ChangeLog 2752 SHA256 29649dff8d1b486396c95fd5e6a18f56ff4bc9d5c7dbdc7ed2f074067e320e95 SHA512 ac7b6cfbed44befb0a0946c8afcd82810469bd805e132604434ec6decebebd973c993ad9fd9750b774d89a88fcf41901e4a8b05a9f6e351b67907342dfa1c4f6 WHIRLPOOL 3fcf167474472293a3fcaf20ffdef9b910bce56f2164d52dfa11c280e651bc308e5699b88cbc9d994fa38b52bc79f1b744f1fd2c65473ee6b5992774494450b4 +MISC ChangeLog-2015 3621 SHA256 456b3f437357e31c0860efd8829b8bf83cafdf7fe1a615d5d12737ce9d1a7b44 SHA512 d4669bf5fe7c755f9f9040517f2cbdfd27e3510ebc19cd8aadda1d46925a983e274731f5f12c4553a800607b5777754964a860471129e46da60afbd19ce7685a WHIRLPOOL 9a757246a72f4a696a88e6001cdf5cda56b058065ee45be4793078df6427ffd3db1a8d5accbd182b8e2ed9bd1d31c1bf1c8f5e8f67d53496804a9db14bb9ea23 +MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc diff --git a/dev-java/junitperf/junitperf-1.9.1-r2.ebuild b/dev-java/junitperf/junitperf-1.9.1-r2.ebuild new file mode 100644 index 000000000000..758e8b528c1d --- /dev/null +++ b/dev-java/junitperf/junitperf-1.9.1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc test source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Simple framework to write repeatable tests" +SRC_URI="http://www.clarkware.com/software/${P}.zip" +HOMEPAGE="http://www.clarkware.com/software/JUnitPerf.html" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" + +IUSE="" + +CDEPEND="dev-java/junit:4" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + test? ( dev-java/ant-junit:0 ) + source? ( app-arch/zip ) + >=virtual/jdk-1.6" + +java_prepare() { + java-pkg_clean +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_GENTOO_CLASSPATH="junit-4" +EANT_DOC_TARGET="doc" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH}" +EANT_TEST_TARGET="test" + +src_test() { + ANT_TASKS="ant-junit" java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar "lib/${PN}.jar" + dodoc README + use doc && java-pkg_dojavadoc docs/api + use source && java-pkg_dosrc src/app/* +} diff --git a/dev-java/junitperf/metadata.xml b/dev-java/junitperf/metadata.xml new file mode 100644 index 000000000000..952a4b9b605c --- /dev/null +++ b/dev-java/junitperf/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + -- cgit v1.2.3