summaryrefslogtreecommitdiff
path: root/dev-java/concurrentlinkedhashmap-lru
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-05 06:39:30 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-05 06:39:30 +0000
commitd9af447f4fbcf1081e40b9c10b74d82a369b7291 (patch)
tree55cd31c502f37575e82d34553faba76bd018e75c /dev-java/concurrentlinkedhashmap-lru
parent6ded8acc59e20d0d8000d804b83fdebe84f51953 (diff)
downloadbaldeagleos-repo-d9af447f4fbcf1081e40b9c10b74d82a369b7291.tar.gz
baldeagleos-repo-d9af447f4fbcf1081e40b9c10b74d82a369b7291.tar.xz
baldeagleos-repo-d9af447f4fbcf1081e40b9c10b74d82a369b7291.zip
Adding metadata
Diffstat (limited to 'dev-java/concurrentlinkedhashmap-lru')
-rw-r--r--dev-java/concurrentlinkedhashmap-lru/Manifest1
-rw-r--r--dev-java/concurrentlinkedhashmap-lru/concurrentlinkedhashmap-lru-1.4.2.ebuild36
-rw-r--r--dev-java/concurrentlinkedhashmap-lru/metadata.xml9
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-java/concurrentlinkedhashmap-lru/Manifest b/dev-java/concurrentlinkedhashmap-lru/Manifest
new file mode 100644
index 000000000000..1e9c38335e81
--- /dev/null
+++ b/dev-java/concurrentlinkedhashmap-lru/Manifest
@@ -0,0 +1 @@
+DIST concurrentlinkedhashmap-lru-1.4.2.tar.gz 245357 BLAKE2B ac743e2be30195f171154c179ac1b4a6bc6b563b080555c664cdd57fc30d083525f03a8367a891e1087623d455adef27c7ff7416b5c8523c01fc3d5ef775a185 SHA512 95f33cdeb2e3e65be0fa26a825339c4c60eb830e07895fbae731103ef14a9599137f8fad18f9b0a582ec2552ccc1391f5d0338837395e35c1d28de977614a199
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..a63267abaf71
--- /dev/null
+++ b/dev-java/concurrentlinkedhashmap-lru/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file