diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-01-01 13:54:25 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-01-23 10:42:34 +0100 |
commit | b7939b18e74890a4d3599ff678de634be85c263d (patch) | |
tree | 08de54bc9ba0d7d7b0e0fc7e098db1e85bee2a75 /dev-java/xmlunit | |
parent | dev-java/commons-httpclient: add 3.1-r3 for >=dev-java/ant-1.10.14 (diff) | |
download | gentoo-b7939b18e74890a4d3599ff678de634be85c263d.tar.gz gentoo-b7939b18e74890a4d3599ff678de634be85c263d.tar.bz2 gentoo-b7939b18e74890a4d3599ff678de634be85c263d.zip |
dev-java/xmlunit: add 1.6-r2 for >=dev-java/ant-1.10.14
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/xmlunit')
-rw-r--r-- | dev-java/xmlunit/xmlunit-1.6-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/xmlunit/xmlunit-1.6-r2.ebuild b/dev-java/xmlunit/xmlunit-1.6-r2.ebuild new file mode 100644 index 000000000000..8a68f91459c6 --- /dev/null +++ b/dev-java/xmlunit/xmlunit-1.6-r2.ebuild @@ -0,0 +1,43 @@ +# 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="xmlunit:xmlunit:1.6" +JAVA_TESTING_FRAMEWORKS="junit" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML" +HOMEPAGE="https://sourceforge.net/projects/xmlunit/ https://www.xmlunit.org" +SRC_URI="mirror://sourceforge/project/xmlunit/xmlunit%20for%20Java/XMLUnit%20for%20Java%20${PV}/${P}-src.zip" +S="${WORKDIR}/${P}" + +LICENSE="BSD" +SLOT="1" +KEYWORDS="~amd64 ~arm64" + +BDEPEND="app-arch/unzip" +CP_DEPEND="dev-java/junit:0" +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + doc? ( app-text/docbook-xsl-stylesheets:0 ) + test? ( >=dev-java/ant-1.10.14:0[junit] ) +" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/java" +JAVA_TEST_EXTRA_ARGS=( -Dbasedir="." ) +JAVA_TEST_RESOURCE_DIRS="tests/etc" +JAVA_TEST_SRC_DIR="tests/java" + +src_install() { + java-pkg-simple_src_install + if use doc; then + docinto html + dodoc -r userguide + fi +} |