summaryrefslogtreecommitdiff
path: root/dev-java/bndlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-30 17:04:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-30 17:04:14 +0000
commitb34c45ec12e8676abfa39cddcf3448ac2bee1574 (patch)
tree9587fa672dfdc5a5f761d15c9689d2aca8d521b0 /dev-java/bndlib
parent18a69c52453e0db481bfa441cf1d9616c97c9928 (diff)
gentoo auto-resync : 30:11:2023 - 17:04:14
Diffstat (limited to 'dev-java/bndlib')
-rw-r--r--dev-java/bndlib/Manifest4
-rw-r--r--dev-java/bndlib/bndlib-7.0.0.ebuild55
-rw-r--r--dev-java/bndlib/metadata.xml13
3 files changed, 64 insertions, 8 deletions
diff --git a/dev-java/bndlib/Manifest b/dev-java/bndlib/Manifest
index ba02a60603a9..f38297656a6b 100644
--- a/dev-java/bndlib/Manifest
+++ b/dev-java/bndlib/Manifest
@@ -1,3 +1,5 @@
+DIST aQute.bnd-7.0.0.tar.gz 172496438 BLAKE2B a2e443b0e4a2eb278a8e1df86456fea22ffb8147adc00c9f300cbd32b226218bb64ccca3da3bcd0d79b07567a7b4cf4456b96224d6abf59486fa08ca6170d0ba SHA512 11d34a7d1a9b2fb2e8c112d414a06c281ccde9a7b06c62043e19d83e85ea64fdf022dd4493a14dd2dcf6adee392a1e9bf1ab05a6d690a328f29d7019045bca8c
DIST bndlib-2.1.0.tar.gz 123217291 BLAKE2B ab8e6876b13db538746f77aa1fe7800e5a3b5e539e1980da78f69c64344f4964bf0a21f2329f7684b055d0de39a10c8df36e030922e9933b29fccb9a35aa669a SHA512 6965143ced45c15fc2316716de32e80506cc411d52309b24313fff37e0713a45ad200d5b3701f0d47a131a3163ec266ed8acb4544884cd1c59c9716c7a2b285e
EBUILD bndlib-2.1.0-r1.ebuild 1642 BLAKE2B 948acbc0eb4e1057bb3194eb752f130075f8ab4c0f028a2bf539278c8541418da0e334ee1a200adc22c54253a7f381fbfb5ae1afff63d7659a00816e73dd0c86 SHA512 a0482c53b21aa4739c484228b7497f84530c619777aa158386f7896daa046be3cd3ab3dc2248b1efc0ca51d3e01d5537dc66e4e2e69819603aa1fa6b4412be0a
-MISC metadata.xml 324 BLAKE2B 4abc17608a568a12af96dc0ddb7b82d55341ad891537e120633fd8517e09a339d805325988f3208050cde9b20aeb0a4dcab95e55ba13c66854a0d90b0e54551c SHA512 e9e23c794433024b0888c2d5859120c0ef39cd6b55df99035c3ea1761280bd4287fdeb4aaf8ff067bab1bea80dcdcc9060f74b43b1a6a004bad87eb69a9bd3c3
+EBUILD bndlib-7.0.0.ebuild 1253 BLAKE2B 2847c5c1e687e79efed39bb75a9fe2dad8fff8641bc6de8fae415c73b58a823ca33d47a29aebcbf2d7ecc833eb74a4cd54fce9a58d2850bbcddc541694e2e871 SHA512 a9dba8a76d92903bc985d5e67c30bc1d32f5cef038dc2ba3f8d2267ff2a0a0bef416f89424604413a893e74012ff8ea7143b249ccf18fd90c9adde46ac24696a
+MISC metadata.xml 294 BLAKE2B 66837ec99fde5f758bfca40e387481d9e99d8ea6c520b4ec74fd83cf51670aa2626277f231fb6e0159495da497d8c74725ec18fa2d09d4fc1223e0e84a13f58a SHA512 e79f2bc0d9b0e9981f3688d97299a4897f453695dbeebb6bd44e93706bb19e6b2542d3d89cc8f222cf353604bf47b6134ab8f67bb070650a558736a9ff5e6cc4
diff --git a/dev-java/bndlib/bndlib-7.0.0.ebuild b/dev-java/bndlib/bndlib-7.0.0.ebuild
new file mode 100644
index 000000000000..2e73c25414dd
--- /dev/null
+++ b/dev-java/bndlib/bndlib-7.0.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 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.bndlib:${PV}"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="bndlib: A Swiss Army Knife for OSGi"
+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"
+
+CP_DEPEND="
+ ~dev-java/bnd-annotation-${PV}:0
+ ~dev-java/bnd-util-${PV}:0
+ ~dev-java/libg-${PV}:0
+ dev-java/osgi-annotation:0
+ dev-java/osgi-cmpn:8
+ dev-java/osgi-core:0
+ dev-java/slf4j-api:0
+"
+
+DEPEND="${CP_DEPEND}
+ dev-java/osgi-service-log:0
+ >=virtual/jdk-17:*
+"
+
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-17:*
+"
+
+JAVA_AUTOMATIC_MODULE_NAME="biz.aQute.bndlib"
+JAVA_CLASSPATH_EXTRA="osgi-service-log"
+JAVA_RESOURCE_DIRS="res"
+JAVA_SRC_DIR="biz.aQute.bndlib/src"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ mkdir res || die
+
+ # java-pkg-simple wants resources in JAVA_RESOURCE_DIRS
+ mv biz.aQute.bndlib/img res || die
+ pushd biz.aQute.bndlib/src > /dev/null || die
+ find -type f \
+ ! -name '*.java' \
+ | xargs cp --parent -t ../../res || die
+ popd > /dev/null || die
+}
diff --git a/dev-java/bndlib/metadata.xml b/dev-java/bndlib/metadata.xml
index 94feb65b0b18..cb6317e530db 100644
--- a/dev-java/bndlib/metadata.xml
+++ b/dev-java/bndlib/metadata.xml
@@ -1,11 +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>
- <name>Java</name>
- </maintainer>
- <upstream>
- <remote-id type="github">bndtools/bnd</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bndtools/bnd</remote-id>
+ </upstream>
</pkgmetadata>