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 33B8F15ACFC for ; Mon, 10 Apr 2023 06:53:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 764F9E084F; Mon, 10 Apr 2023 06:53:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 534EEE084F for ; Mon, 10 Apr 2023 06:53:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97FE3340EF5 for ; Mon, 10 Apr 2023 06:53:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A96C89F7 for ; Mon, 10 Apr 2023 06:53:08 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1681109585.2cda747c4803bb70de88983ea181a54bbc178a1e.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jnr-posix/, dev-java/jnr-posix/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jnr-posix/Manifest dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch dev-java/jnr-posix/jnr-posix-3.1.15.ebuild X-VCS-Directories: dev-java/jnr-posix/ dev-java/jnr-posix/files/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 2cda747c4803bb70de88983ea181a54bbc178a1e X-VCS-Branch: master Date: Mon, 10 Apr 2023 06:53:08 +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: e0276f96-02f1-4fb8-9dd3-6cf7d7c2494c X-Archives-Hash: 409b23278943f27a5f6303296c042890 commit: 2cda747c4803bb70de88983ea181a54bbc178a1e Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sun Apr 9 19:37:27 2023 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Mon Apr 10 06:53:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cda747c dev-java/jnr-posix: drop 3.1.15 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Miroslav Šulc gentoo.org> dev-java/jnr-posix/Manifest | 1 - .../files/jnr-posix-3.1.15-FileTest.patch | 38 -------- dev-java/jnr-posix/jnr-posix-3.1.15.ebuild | 102 --------------------- 3 files changed, 141 deletions(-) diff --git a/dev-java/jnr-posix/Manifest b/dev-java/jnr-posix/Manifest index 144578a163ba..b71b1747be9a 100644 --- a/dev-java/jnr-posix/Manifest +++ b/dev-java/jnr-posix/Manifest @@ -1,2 +1 @@ -DIST jnr-posix-3.1.15.tar.gz 120573 BLAKE2B 8035308440e444876d8d955ec3dd0b9d41f770436b53f964795a183ed7bd676dda8787c37425c488af2aa0accc948b86d1773e7e97ee5bcdaf209383dfda24a6 SHA512 6c8cd6d43c509ef7c16901d02983b823464b3437019233021398b2a9dfc85923db87c585e2f8248f080447a990e308feff25bbbf2a7261019dcae66c22e14a91 DIST jnr-posix-3.1.16.tar.gz 120553 BLAKE2B b430d4699b84e9c4139291c34c328ade600adade68081167d3b47ce52caa6f96a818702dcb26652d186d7de825b32b00f2f1329b79f9c459cbbb6f6a4260d9f3 SHA512 988221a9a499db64c2bc3fe4e798fb77ce1bce44a31b51ace4f1e52b9a76a3af9a1521477a64413b44f36da9ab5446feb1b2ffd4e7dc50be055f6092d9e1f977 diff --git a/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch b/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch deleted file mode 100644 index a186087c626d..000000000000 --- a/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/src/test/java/jnr/posix/FileTest.java -+++ b/src/test/java/jnr/posix/FileTest.java -@@ -215,7 +216,7 @@ public class FileTest { - dir.delete(); - } - -- @Test -+ @Ignore @Test - public void flockTest() throws Throwable { - if (!Platform.IS_WINDOWS) { - File tmp = File.createTempFile("flockTest", "tmp"); -@@ -236,7 +237,7 @@ public class FileTest { - } - } - -- @Test -+ @Ignore @Test - public void dupTest() throws Throwable { - File tmp = File.createTempFile("dupTest", "tmp"); - RandomAccessFile raf = new RandomAccessFile(tmp, "rw"); -@@ -303,7 +304,7 @@ public class FileTest { - } - } - -- @Test -+ @Ignore @Test - public void fcntlDupfdWithArgTest() throws Throwable { - if (!Platform.IS_WINDOWS) { - File tmp = File.createTempFile("dupTest", "tmp"); -@@ -327,7 +328,7 @@ public class FileTest { - } - } - -- @Test -+ @Ignore @Test - public void closeTest() throws Throwable { - File tmp = File.createTempFile("closeTest", "tmp"); - int fd = getFdFromDescriptor(JavaLibCHelper.getDescriptorFromChannel(new RandomAccessFile(tmp, "rw").getChannel())); diff --git a/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild b/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild deleted file mode 100644 index 0fd709bffe6a..000000000000 --- a/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jnr/jnr-posix/archive/jnr-posix-3.1.15.tar.gz --slot 3.0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jnr-posix-3.1.15.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.github.jnr:jnr-posix:3.1.15" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Common cross-project/cross-platform POSIX APIs" -HOMEPAGE="https://github.com/jnr/jnr-posix" -SRC_URI="https://github.com/jnr/${PN}/archive/${P}.tar.gz" - -LICENSE="EPL-2.0 GPL-2 LGPL-2.1" -SLOT="3.0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CP_DEPEND=" - >=dev-java/jnr-ffi-2.2.12:2 - dev-java/jnr-constants:0 -" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-11:*" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -S="${WORKDIR}/${PN}-${P}" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" - -src_test() { - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -i src/test/java/jnr/posix/FileTest.java || die - - if use ppc64; then - # Ignore testMessageHdrMultipleControl - # https://bugs.gentoo.org/866199 - # https://github.com/jnr/jnr-posix/issues/178 - sed \ - -e '/testMessageHdrMultipleControl/i @Ignore' \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -i src/test/java/jnr/posix/LinuxPOSIXTest.java || die - fi - - if use arm; then - # https://bugs.gentoo.org/866692 - sed \ - -e '/utimensatRelativePath()/i @Ignore' \ - -e '/utimesDefaultValuesTest()/i @Ignore' \ - -e '/futimeTest()/i @Ignore' \ - -e '/utimesTest()/i @Ignore' \ - -e '/utimesPointerTest()/i @Ignore' \ - -e '/utimensatAbsolutePath()/i @Ignore' \ - -e '/futimens()/i @Ignore' \ - -i src/test/java/jnr/posix/FileTest.java || die - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -e '/ioprioThreadedTest()/i @Ignore' \ - -e '/testPosixFadvise()/i @Ignore' \ - -i src/test/java/jnr/posix/LinuxPOSIXTest.java || die - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -e '/testSetRlimitPointerLinux()/i @Ignore' \ - -e '/testGetRLimitPointer()/i @Ignore' \ - -i src/test/java/jnr/posix/ProcessTest.java || die - fi - - JAVA_TEST_EXCLUDES=( - # https://github.com/jnr/jnr-posix/blob/jnr-posix-3.1.15/pom.xml#L185 - # **/windows/*Test.java - "jnr.posix.windows.WindowsFileTest" - "jnr.posix.windows.WindowsHelpersTest" - # Next 3 tests need to run separately, otherwise would fail. - "jnr.posix.GroupTest" - "jnr.posix.NlLanginfoTest" - "jnr.posix.SpawnTest" - ) - local vm_version="$(java-config -g PROVIDES_VERSION)" - if [[ "${vm_version}" -ge "17" ]] ; then - JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.io=ALL-UNNAMED ) - # Some tests in jnr.posix.FileTest fail with jdk-17 - eapply "${FILESDIR}/jnr-posix-3.1.15-FileTest.patch" - fi - java-pkg-simple_src_test - JAVA_TEST_RUN_ONLY="jnr.posix.SpawnTest" - java-pkg-simple_src_test - JAVA_TEST_RUN_ONLY="jnr.posix.NlLanginfoTest" - java-pkg-simple_src_test - JAVA_TEST_RUN_ONLY="jnr.posix.GroupTest" - java-pkg-simple_src_test -}