summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-04 23:01:41 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-04 23:01:41 +0000
commitb3bfc7186e4f820493aa2eb8cc65f0efba7ed6f6 (patch)
treee60d25f1e0a33dacce9044e179c8dc93f596bb2a /dev-java
parent4c552e09a1ece7792f2a20ccf4322348acbe3139 (diff)
gentoo auto-resync : 04:12:2023 - 23:01:41
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin58822 -> 59499 bytes
-rw-r--r--dev-java/concurrentlinkedhashmap-lru/Manifest3
-rw-r--r--dev-java/concurrentlinkedhashmap-lru/concurrentlinkedhashmap-lru-1.4.2.ebuild36
-rw-r--r--dev-java/concurrentlinkedhashmap-lru/metadata.xml10
-rw-r--r--dev-java/eclipse-jdt-annotation/Manifest3
-rw-r--r--dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.30.ebuild24
-rw-r--r--dev-java/eclipse-jdt-annotation/metadata.xml10
-rw-r--r--dev-java/osgi-service-subsystem/Manifest3
-rw-r--r--dev-java/osgi-service-subsystem/metadata.xml7
-rw-r--r--dev-java/osgi-service-subsystem/osgi-service-subsystem-1.1.0.ebuild32
-rw-r--r--dev-java/parboiled/Manifest3
-rw-r--r--dev-java/parboiled/metadata.xml11
-rw-r--r--dev-java/parboiled/parboiled-1.4.1.ebuild68
13 files changed, 210 insertions, 0 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index 96d76d990b5f..d292b31e399d 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/concurrentlinkedhashmap-lru/Manifest b/dev-java/concurrentlinkedhashmap-lru/Manifest
new file mode 100644
index 000000000000..1bfc74fa006f
--- /dev/null
+++ b/dev-java/concurrentlinkedhashmap-lru/Manifest
@@ -0,0 +1,3 @@
+DIST concurrentlinkedhashmap-lru-1.4.2.tar.gz 245357 BLAKE2B ac743e2be30195f171154c179ac1b4a6bc6b563b080555c664cdd57fc30d083525f03a8367a891e1087623d455adef27c7ff7416b5c8523c01fc3d5ef775a185 SHA512 95f33cdeb2e3e65be0fa26a825339c4c60eb830e07895fbae731103ef14a9599137f8fad18f9b0a582ec2552ccc1391f5d0338837395e35c1d28de977614a199
+EBUILD concurrentlinkedhashmap-lru-1.4.2.ebuild 1096 BLAKE2B 8b5b1445c0cb2389353ebc89a489f41e73c0af6254abf64dfd7d494c30b6050005b9adff11ac1ebeb90bab8a039ad7ae105127b311801680efb414fd93917b80 SHA512 28cb6c2488bd864014c17128cce30a47a44bafde2d5f5def8ae5c14c4961005fa525561bab025adb49c032997dbb5de4673249bf3e23df88cc79b0c6da2c96da
+MISC metadata.xml 315 BLAKE2B 4a03ef6a757f60cf3a2bc64721cac9897368f5e8f90aae1e7f004e41b73556638972d558fd9836fd2d0c23a9fb6d2936f9e6d0949640bd8c22a709d17c4d4112 SHA512 56f0900b6b983eb74bdb47b071a4e76842bd57e58cba5b7149ebc3f351b8087d64bf04cfa97c510827ead7d556f22745ec58dc87bffaa3dd7aee3520acd456f2
diff --git a/dev-java/concurrentlinkedhashmap-lru/concurrentlinkedhashmap-lru-1.4.2.ebuild b/dev-java/concurrentlinkedhashmap-lru/concurrentlinkedhashmap-lru-1.4.2.ebuild
new file mode 100644
index 000000000000..1cc5901e7454
--- /dev/null
+++ b/dev-java/concurrentlinkedhashmap-lru/concurrentlinkedhashmap-lru-1.4.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:${PV}"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A high performance version of java.util.LinkedHashMap for use as software cache"
+HOMEPAGE="https://github.com/ben-manes/concurrentlinkedhashmap"
+SRC_URI="https://github.com/ben-manes/concurrentlinkedhashmap/archive/${P}.tar.gz"
+S="${WORKDIR}/${PN%lru}${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CP_DEPEND="dev-java/jsr305:0"
+
+RDEPEND=">=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+DEPEND=">=virtual/jdk-1.8:*
+ ${CP_DEPEND}"
+
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ # https://github.com/ben-manes/concurrentlinkedhashmap/issues/46#issuecomment-160696203
+ rm src/main/java/com/googlecode/concurrentlinkedhashmap/ConcurrentHashMapV8.java || die
+ sed \
+ -e 's/ConcurrentHashMapV8/ConcurrentHashMap/' \
+ -i src/main/java/com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.java || die
+}
diff --git a/dev-java/concurrentlinkedhashmap-lru/metadata.xml b/dev-java/concurrentlinkedhashmap-lru/metadata.xml
new file mode 100644
index 000000000000..fe2d156a4574
--- /dev/null
+++ b/dev-java/concurrentlinkedhashmap-lru/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">ben-manes/concurrentlinkedhashmap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/eclipse-jdt-annotation/Manifest b/dev-java/eclipse-jdt-annotation/Manifest
new file mode 100644
index 000000000000..f9c997a8ca7a
--- /dev/null
+++ b/dev-java/eclipse-jdt-annotation/Manifest
@@ -0,0 +1,3 @@
+DIST eclipse.jdt.core-4.30.tar.gz 13729445 BLAKE2B 9458ec92e3561d42505a602bb637c678c99b1997e2ba530048298d587cad9861066233e7f8e4b1cb22fd30ce50159aabc4e12295fb8231cc8840cdaac4f967a7 SHA512 b51c3ccc098b9100ad653baec7bbff108344ff0402de1cbb7e0f75d97c7b5b64a9746bc7b7f2faee8126bbb5a5f421fe7c54c428cc6403662626f4a566a9ead5
+EBUILD eclipse-jdt-annotation-4.30.ebuild 739 BLAKE2B 13a0ea4893569890160f89219ec068cd97ff705cb817f920a0a28a07607414fe9fd388c83b87e540b65f79b8d231af7394cf84c55807d2066e81f37d4fdcec66 SHA512 9a8b02d1eea46a2deeb9481ccfa9bd7918566e04fddaa339ce686998e3b29619de23a8b5ca296c7b67523281eb5c669943131073720315b4d6807ee0df89cd72
+MISC metadata.xml 310 BLAKE2B 29308536ca2425cd398a48672d754ed3e5eb81da2236c56eb21dd63a8f37fdfd5cd71cc0c84aa71453abc96b373bade0317c16b88c2cf37c16f9f8a18f673bf6 SHA512 edc08520c54c50fff2e053508d0612a3ce2aab545ea71d16efc14598f57352673f901f1680bd83ad0890415450dc204222f96d441aa18ef85c5008f816e625db
diff --git a/dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.30.ebuild b/dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.30.ebuild
new file mode 100644
index 000000000000..f21d16d11598
--- /dev/null
+++ b/dev-java/eclipse-jdt-annotation/eclipse-jdt-annotation-4.30.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.eclipse.jdt:org.eclipse.jdt.annotation:2.2.800"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JDT Annotations for Enhanced Null Analysis"
+HOMEPAGE="https://projects.eclipse.org/projects/eclipse.jdt"
+SRC_URI="https://github.com/eclipse-jdt/eclipse.jdt.core/archive//R${PV//./_}.tar.gz -> eclipse.jdt.core-${PV}.tar.gz"
+S="${WORKDIR}/eclipse.jdt.core-R${PV//./_}/org.eclipse.jdt.annotation"
+
+LICENSE="EPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.eclipse.jdt.annotation"
diff --git a/dev-java/eclipse-jdt-annotation/metadata.xml b/dev-java/eclipse-jdt-annotation/metadata.xml
new file mode 100644
index 000000000000..7ac29f83dafb
--- /dev/null
+++ b/dev-java/eclipse-jdt-annotation/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">eclipse-jdt/eclipse.jdt.core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/osgi-service-subsystem/Manifest b/dev-java/osgi-service-subsystem/Manifest
new file mode 100644
index 000000000000..3a2a1ec643ec
--- /dev/null
+++ b/dev-java/osgi-service-subsystem/Manifest
@@ -0,0 +1,3 @@
+DIST osgi-service-subsystem-1.1.0-sources.jar 24552 BLAKE2B a69fc49b88aa43baa5f56a94a4d8dc55f7ef596a4a39b86f68c652bf02f878c51a25a15cc0bad5f38b23f644137c2082011f8fd3658185ab068ea8bdd551a3d3 SHA512 d0ed0c99525d0860c24b3783902230fc05ccd830a22c16a355d7d6e851919caa64bd23082fcd5f9ebf939b4e1b86e8e52225343401552a89f1e6c1d5892fd162
+EBUILD osgi-service-subsystem-1.1.0.ebuild 678 BLAKE2B 1ff7369761d3c686b4a4d5723a7ee8a765a882f5c5a9d702c3045f705322f87a0bc4482229ed7e73fe43ccc597428b7f9fc38a3a54ea4ebc28a8996fd4c4a769 SHA512 de3f0454e7eb1f11bb30625a68a9b352dd5215c8779bad00a00eadda2312e773fc422107c5229b754ebe11ff3f6b0d99252d894315cd38d4f06f1feac66c7a58
+MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
diff --git a/dev-java/osgi-service-subsystem/metadata.xml b/dev-java/osgi-service-subsystem/metadata.xml
new file mode 100644
index 000000000000..75321cfb5598
--- /dev/null
+++ b/dev-java/osgi-service-subsystem/metadata.xml
@@ -0,0 +1,7 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-java/osgi-service-subsystem/osgi-service-subsystem-1.1.0.ebuild b/dev-java/osgi-service-subsystem/osgi-service-subsystem-1.1.0.ebuild
new file mode 100644
index 000000000000..31791787d08a
--- /dev/null
+++ b/dev-java/osgi-service-subsystem/osgi-service-subsystem-1.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.osgi:org.osgi.service.subsystem:${PV}"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="OSGi Companion Code for org.osgi.service.subsystem"
+HOMEPAGE="https://www.osgi.org/"
+SRC_URI="https://repo1.maven.org/maven2/org/osgi/org.${PN//-/.}/${PV}/org.${PN//-/.}-${PV}-sources.jar -> ${P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="app-arch/unzip"
+
+CP_DEPEND="
+ dev-java/osgi-annotation:0
+ dev-java/osgi-core:0
+"
+
+DEPEND="${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
diff --git a/dev-java/parboiled/Manifest b/dev-java/parboiled/Manifest
new file mode 100644
index 000000000000..89875717754b
--- /dev/null
+++ b/dev-java/parboiled/Manifest
@@ -0,0 +1,3 @@
+DIST parboiled-1.4.1.tar.gz 230536 BLAKE2B 99e8e99d9b1b5de7420491967213be94c5895ba6abfd797f4f681834b3773784fc94c5a7d000574cd65dd0dff46857cc19c9430691899f82edf324c764c193dd SHA512 3c502013168f76178398861e2b23089a5c3df0ec36f44830300dc935844026df9f6d5dd7c40babcd4c6a58bff84c0f2134930a19ef49bcd61efbdab3c093ef9c
+EBUILD parboiled-1.4.1.ebuild 1587 BLAKE2B 3e270a353638afd573bc4475d10efa9cd6ba67f9b01d8c02e66a0387be5e5579c6afda679c495e715e96e41dfd5004c98965785caca2dbdf7fc3a8025cba0374 SHA512 4505eb778060f86d350c9c222a8c9ebd9640ca071109844f3fe7dfb7c80a7b8fc70bbca82e49a199e376525e2c50d5f8f92f4e5edc532fc6590ffdf3d22fd952
+MISC metadata.xml 357 BLAKE2B 04e053f4b4f6f95ed3bcd2c806b609b5010e8a731455e961d0e4648f65712ba4700891ae9bca4a1d70baab9d84f76d23ff5b3e546dde61049c8193a5f0298795 SHA512 14da52d7609829c79e2495c891bb6c145396fd4140253b12043b8691c55064b253c11f6575cca88ac93d8cdb157f5b7f053289aede05c155c211c72d8fbe5b62
diff --git a/dev-java/parboiled/metadata.xml b/dev-java/parboiled/metadata.xml
new file mode 100644
index 000000000000..c48f3cb552ec
--- /dev/null
+++ b/dev-java/parboiled/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <doc>https://github.com/sirthias/parboiled/wiki/</doc>
+ <remote-id type="github">sirthias/parboiled</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/parboiled/parboiled-1.4.1.ebuild b/dev-java/parboiled/parboiled-1.4.1.ebuild
new file mode 100644
index 000000000000..cbb0bf538479
--- /dev/null
+++ b/dev-java/parboiled/parboiled-1.4.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_PROVIDES="
+ org.parboiled:parboiled-core:${PV}
+ org.parboiled:parboiled-java:${PV}
+"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Elegant parsing in Java and Scala - lightweight, easy-to-use, powerful"
+HOMEPAGE="https://github.com/sirthias/parboiled"
+SRC_URI="https://github.com/sirthias/parboiled/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CP_DEPEND="dev-java/asm:9"
+DEPEND="${CP_DEPEND}
+ >=virtual/jdk-11:*"
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-1.8:*"
+
+src_compile() {
+ einfo "Compiling parboiled-core"
+ JAVA_JAR_FILENAME="parboiled-core.jar"
+ JAVA_SRC_DIR="parboiled-core/src/main/java"
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":parboiled-core.jar"
+ rm -r target || die
+
+ einfo "Compiling parboiled-java"
+ JAVA_JAR_FILENAME="parboiled-java.jar"
+ JAVA_SRC_DIR="parboiled-java/src/main/java"
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":parboiled-java.jar"
+ rm -r target || die
+
+ if use doc; then
+ JAVA_SRC_DIR=(
+ "parboiled-core/src/main/java"
+ "parboiled-java/src/main/java"
+ )
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_install() {
+ default
+
+ java-pkg_dojar "parboiled-core.jar"
+ java-pkg_dojar "parboiled-java.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+
+ if use source; then
+ java-pkg_dosrc "parboiled-core/src/main/java/*"
+ java-pkg_dosrc "parboiled-java/src/main/java/*"
+ fi
+}