diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-02-29 14:37:14 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-03-17 09:54:44 +0100 |
commit | f5f46c61f2fa8846eb7cc6674a3d7c90aa7c7742 (patch) | |
tree | 87edb6b6187b29ee8545d9658174cf3352cc9424 /dev-java/bnd-ant | |
parent | dev-java/bnd: new package, add 7.0.0 (diff) | |
download | gentoo-f5f46c61f2fa8846eb7cc6674a3d7c90aa7c7742.tar.gz gentoo-f5f46c61f2fa8846eb7cc6674a3d7c90aa7c7742.tar.bz2 gentoo-f5f46c61f2fa8846eb7cc6674a3d7c90aa7c7742.zip |
dev-java/bnd-ant: new package, add 7.0.0
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/35320/commits/bb5d40cd034196bd159a4b77dcc7be367db1f3b4
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/bnd-ant')
-rw-r--r-- | dev-java/bnd-ant/Manifest | 1 | ||||
-rw-r--r-- | dev-java/bnd-ant/bnd-ant-7.0.0.ebuild | 46 | ||||
-rw-r--r-- | dev-java/bnd-ant/metadata.xml | 10 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/bnd-ant/Manifest b/dev-java/bnd-ant/Manifest new file mode 100644 index 000000000000..a890570b45c8 --- /dev/null +++ b/dev-java/bnd-ant/Manifest @@ -0,0 +1 @@ +DIST aQute.bnd-7.0.0.tar.gz 172496438 BLAKE2B a2e443b0e4a2eb278a8e1df86456fea22ffb8147adc00c9f300cbd32b226218bb64ccca3da3bcd0d79b07567a7b4cf4456b96224d6abf59486fa08ca6170d0ba SHA512 11d34a7d1a9b2fb2e8c112d414a06c281ccde9a7b06c62043e19d83e85ea64fdf022dd4493a14dd2dcf6adee392a1e9bf1ab05a6d690a328f29d7019045bca8c diff --git a/dev-java/bnd-ant/bnd-ant-7.0.0.ebuild b/dev-java/bnd-ant/bnd-ant-7.0.0.ebuild new file mode 100644 index 000000000000..31d39dcbde50 --- /dev/null +++ b/dev-java/bnd-ant/bnd-ant-7.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="biz.aQute.bnd:biz.aQute.bnd.ant:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Bnd Ant Tasks" +HOMEPAGE="https://bnd.bndtools.org/" +SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.tar.gz -> aQute.bnd-${PV}.tar.gz" +S="${WORKDIR}/bnd-${PV}" + +LICENSE="Apache-2.0 EPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-java/ant:0 + dev-java/bnd:0 + >=virtual/jdk-17:*" +RDEPEND=">=virtual/jre-17:*" + +JAVA_AUTOMATIC_MODULE_NAME="biz.aQute.bnd.ant" +JAVA_CLASSPATH_EXTRA=" + ant + bnd +" + +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="biz.aQute.bnd.ant/src" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + mkdir res || die + + # java-pkg-simple wants resources in JAVA_RESOURCE_DIRS + pushd biz.aQute.bnd.ant/src > /dev/null || die + find -type f \ + ! -name '*.java' \ + | xargs cp --parent -t ../../res || die + popd > /dev/null || die +} diff --git a/dev-java/bnd-ant/metadata.xml b/dev-java/bnd-ant/metadata.xml new file mode 100644 index 000000000000..cb6317e530db --- /dev/null +++ b/dev-java/bnd-ant/metadata.xml @@ -0,0 +1,10 @@ +<?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> + <upstream> + <remote-id type="github">bndtools/bnd</remote-id> + </upstream> +</pkgmetadata> |