mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/xmlunit-matchers: new package, add 2.9.1
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/26258 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
committed by
Miroslav Šulc
parent
3a749f9446
commit
8e644b133c
1
dev-java/xmlunit-matchers/Manifest
Normal file
1
dev-java/xmlunit-matchers/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST xmlunit-2.9.1-src.tar.gz 681721 BLAKE2B 8e8d40e79890d9bec2a3a72a9931cba1c832438e713eb290867a2d95d3ca5a8092327611998075cf1e0117b747563f178b52f3c6435fc0f57c08a94d7240d104 SHA512 147c3868098b526895059b12a1cb692d774f4734fac94069e72a8c61109f8a3bfd7846d7f2596bf7c10dfb1a379185f73a4a0066076fc64a8577b90da8623acf
|
||||
10
dev-java/xmlunit-matchers/metadata.xml
Normal file
10
dev-java/xmlunit-matchers/metadata.xml
Normal file
@@ -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>
|
||||
61
dev-java/xmlunit-matchers/xmlunit-matchers-2.9.1.ebuild
Normal file
61
dev-java/xmlunit-matchers/xmlunit-matchers-2.9.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user