From 115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 28 Mar 2023 09:49:11 +0100 Subject: gentoo auto-resync : 28:03:2023 - 09:49:10 --- dev-java/xmlunit-matchers/Manifest | 3 ++ dev-java/xmlunit-matchers/metadata.xml | 10 ++++ .../xmlunit-matchers/xmlunit-matchers-2.9.1.ebuild | 61 ++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 dev-java/xmlunit-matchers/Manifest create mode 100644 dev-java/xmlunit-matchers/metadata.xml create mode 100644 dev-java/xmlunit-matchers/xmlunit-matchers-2.9.1.ebuild (limited to 'dev-java/xmlunit-matchers') diff --git a/dev-java/xmlunit-matchers/Manifest b/dev-java/xmlunit-matchers/Manifest new file mode 100644 index 000000000000..2181467645db --- /dev/null +++ b/dev-java/xmlunit-matchers/Manifest @@ -0,0 +1,3 @@ +DIST xmlunit-2.9.1-src.tar.gz 681721 BLAKE2B 8e8d40e79890d9bec2a3a72a9931cba1c832438e713eb290867a2d95d3ca5a8092327611998075cf1e0117b747563f178b52f3c6435fc0f57c08a94d7240d104 SHA512 147c3868098b526895059b12a1cb692d774f4734fac94069e72a8c61109f8a3bfd7846d7f2596bf7c10dfb1a379185f73a4a0066076fc64a8577b90da8623acf +EBUILD xmlunit-matchers-2.9.1.ebuild 1297 BLAKE2B 2c47dd2076a488cffb0b90c50794cd7d80b105f801cb9612925272915ab92c5385cc9eb32feb6f0489b8aa456390229a188b8b3255003e1efeaef4fc205c9a74 SHA512 aa749242506b3454438783535c9aa28dc3e2e683a1f754109d4cc94c7e4505a1167bb2f7a0c92b54fe34e837f33e8939c44341700b2b18efdf8a22f238564e38 +MISC metadata.xml 297 BLAKE2B 1c474aad9d99cf02cdea059ef071a80a0f4c61b30f8dba1ae878161ca3e569e2617450d01aec4186ae24a7741d65da013ad9e37809e60f25d99d29a9cd9dbd4d SHA512 5f4f2916d77c7551c8f674971c595dbf217aba7a0b83f8cfa92c38afa50536c7690356efaaed799a4eee5c3f024dbbdc645d809918aa1ebaeac5d58200a97a08 diff --git a/dev-java/xmlunit-matchers/metadata.xml b/dev-java/xmlunit-matchers/metadata.xml new file mode 100644 index 000000000000..a707e0e60cc6 --- /dev/null +++ b/dev-java/xmlunit-matchers/metadata.xml @@ -0,0 +1,10 @@ + + + + + java@gentoo.org + + + xmlunit/xmlunit + + diff --git a/dev-java/xmlunit-matchers/xmlunit-matchers-2.9.1.ebuild b/dev-java/xmlunit-matchers/xmlunit-matchers-2.9.1.ebuild new file mode 100644 index 000000000000..20f507d2b058 --- /dev/null +++ b/dev-java/xmlunit-matchers/xmlunit-matchers-2.9.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.xmlunit:xmlunit-matchers:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="XMLUnit for Java Hamcrest Matchers" +HOMEPAGE="https://www.xmlunit.org/" +SRC_URI="https://github.com/xmlunit/xmlunit/releases/download/v${PV}/xmlunit-${PV}-src.tar.gz" +S="${WORKDIR}/xmlunit-${PV}-src/xmlunit-matchers" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" + +PROPERTIES="test_network" +RESTRICT="test" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} + dev-java/hamcrest-core:1.3 + ~dev-java/xmlunit-core-${PV}:2 + test? ( + dev-java/hamcrest-library:1.3 + dev-java/mockito:4 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +DOCS=( ../{CONTRIBUTING,HELP_WANTED,README,RELEASE_NOTES}.md ) + +JAVA_AUTOMATIC_MODULE_NAME="org.xmlunit.matchers" +JAVA_CLASSPATH_EXTRA=" + hamcrest-core-1.3 + xmlunit-core-2 +" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_EXCLUDES="org.xmlunit.TestResources" +JAVA_TEST_GENTOO_CLASSPATH=" + hamcrest-library-1.3 + junit-4 + mockito-4 + xmlunit-core-2 +" +JAVA_TEST_SRC_DIR="src/test/java" + +src_prepare() { + java-pkg-2_src_prepare + cp {../xmlunit-core/,}src/test/java/org/xmlunit/TestResources.java || die +} -- cgit v1.2.3