From 59df4b41e3ab7ca3942befa955a9027319499e53 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 28 Nov 2023 15:06:15 +0100 Subject: dev-java/caffeine: new package, add 2.6.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Miroslav Ć ulc --- dev-java/caffeine/Manifest | 1 + dev-java/caffeine/caffeine-2.6.2.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-java/caffeine/metadata.xml | 10 ++++++++++ 3 files changed, 44 insertions(+) create mode 100644 dev-java/caffeine/Manifest create mode 100644 dev-java/caffeine/caffeine-2.6.2.ebuild create mode 100644 dev-java/caffeine/metadata.xml diff --git a/dev-java/caffeine/Manifest b/dev-java/caffeine/Manifest new file mode 100644 index 000000000000..5fe009e7d56c --- /dev/null +++ b/dev-java/caffeine/Manifest @@ -0,0 +1 @@ +DIST caffeine-2.6.2-sources.jar 715580 BLAKE2B 882cac33d205c8186232c64010b4e25e805d3d188d6a9e6ca151187b55d5ee3a3d5641566f5e8d32de596fab3dae8967c74f3d60e2321b34374ce996382322fe SHA512 52a8c67648e2a6bb1c600d99712473a64911f2b6c8fe6c924ba98e72b4b040a1094fa5c93ae2bae8734d352634bc72960711afd152566ef02f6bad4c84e510c8 diff --git a/dev-java/caffeine/caffeine-2.6.2.ebuild b/dev-java/caffeine/caffeine-2.6.2.ebuild new file mode 100644 index 000000000000..019d6c37a222 --- /dev/null +++ b/dev-java/caffeine/caffeine-2.6.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.github.ben-manes.caffeine:caffeine:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A high performance caching library" +HOMEPAGE="https://github.com/ben-manes/caffeine" +SRC_URI="https://repo1.maven.org/maven2/com/github/ben-manes/caffeine/caffeine/${PV}/caffeine-${PV}-sources.jar" +# Compiling from Github would require to be packaged at least +# package com.squareup.javapoet +# package MethodSpec +# package TypeSpec +# SRC_URI="https://github.com/ben-manes/caffeine/archive/v${PV}.tar.gz -> ${P}.tar.gz" +# S="${WORKDIR}/${P}/caffeine" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="app-arch/unzip" +CP_DEPEND="dev-java/jsr305:0" +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JAVA_AUTOMATIC_MODULE_NAME="com.github.benmanes.caffeine" diff --git a/dev-java/caffeine/metadata.xml b/dev-java/caffeine/metadata.xml new file mode 100644 index 000000000000..8168da8f9820 --- /dev/null +++ b/dev-java/caffeine/metadata.xml @@ -0,0 +1,10 @@ + + + + + java@gentoo.org + + + ben-manes/caffeine + + -- cgit v1.2.3-65-gdbad