diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
commit | 463397cf1e064185110fe57c568d73f99a06f5d1 (patch) | |
tree | 9aa75eefc5154eaf0e3c33658b830fc54dc68052 /dev-java | |
parent | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff) |
gentoo resync : 17.02.2021
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 86476 -> 86473 bytes | |||
-rw-r--r-- | dev-java/junit/Manifest | 2 | ||||
-rw-r--r-- | dev-java/junit/junit-4.13.1.ebuild | 54 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 23b07e7c64b9..7ed21ce7767b 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/junit/Manifest b/dev-java/junit/Manifest index 154bb45d3c5c..02edd95a2eea 100644 --- a/dev-java/junit/Manifest +++ b/dev-java/junit/Manifest @@ -1,5 +1,7 @@ DIST junit3.8.2.zip 461426 BLAKE2B 8fbef1ccdf7f71c611976d63f45838f4cb2564da5f5064e7abc39931a3c99039a40660093aba2cc3c70af761171125f434c16c52021226f2e92fdf23597dbf25 SHA512 f203332ccc2bdc38c683a95bdbe448f38cbfbeea81ecc431bf9ebf0a3292f0150fcfe5cd5dd6da481be034366820f95775a33581931aed9e4cc12a6ff27e3930 DIST junit4-r4.12.tar.gz 443804 BLAKE2B b36248266eb83d8f2dfb1c525f635a4fce5a46c6042652ef27a5d405b83c471848edf83e799a4d1e950d83e127caa288f453edf19959a9a8aa5a9e26eeb4e771 SHA512 ba612598fa6c328e8f4bbea3afda08b459a110837ca3805a62e811535f7bca8d04509f8fe51a413c7bc855fccee35d6946c9eece4dd01726d12454c002a4de32 +DIST junit4-r4.13.1.tar.gz 1072560 BLAKE2B d7a8ecf804f83461c281a494c1ad85e6797af64fd1344ba41a919a2783c28fc7c36b6c85984aaff66d41a99fde0141532be2e9bb00f3f53ae467f6dbde937f4a SHA512 a4c284f756916077100181af1dd8c0febdc855e21ea600366e5fda3904919ec2c4a5e828961c322f080f177eb53485c9ad01bfc65c7489a741be63c96cd472bb EBUILD junit-3.8.2-r2.ebuild 813 BLAKE2B ac6f190e677782fa64b444fd8bed9075de0931cc6486b9d348df6d3b4a542502a841176d316257d638c1ecf3bf61a182c150ca2800bbaf012ee63301647138a3 SHA512 f3af904c6e1273ef937a892380187e90ae49a35c2f15754d720fe02000f479a009120e29733ea33ae42d35ee29bdc93fdc7aff7d45a925a305c9179242f7cfa0 EBUILD junit-4.12-r1.ebuild 1449 BLAKE2B 0b2be1b853ec60b066bf90501e9d15457f007b9508ca5063c57eec54b0f338453f4d2b0e2ecf8096971d27c881da2e4ce016c405cb4b39b13a275ae34f2da727 SHA512 d9a6566c011cb81a82918fc6053265b486a0a362a148a1c555b18f48c4aa680addb7a7387a533d37e4340e7f0f27ae65037997bbc9678bb8e72394eebdea8bf1 +EBUILD junit-4.13.1.ebuild 1453 BLAKE2B f5955da17e123556f255bdbed28597ffac5ff603abc6e44653e1d8b875d4d8f1054f2072be7f3c95a13d8d6147c654d204d13fda0132cd46a827b7180e240d33 SHA512 0cb25e915a75a8b7fb922e0be60bfb9e4f490080c98b8c395426d63e128338aa3258ed9d3bbd9eff47f3aa747334becf3b2352b824eadd2e7766e22984986f02 MISC metadata.xml 367 BLAKE2B 7cd798ae028c83275e61522be10a35abba419a823042be242ee7fdf7e0ccfc978e817affaaf154b8d0723f502499f17bb81b0622fa493dc812b82ad23dfa647b SHA512 44e492dfaaa9faf54f4aaf420d5816da8d117951d6a52e37c76a9e533fcefbeaa3c44bafa4d525f878deb3af2b7f426e72a62b16464e85ce9690c61b1f0da71f diff --git a/dev-java/junit/junit-4.13.1.ebuild b/dev-java/junit/junit-4.13.1.ebuild new file mode 100644 index 000000000000..d96833a1236d --- /dev/null +++ b/dev-java/junit/junit-4.13.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN}${PV%%.*}" +MY_P="${MY_PN}-r${PV}" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Simple framework to write repeatable tests" +SRC_URI="https://github.com/${PN}-team/${MY_PN}/archive/r${PV}.tar.gz -> ${MY_P}.tar.gz" +HOMEPAGE="http://junit.org/" +LICENSE="EPL-1.0" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="examples" + +CDEPEND="dev-java/hamcrest-core:1.3" + +RDEPEND=">=virtual/jre-1.8 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.8 + ${CDEPEND}" + +S="${WORKDIR}/${MY_P}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3" + +java_prepare() { + rm -v lib/*.jar || die +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar src/main/resources +} + +src_install() { + java-pkg-simple_src_install + dodoc {acknowledgements,{LEGACY_,}CODING_STYLE,NOTICE,to-do}.txt {CONTRIBUTING,README,doc/ReleaseNotes${PV}}.md + use examples && java-pkg_doexamples src/test/java/org/junit/samples +} + +src_test() { + cd src/test/java || die + + local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})" + + ejavac -cp "${CP}" -d . $(find * -name "*.java") + java -cp "${CP}" -Djava.awt.headless=true org.junit.runner.JUnitCore junit.tests.AllTests || die "Running junit failed" +} |