From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/hamcrest-integration/Manifest | 4 ++ .../files/1.3-remove-targets.patch | 74 ++++++++++++++++++++++ .../hamcrest-integration-1.3.ebuild | 53 ++++++++++++++++ dev-java/hamcrest-integration/metadata.xml | 11 ++++ 4 files changed, 142 insertions(+) create mode 100644 dev-java/hamcrest-integration/Manifest create mode 100644 dev-java/hamcrest-integration/files/1.3-remove-targets.patch create mode 100644 dev-java/hamcrest-integration/hamcrest-integration-1.3.ebuild create mode 100644 dev-java/hamcrest-integration/metadata.xml (limited to 'dev-java/hamcrest-integration') diff --git a/dev-java/hamcrest-integration/Manifest b/dev-java/hamcrest-integration/Manifest new file mode 100644 index 000000000000..6ffda7fbc575 --- /dev/null +++ b/dev-java/hamcrest-integration/Manifest @@ -0,0 +1,4 @@ +AUX 1.3-remove-targets.patch 3721 BLAKE2B 9d7859da4694366577efbb6ef9a485fb40a1be67a0da3144a97fc7dd2e90c07b4d42665e164c3f7b544f21427f12366946fc400ad8484fa796d4afff488e0c89 SHA512 1af75ef60b6a6ac6a24d4725c548b34493968fd67d93c192867d9da6fa79c26a25ee68f1b2987008160100052d22aca5fde9440133566a55d630b241579f2463 +DIST hamcrest-1.3.tgz 3686096 BLAKE2B 38ff91a524064cb00b4d2e82c0a50a2df870bbb0a6e43055f33ce344a1dc8de3760530652691db26aa42890d8517940c038a570b5acaaf91b7e970aca7df3493 SHA512 5672bc627bc71d6fd64b6f776b89ac16ed68819fa4a0748c1250b57f1065c1e7e18ba184d9fe3392e54000ddeb353d0d8d67f4eecdf464974563f05c6b226fc2 +EBUILD hamcrest-integration-1.3.ebuild 1289 BLAKE2B 244fd2ba21a7f07b0b311a4d8d0ac0543cf94364fd9aadf730cb7a62f71280a44326e9d9d06228adc52b8d7c93d4645811bdaeec69a7a1dd09f5e82174cc4988 SHA512 6c145ecf5215028ec16eb7605182f6ea257427d09e4350f55f8a33b98b5ad65e6db5d5239c3d217df4d2536fe90cb8d34380ce2d8a551d8e971bcf8b8f95ef7a +MISC metadata.xml 310 BLAKE2B 18f629f94221f2689e8e27ebd26be9a7fcb14a4a5ba2632b59e370dae8a13e25a7cff75b36b4eee5abee203f9c9d8ad012226928ce7300207b2fe7af151934d6 SHA512 04a1836dd5ab9e764bdde86a1944830b3e272ecba3a6ae7ee84e8128edeff96b5936bf3a7dcd133171b97ab1feac4a2ff639951168d0937e7b76a6958e566cef diff --git a/dev-java/hamcrest-integration/files/1.3-remove-targets.patch b/dev-java/hamcrest-integration/files/1.3-remove-targets.patch new file mode 100644 index 000000000000..e534eddfb750 --- /dev/null +++ b/dev-java/hamcrest-integration/files/1.3-remove-targets.patch @@ -0,0 +1,74 @@ +diff --git a/hamcrest-1.3/build.xml b/hamcrest-1.3/build.xml +index 1cfd4fb..396ebc5 100644 +--- a/hamcrest-1.3/build.xml ++++ b/hamcrest-1.3/build.xml +@@ -12,69 +12,14 @@ + + + +- +- +- +- +- +- +- +- +- +- + + + +- +- +- +- +- +- +- +- +- +- +- +- +- + + + +- +- +- +- +- +- +- +- +- +- +- + + + diff --git a/dev-java/hamcrest-integration/hamcrest-integration-1.3.ebuild b/dev-java/hamcrest-integration/hamcrest-integration-1.3.ebuild new file mode 100644 index 000000000000..bb0548279c9a --- /dev/null +++ b/dev-java/hamcrest-integration/hamcrest-integration-1.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +MY_PN=${PN/-integration} +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Integration library of hamcrest" +HOMEPAGE="https://github.com/hamcrest" +SRC_URI="https://${MY_PN}.googlecode.com/files/${MY_P}.tgz" + +LICENSE="BSD-2" +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-java/hamcrest-core:${SLOT} + dev-java/qdox:1.6 + dev-java/easymock:3.2 + dev-java/jmock:1.0" + +DEPEND=">=virtual/jdk-1.5 + userland_GNU? ( sys-apps/findutils ) + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} java java-to-jar" + +EANT_GENTOO_CLASSPATH="hamcrest-core:${SLOT},qdox:1.6,easymock:3.2,jmock:1.0" +EANT_BUILD_TARGET="integration" +EANT_EXTRA_ARGS="-Dversion=${PV}" +EANT_GENTOO_CLASSPATH_EXTRA="build/${P}.jar" + +java_prepare() { + # remove core+generator target as they are already built. + epatch "${FILESDIR}/${PV}-remove-targets.patch" + + find -iname "*.jar" -exec rm -v {} + || die "Unable to clean bundled JAR files" +} + +src_install() { + java-pkg_newjar build/${P}.jar ${PN}.jar + + use source && java-pkg_dosrc ${PN}/src/main/java/org +} diff --git a/dev-java/hamcrest-integration/metadata.xml b/dev-java/hamcrest-integration/metadata.xml new file mode 100644 index 000000000000..7ee93b2f2b47 --- /dev/null +++ b/dev-java/hamcrest-integration/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + hamcrest/ + + -- cgit v1.2.3