diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-java/xmlunit-core | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-java/xmlunit-core')
| -rw-r--r-- | dev-java/xmlunit-core/Manifest | 3 | ||||
| -rw-r--r-- | dev-java/xmlunit-core/metadata.xml | 8 | ||||
| -rw-r--r-- | dev-java/xmlunit-core/xmlunit-core-2.11.0.ebuild | 45 | ||||
| -rw-r--r-- | dev-java/xmlunit-core/xmlunit-core-2.9.1.ebuild | 57 |
4 files changed, 113 insertions, 0 deletions
diff --git a/dev-java/xmlunit-core/Manifest b/dev-java/xmlunit-core/Manifest new file mode 100644 index 000000000000..24044c31cc53 --- /dev/null +++ b/dev-java/xmlunit-core/Manifest @@ -0,0 +1,3 @@ +DIST xmlunit-2.9.1-src.tar.gz 681721 BLAKE2B 8e8d40e79890d9bec2a3a72a9931cba1c832438e713eb290867a2d95d3ca5a8092327611998075cf1e0117b747563f178b52f3c6435fc0f57c08a94d7240d104 SHA512 147c3868098b526895059b12a1cb692d774f4734fac94069e72a8c61109f8a3bfd7846d7f2596bf7c10dfb1a379185f73a4a0066076fc64a8577b90da8623acf +DIST xmlunit-core-2.11.0.tar.gz 351663 BLAKE2B 087f0d9cc4dfe7d0a994843bb1c7c4a53a7acf6a81eb3cad8fbcd3cb394461d4e93c384763775cda70b7eec13927a5c604f82142290418d7c5e63331da46d4ac SHA512 0f75df4908294e82b5e8405a35f4c62157658bc972fc783a9448668e7a204f5f6a0dff6793f2938ca439d7c582b2fecd5d47219e85e2cb8f31a4d063149e9417 +DIST xmlunit-test-resources-2.11.0.tar.gz 7258 BLAKE2B fd851b1fd9e83c2f449a8332f273c2ae6dd4df5b77b728c452f179d92bc3a24a7dcaa5b5a3b77740817e3b5c8a8513c421f4f4dc47a03160172d5cfb430a6823 SHA512 335cea74739b14e40c33a6e4899108507fb4ba599d1542874e4c165fb459e5d574de26709b3f97dfedd42e73afffc0b31799b3ffe83297ddd0951a9a5e817d4a diff --git a/dev-java/xmlunit-core/metadata.xml b/dev-java/xmlunit-core/metadata.xml new file mode 100644 index 000000000000..1f5997cfad3e --- /dev/null +++ b/dev-java/xmlunit-core/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-java/xmlunit-core/xmlunit-core-2.11.0.ebuild b/dev-java/xmlunit-core/xmlunit-core-2.11.0.ebuild new file mode 100644 index 000000000000..e6688c9fa5cd --- /dev/null +++ b/dev-java/xmlunit-core/xmlunit-core-2.11.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +TEST="67a7aa5ac345fa46bfcb5fc1154ed14807e3f87d" + +DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML" +HOMEPAGE="https://sourceforge.net/projects/xmlunit/ https://www.xmlunit.org" +SRC_URI="https://github.com/xmlunit/xmlunit/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/xmlunit/test-resources/archive/${TEST}.tar.gz -> xmlunit-test-resources-${PV}.tar.gz )" +S="${WORKDIR}/xmlunit-${PV}/xmlunit-core" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 ppc64" + +DEPEND=" + >=dev-java/jaxb-api-2.3.3-r2:2 + >=virtual/jdk-1.8:* + test? ( + >=dev-java/asm-9.9:0 + >=dev-java/byte-buddy-1.17.8:0 + >=dev-java/hamcrest-3.0:0 + >=dev-java/jaxb-runtime-2.3.8:2 + >=dev-java/mockito-5.20.0:0 + ) +" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_CLASSPATH_EXTRA="jaxb-api-2" +JAVA_SRC_DIR="src/main/java" +JAVA_TEST_EXCLUDES=( org.xmlunit.TestResources ) # org.junit.runners.model.InvalidTestClassError: Invalid test class +JAVA_TEST_GENTOO_CLASSPATH="asm byte-buddy hamcrest jaxb-runtime-2 junit-4 mockito" +JAVA_TEST_SRC_DIR="src/test/java" + +src_test() { + mv "${WORKDIR}/test-resources-${TEST}"/* ../test-resources || die + java-pkg-simple_src_test +} diff --git a/dev-java/xmlunit-core/xmlunit-core-2.9.1.ebuild b/dev-java/xmlunit-core/xmlunit-core-2.9.1.ebuild new file mode 100644 index 000000000000..bae2207ea362 --- /dev/null +++ b/dev-java/xmlunit-core/xmlunit-core-2.9.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 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-core:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="XMLUnit for Java" +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-core" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="amd64 arm64 ppc64" + +CP_DEPEND=" + dev-java/jaxb-api:2 +" + +DEPEND=" + >=virtual/jdk-1.8:* + dev-java/jaxb-runtime:2 + ${CP_DEPEND} + test? ( + dev-java/hamcrest:0 + dev-java/istack-commons-runtime: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" +JAVA_CLASSPATH_EXTRA="jaxb-runtime-2" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_EXCLUDES=( + # org.junit.runners.model.InvalidTestClassError: Invalid test class + org.xmlunit.TestResources +) +JAVA_TEST_GENTOO_CLASSPATH=" + hamcrest + istack-commons-runtime-3 + junit-4 + mockito-4 +" +JAVA_TEST_SRC_DIR="src/test/java" |
