dev-java/xmlunit-core: add 2.11.0

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/44266
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki 2025-10-26 12:35:12 +01:00 committed by Miroslav Šulc
parent 5e4d9d27ce
commit 58d85c335d
No known key found for this signature in database
GPG Key ID: 65D0F770B26B469C
2 changed files with 47 additions and 0 deletions

View File

@ -1 +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

View File

@ -0,0 +1,45 @@
# Copyright 1999-2025 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"
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
}