From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC79D158094 for ; Fri, 22 Jul 2022 17:37:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83F18E09BB; Fri, 22 Jul 2022 17:37:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A86DE096A for ; Fri, 22 Jul 2022 17:37:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A42B340AA1 for ; Fri, 22 Jul 2022 17:37:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BBDA1548 for ; Fri, 22 Jul 2022 17:36:58 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1658511389.3be35d01a56dad6ad4ee3d2b57282a2820f85078.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/memoryfilesystem/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/memoryfilesystem/Manifest dev-java/memoryfilesystem/memoryfilesystem-2.3.0.ebuild dev-java/memoryfilesystem/metadata.xml X-VCS-Directories: dev-java/memoryfilesystem/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 3be35d01a56dad6ad4ee3d2b57282a2820f85078 X-VCS-Branch: master Date: Fri, 22 Jul 2022 17:36:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3bf3e814-ff3f-4797-a236-22874b5cbcd2 X-Archives-Hash: 0c1c70b19d5337e793e1efaa031348a1 commit: 3be35d01a56dad6ad4ee3d2b57282a2820f85078 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Thu Jun 23 16:26:02 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri Jul 22 17:36:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be35d01 dev-java/memoryfilesystem: new package, add 2.3.0 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Florian Schmaus gentoo.org> dev-java/memoryfilesystem/Manifest | 1 + .../memoryfilesystem/memoryfilesystem-2.3.0.ebuild | 53 ++++++++++++++++++++++ dev-java/memoryfilesystem/metadata.xml | 7 +++ 3 files changed, 61 insertions(+) diff --git a/dev-java/memoryfilesystem/Manifest b/dev-java/memoryfilesystem/Manifest new file mode 100644 index 000000000000..eaac963a85aa --- /dev/null +++ b/dev-java/memoryfilesystem/Manifest @@ -0,0 +1 @@ +DIST memoryfilesystem-2.3.0.tar.gz 127429 BLAKE2B 74ce26328db840d3fce6aebc089cbe6921c2ab7b7448c63aedcffc7358890785ec10f7823d7bd686e3a82bdfb84b9c7c796f49f377f577473a98b298cd04848d SHA512 1aac6b19fe0f6f6c950f13fff3507c61e3307d8d400cba664ae7907c0b4fab03166482ab6515bf355fe27498775ac8ee2850eca8c510e3e72a481b00fec63078 diff --git a/dev-java/memoryfilesystem/memoryfilesystem-2.3.0.ebuild b/dev-java/memoryfilesystem/memoryfilesystem-2.3.0.ebuild new file mode 100644 index 000000000000..f10d54eba1c3 --- /dev/null +++ b/dev-java/memoryfilesystem/memoryfilesystem-2.3.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.github.marschall:memoryfilesystem:2.3.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="An in memory implementation of a JSR-203 file system." +HOMEPAGE="https://github.com/marschall/memoryfilesystem" +SRC_URI="https://github.com/marschall/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +CP_DEPEND=" + dev-java/jakarta-annotations-api:0 +" + +DEPEND=" + >=virtual/jdk-11:* + ${CP_DEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +src_prepare() { + default + # https://github.com/marschall/memoryfilesystem/blob/2.3.0/pom.xml#L236-L259 + cat > src/main/java/module-info.java <<-EOF + module com.github.marschall.memoryfilesystem { + requires java.base; + requires static jakarta.annotation; + exports com.github.marschall.memoryfilesystem; + provides java.nio.file.spi.FileSystemProvider with + com.github.marschall.memoryfilesystem.MemoryFileSystemProvider; + } + EOF + sed \ + -e 's:javax\(.annotation.PreDestroy\):jakarta\1:' \ + -i src/main/java/com/github/marschall/memoryfilesystem/MemoryFileSystem.java || die +} diff --git a/dev-java/memoryfilesystem/metadata.xml b/dev-java/memoryfilesystem/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/memoryfilesystem/metadata.xml @@ -0,0 +1,7 @@ + + + + + java@gentoo.org + +