diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-09 10:40:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-09 10:40:04 +0100 |
commit | b426a5cef3f0ebe3389686a1c145a834d3a1e120 (patch) | |
tree | eee77f741af6979f620416c573e5203eab81c9c3 /dev-java/system-rules | |
parent | 97b176c73aa78bd33234884388e3978f520161c3 (diff) |
gentoo auto-resync : 09:09:2022 - 10:40:04
Diffstat (limited to 'dev-java/system-rules')
-rw-r--r-- | dev-java/system-rules/Manifest | 3 | ||||
-rw-r--r-- | dev-java/system-rules/metadata.xml | 7 | ||||
-rw-r--r-- | dev-java/system-rules/system-rules-1.19.0.ebuild | 58 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-java/system-rules/Manifest b/dev-java/system-rules/Manifest new file mode 100644 index 000000000000..bfee5388beda --- /dev/null +++ b/dev-java/system-rules/Manifest @@ -0,0 +1,3 @@ +DIST system-rules-1.19.0.tar.gz 76900 BLAKE2B a9f9be08b930632a72af0ee851f17da875d42a08c3187b435c06dd5553afb629e41d06d87c423fecd7ea665197be19a53955e9880617aff7175310bcc2b2735d SHA512 6238a9673456977f6a2bc129f30849460954816bb4e1927f37b9c5b01f322d966c77d5a4eda9e1f0f24e51879d1946d0e121e5432b809793a9b95cb49ee35bdb +EBUILD system-rules-1.19.0.ebuild 1708 BLAKE2B ca7afca9976e007214e79cdac8cb019733455950ed2187f6a7007e1fc68b72cdd73b9db9690da8e5e0814c98ea93a7efeb295ca668dcb84dec2155643fec137c SHA512 130833490d6ddbdafef55229eddee6f662ef8525aa6942c05351acff310f7fd1efdd96f05ffbce7862bd705ebec1d1b9e3ee6b62791f1a2e6012487ff2a41311 +MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/system-rules/metadata.xml b/dev-java/system-rules/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/system-rules/metadata.xml @@ -0,0 +1,7 @@ +<?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> +</pkgmetadata> diff --git a/dev-java/system-rules/system-rules-1.19.0.ebuild b/dev-java/system-rules/system-rules-1.19.0.ebuild new file mode 100644 index 000000000000..e606eb666462 --- /dev/null +++ b/dev-java/system-rules/system-rules-1.19.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/stefanbirkner/system-rules/archive/system-rules-1.19.0.tar.gz --slot 0 --keywords "~amd64" --ebuild system-rules-1.19.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.github.stefanbirkner:system-rules:1.19.0" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A collection of JUnit rules for testing code which uses java.lang.System." +HOMEPAGE="https://stefanbirkner.github.io/system-rules/" +SRC_URI="https://github.com/stefanbirkner/${PN}/archive/${P}.tar.gz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64" + +# Common dependencies +# POM: pom.xml +# junit:junit-dep:[4.9,) -> !!!artifactId-not-found!!! + +CP_DEPEND="dev-java/junit:4" + +# Compile dependencies +# POM: pom.xml +# test? com.github.stefanbirkner:fishbowl:1.4.0 -> >=dev-java/fishbowl-1.4.1:0 +# test? commons-io:commons-io:2.4 -> >=dev-java/commons-io-2.11.0:1 +# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2 +# test? org.mockito:mockito-core:1.10.19 -> >=dev-java/mockito-4.4.0:4 + +# Restricting to jdk:1.8 since it doesn't work with java 11 or higher. +DEPEND=" + virtual/jdk:1.8 + ${CP_DEPEND} + test? ( + dev-java/assertj-core:3 + dev-java/commons-io:1 + dev-java/fishbowl:0 + dev-java/mockito:4 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND}" + +S="${WORKDIR}/${PN}-${P}" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="fishbowl,commons-io-1,assertj-core-3,mockito-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" |