From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-java/hamcrest-integration/Manifest | 1 + .../files/1.3-remove-targets.patch | 74 ++++++++++++++++++++++ .../hamcrest-integration-1.3.ebuild | 53 ++++++++++++++++ dev-java/hamcrest-integration/metadata.xml | 12 ++++ 4 files changed, 140 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..480364f4e8f4 --- /dev/null +++ b/dev-java/hamcrest-integration/Manifest @@ -0,0 +1 @@ +DIST hamcrest-1.3.tgz 3686096 BLAKE2B 38ff91a524064cb00b4d2e82c0a50a2df870bbb0a6e43055f33ce344a1dc8de3760530652691db26aa42890d8517940c038a570b5acaaf91b7e970aca7df3493 SHA512 5672bc627bc71d6fd64b6f776b89ac16ed68819fa4a0748c1250b57f1065c1e7e18ba184d9fe3392e54000ddeb353d0d8d67f4eecdf464974563f05c6b226fc2 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..cbfa203c9950 --- /dev/null +++ b/dev-java/hamcrest-integration/metadata.xml @@ -0,0 +1,12 @@ + + + + + java@gentoo.org + Java + + + hamcrest/ + + gentoo-staging + -- cgit v1.3