diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-04 23:01:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-04 23:01:41 +0000 |
commit | b3bfc7186e4f820493aa2eb8cc65f0efba7ed6f6 (patch) | |
tree | e60d25f1e0a33dacce9044e179c8dc93f596bb2a /dev-java/concurrentlinkedhashmap-lru | |
parent | 4c552e09a1ece7792f2a20ccf4322348acbe3139 (diff) |
gentoo auto-resync : 04:12:2023 - 23:01:41
Diffstat (limited to 'dev-java/concurrentlinkedhashmap-lru')
3 files changed, 49 insertions, 0 deletions
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> |