diff options
Diffstat (limited to 'dev-java/xmlunit-assertj')
-rw-r--r-- | dev-java/xmlunit-assertj/Manifest | 3 | ||||
-rw-r--r-- | dev-java/xmlunit-assertj/metadata.xml | 10 | ||||
-rw-r--r-- | dev-java/xmlunit-assertj/xmlunit-assertj-2.9.1.ebuild | 63 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-java/xmlunit-assertj/Manifest b/dev-java/xmlunit-assertj/Manifest new file mode 100644 index 000000000000..6efb5f2bee05 --- /dev/null +++ b/dev-java/xmlunit-assertj/Manifest @@ -0,0 +1,3 @@ +DIST xmlunit-2.9.1-src.tar.gz 681721 BLAKE2B 8e8d40e79890d9bec2a3a72a9931cba1c832438e713eb290867a2d95d3ca5a8092327611998075cf1e0117b747563f178b52f3c6435fc0f57c08a94d7240d104 SHA512 147c3868098b526895059b12a1cb692d774f4734fac94069e72a8c61109f8a3bfd7846d7f2596bf7c10dfb1a379185f73a4a0066076fc64a8577b90da8623acf +EBUILD xmlunit-assertj-2.9.1.ebuild 1358 BLAKE2B 8f1c96c4dd1caae8c833caff0c07855ac545f8e6444ec087dfb81771137f5994116679cca290366f339ee223ab5ac13400ea6acd301a68e6777ffc9c28b48ef5 SHA512 780fe8596f351c08412e160f994c464866b0decc0b646a3993f70937bb70bfb1684b1dcbb676cc45db000f324b524d06643e7eb20d21a63e0ccee826c8369a59 +MISC metadata.xml 297 BLAKE2B 1c474aad9d99cf02cdea059ef071a80a0f4c61b30f8dba1ae878161ca3e569e2617450d01aec4186ae24a7741d65da013ad9e37809e60f25d99d29a9cd9dbd4d SHA512 5f4f2916d77c7551c8f674971c595dbf217aba7a0b83f8cfa92c38afa50536c7690356efaaed799a4eee5c3f024dbbdc645d809918aa1ebaeac5d58200a97a08 diff --git a/dev-java/xmlunit-assertj/metadata.xml b/dev-java/xmlunit-assertj/metadata.xml new file mode 100644 index 000000000000..a707e0e60cc6 --- /dev/null +++ b/dev-java/xmlunit-assertj/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">xmlunit/xmlunit</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/xmlunit-assertj/xmlunit-assertj-2.9.1.ebuild b/dev-java/xmlunit-assertj/xmlunit-assertj-2.9.1.ebuild new file mode 100644 index 000000000000..aff998df433d --- /dev/null +++ b/dev-java/xmlunit-assertj/xmlunit-assertj-2.9.1.ebuild @@ -0,0 +1,63 @@ +# 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-assertj:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="XMLUnit with AssertJ fluent API" +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-assertj" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" + +PROPERTIES="test_network" +RESTRICT="test" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} + dev-java/assertj-core:3 + dev-java/byte-buddy:0 + ~dev-java/xmlunit-core-${PV}:2 + test? ( + dev-java/hamcrest:0 + 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.assertj" +JAVA_CLASSPATH_EXTRA=" + assertj-core-3 + byte-buddy + xmlunit-core-2 +" +JAVA_SRC_DIR="src/main/java" + +# org.junit.runners.model.InvalidTestClassError: Invalid test class ' +JAVA_TEST_EXCLUDES="org.xmlunit.TestResources" +JAVA_TEST_GENTOO_CLASSPATH=" + 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 +} |