diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/junitperf | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/junitperf')
-rw-r--r-- | dev-java/junitperf/Manifest | 3 | ||||
-rw-r--r-- | dev-java/junitperf/junitperf-1.9.1-r2.ebuild | 50 | ||||
-rw-r--r-- | dev-java/junitperf/metadata.xml | 8 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/junitperf/Manifest b/dev-java/junitperf/Manifest new file mode 100644 index 000000000000..b3d04acd9992 --- /dev/null +++ b/dev-java/junitperf/Manifest @@ -0,0 +1,3 @@ +DIST junitperf-1.9.1.zip 110600 BLAKE2B f3f1467382da532d104fb1236607c72f2984f00e98eb9ae931df6cfdd8235f075e485f2cdb21a9837a866ea00fd4d07a55ed80c29c9a74871890441519a551a9 SHA512 35fd3cddf5643ede31a89f39e0149ceb5a07c97521bcb4e661fce32b08a5299064f6b52828889d4918485f3ca000f6020dd6cec802d8b1579f46bd861ad74b1b +EBUILD junitperf-1.9.1-r2.ebuild 1033 BLAKE2B f0f6b4d75506748c872f6565f49dd8ffba6d95b2c9ed4de16f3c774ff521d68b3ff8bba79ab53bbf4b9eebc949350a9a9342530663857dd3de72bb0bd8aa3a78 SHA512 7cc0448e771002305887038f09a952369a3fc93688911dbcf39bab595bf0190b11d4166367602fb578b6f41db32b4f70ff7ca03bb9f6674f7d087ef67290cb4c +MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 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..147b97e61da2 --- /dev/null +++ b/dev-java/junitperf/junitperf-1.9.1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 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-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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |