diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-09-04 13:21:49 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-20 02:07:55 +0000 |
commit | 5a68cd7bc22a76f113d7ae744d9d1b2064f9d7bf (patch) | |
tree | e1455c22bee1246fc830b0cf53317207b5d2e72d /dev-java/bnd-junit | |
parent | app-emulation/grub-xen-host: fix IncorrectCopyright (diff) | |
download | gentoo-5a68cd7bc22a76f113d7ae744d9d1b2064f9d7bf.tar.gz gentoo-5a68cd7bc22a76f113d7ae744d9d1b2064f9d7bf.tar.bz2 gentoo-5a68cd7bc22a76f113d7ae744d9d1b2064f9d7bf.zip |
dev-java/bnd-junit: limit virtual/{jre,jdk} to 1.8
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/22214
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/bnd-junit')
-rw-r--r-- | dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild b/dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild new file mode 100644 index 000000000000..3c659d744e29 --- /dev/null +++ b/dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Junit plugin for bndlib, a swiss army knife for OSGi" +HOMEPAGE="http://www.aqute.biz/Bnd/Bnd" +SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.REL.tar.gz -> bndlib-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CDEPEND=" + dev-java/osgi-core-api:0 + dev-java/bndlib:0" + +DEPEND=" + ${CDEPEND} + virtual/jdk:1.8 + test? ( dev-java/junit:4 )" + +RDEPEND=" + ${CDEPEND} + virtual/jre:1.8" + +S="${WORKDIR}/bnd-${PV}.REL/biz.aQute.junit" + +EANT_BUILD_TARGET="build" +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="bndlib,junit-4,osgi-core-api" + +# Tests appear broken and cause a circular dependency. +RESTRICT="test" + +src_prepare() { + default + java-pkg_clean + cp ../cnf/build.xml . || die +} + +src_install() { + java-pkg_newjar generated/biz.aQute.junit.jar +} |