diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-07-05 13:09:45 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-07-05 13:20:35 +0200 |
commit | 9cffe6007d8dced388a5b19ded26c6a691ca2e33 (patch) | |
tree | cc3d476532e914773e606a1d31461313e6039708 /dev-java/ant-junit4 | |
parent | dev-java/ant-junitlauncher: bump to 1.10.8 (diff) | |
download | gentoo-9cffe6007d8dced388a5b19ded26c6a691ca2e33.tar.gz gentoo-9cffe6007d8dced388a5b19ded26c6a691ca2e33.tar.bz2 gentoo-9cffe6007d8dced388a5b19ded26c6a691ca2e33.zip |
dev-java/ant-junit4: bump to 1.10.8
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/ant-junit4')
-rw-r--r-- | dev-java/ant-junit4/Manifest | 2 | ||||
-rw-r--r-- | dev-java/ant-junit4/ant-junit4-1.10.8.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-java/ant-junit4/Manifest b/dev-java/ant-junit4/Manifest index f5b5cdc72b9f..400ef9f3de52 100644 --- a/dev-java/ant-junit4/Manifest +++ b/dev-java/ant-junit4/Manifest @@ -1,2 +1,4 @@ DIST ant-1.10.7-gentoo.tar.bz2 6686 BLAKE2B 77e5850b68ab079f26722b5b2ff1afb29a35197afb79f80ae2f775855e2d8f3a478324b1175e9a73695b4e6a6798bf4458dc84d2f763a1d72c331505d31303ea SHA512 f5c5a2ea99a780413a71799d56e783f3ac861169bd7f29c3a85d039f61240abb91ed223eeb111c67a6a1328a6cf2203d7cbf93ad762e49bc11f9a948e7f2091c +DIST ant-1.10.8-gentoo.tar.bz2 6674 BLAKE2B da52696eb20d74f6c3d36bd57c60927d9044b637ff9de175695d57596ae2e747db509cbde7ec862f9e99f2cee564803232e0edd0755f931dc070b150c4e38b21 SHA512 de14a55105888bc30921418c0e6ef5dac340d3d02bfab35ca7a62021505df94e71fc05eb864ffc276add5a2fce483338fe2cf02fcc04e693bb5b709c6b080490 DIST apache-ant-1.10.7-src.tar.bz2 4530166 BLAKE2B 6998fffbda6a0adbe3434ef0013b3e669ec8f15a09d9a5917509733f3232a538e9be83758b9eacccd673522812a8d482e1fd526d5493634d9c08759f47bfc7a7 SHA512 5849e81aa037b9ba7f4e67057a0cde50301d183fc244673c7f11e34997b11d21c33306c07ab820bf60d454afa8ad5b159c3442427c8cb5403896f29ed179b10d +DIST apache-ant-1.10.8-src.tar.bz2 4848256 BLAKE2B bd0668e5592c6d2e77233dcffbf2311f9b072f60e7a0c2d5b1a0a6567fc015e1fda46caf1c6c2a3a6730df561f87a8477e0df54a12eeab866cd8d4cb8b2d1f7e SHA512 15563c339298dc576ffb0fb59858bed5f6deabb519ad3f5237e465e6dffd5307bb86fc120f7d7893332936b9f767c47e522cdd1da809b599ceec0070dcb20338 diff --git a/dev-java/ant-junit4/ant-junit4-1.10.8.ebuild b/dev-java/ant-junit4/ant-junit4-1.10.8.ebuild new file mode 100644 index 000000000000..5dcdbe73523e --- /dev/null +++ b/dev-java/ant-junit4/ant-junit4-1.10.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ANT_TASK_JDKVER=1.8 +ANT_TASK_JREVER=1.8 +ANT_TASK_DEPNAME="junit-4" + +inherit ant-tasks + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +DEPEND="dev-java/junit:4 + ~dev-java/ant-junit-${PV}" + +RDEPEND="${DEPEND}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="junit-4,ant-junit" + +src_prepare() { + default + + java-pkg_jar-from --build-only --into "${S}/lib" ant-junit +} + +src_install() { + # No registration as ant-task, would be loaded together with ant-junit. + java-pkg_dojar build/lib/ant-junit4.jar + + # As we dont't want to depend on and-junit in package.env, because it depends + # on junit:0. Instead, we "steal" its jar and record it to our package.env as + # if it belongs to this package's classpath. + java-pkg_getjar --build-only ant-junit ant-junit.jar + java-pkg_regjar $(java-pkg_getjar --build-only ant-junit ant-junit.jar) +} |