diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-java/commons-text | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-java/commons-text')
6 files changed, 0 insertions, 299 deletions
diff --git a/dev-java/commons-text/Manifest b/dev-java/commons-text/Manifest deleted file mode 100644 index 7a829f918703..000000000000 --- a/dev-java/commons-text/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST commons-text-1.15.0-src.tar.gz 462785 BLAKE2B 250619852061c5ee7ca8a0ff8016135013592532e24aa6424cd8e61907db637e7094d83e1b1b10e4ba49cb3640226680a54f4a552a199bca20948f74bafc4d05 SHA512 5bbeebbe5853525d72a54ad483344f2a55b360cb3abeeada2eb52ca6118f10102bb8fb8ca42417c38b6f8ed7147807414f50c5093473fac9fd3f74cfb8160958 -DIST commons-text-1.15.0-src.tar.gz.asc 228 BLAKE2B 2124d9178d2ea97df1f382d86e06ea986470f0e4208901713db28514f341d425937fc4ab5fc4adab359a8aa2ef0bbce404e6ac797f089d64e3945d7a07a51732 SHA512 da7c8858cabafbf1a904f0465339444b084f31d941f02a3492a412c29b95862a0c7da56ae542b0c14e22d3a34fd5915d77f77bb62c23be0ae9b6046d6a82bca9 diff --git a/dev-java/commons-text/commons-text-1.15.0.ebuild b/dev-java/commons-text/commons-text-1.15.0.ebuild deleted file mode 100644 index eaf1b27dcef8..000000000000 --- a/dev-java/commons-text/commons-text-1.15.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -JAVA_TESTING_FRAMEWORKS="junit-jupiter" - -inherit java-pkg-2 java-pkg-simple junit5 verify-sig - -DESCRIPTION="Apache Commons Text is a library focused on algorithms working on strings" -HOMEPAGE="https://commons.apache.org/proper/commons-text/" -SRC_URI="mirror://apache//commons/text/source/${P}-src.tar.gz - verify-sig? ( https://downloads.apache.org/commons/text/source/${P}-src.tar.gz.asc )" -S="${WORKDIR}/${P}-src" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-apache-commons-20251102 )" -CP_DEPEND=">=dev-java/commons-lang-3.20.0:0" - -DEPEND=" - ${CP_DEPEND} - >=virtual/jdk-11:* - test? ( - >=dev-java/asm-9.9:0 - >=dev-java/byte-buddy-1.17.8:0 - >=dev-java/commons-io-2.21.0:0 - dev-java/commons-rng:0 - >=dev-java/jmh-core-1.37:0 - >=dev-java/jmh-generator-annprocess-1.37:0 - >=dev-java/jna-5.18.1:0 - >=dev-java/jsr305-3.0.2-r1:0 - >=dev-java/junit-pioneer-1.9.1-r1:0 - dev-java/junit:5[-vintage] - >=dev-java/mockito-5.20.0-r1:0 - >=dev-java/objenesis-3.4:0 - >=dev-java/opentest4j-1.3.0-r1:0 - ) -" - -RDEPEND=" - ${CP_DEPEND} - >=virtual/jre-1.8:* -" - -DOCS=( CONTRIBUTING.md NOTICE.txt README.md RELEASE-NOTES.txt ) -PATCHES=( - "${FILESDIR}/commons-text-1.14.0-ScriptStringLookupTest.patch" - "${FILESDIR}/commons-text-1.14.0-StringSubstitutorWithInterpolatorStringLookupTest.patch" - "${FILESDIR}/commons-text-1.14.0-UrlStringLookupTest.patch" -) - -JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.text" -JAVA_INTERMEDIATE_JAR_NAME="org.apache.${PN/-/.}" -JAVA_MODULE_INFO_OUT="src/main" -JAVA_SRC_DIR="src/main/java" -JAVA_TEST_GENTOO_CLASSPATH="asm byte-buddy commons-io commons-rng jmh-core - jmh-generator-annprocess jna jsr305 junit-pioneer junit-5 mockito objenesis opentest4j" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_SRC_DIR="src/test/java" -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" - -src_prepare() { - default #780585 - java-pkg-2_src_prepare - export LC_ALL="en_US.UTF-8" # needed for DateStringLookupTest -} diff --git a/dev-java/commons-text/files/commons-text-1.14.0-ScriptStringLookupTest.patch b/dev-java/commons-text/files/commons-text-1.14.0-ScriptStringLookupTest.patch deleted file mode 100644 index 725503e07d62..000000000000 --- a/dev-java/commons-text/files/commons-text-1.14.0-ScriptStringLookupTest.patch +++ /dev/null @@ -1,86 +0,0 @@ -─ testOne() - tags: [] - uniqueId: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.ScriptStringLookupTest]/[method:testOne()] - parent: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.ScriptStringLookupTest] - source: MethodSource [className = 'org.apache.commons.text.lookup.ScriptStringLookupTest', methodName = 'testOne', methodParameterTypes = ''] - caught: java.lang.IllegalArgumentException: Error in script engine [JavaScript] evaluating script ["Hello World!"]. - at org.apache.commons.text.lookup.IllegalArgumentExceptions.format(IllegalArgumentExceptions.java:49) - at org.apache.commons.text.lookup.ScriptStringLookup.lookup(ScriptStringLookup.java:88) - at org.apache.commons.text.lookup.StringLookup.apply(StringLookup.java:66) - at org.apache.commons.text.lookup.ScriptStringLookupTest.testOne(ScriptStringLookupTest.java:56) - at java.base/java.lang.reflect.Method.invoke(Method.java:565) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - Caused by: java.lang.IllegalArgumentException: No script engine named JavaScript - at org.apache.commons.text.lookup.ScriptStringLookup.lookup(ScriptStringLookup.java:84) - ... 5 more - duration: 1 ms - status: ✘ FAILED -─ testScriptUsingMultipleColons() - tags: [] - uniqueId: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.ScriptStringLookupTest]/[method:testScriptUsingMultipleColons()] - parent: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.ScriptStringLookupTest] - source: MethodSource [className = 'org.apache.commons.text.lookup.ScriptStringLookupTest', methodName = 'testScriptUsingMultipleColons', methodParameterTypes = ''] - caught: java.lang.IllegalArgumentException: Error in script engine [JavaScript] evaluating script [true ? "It Works" : "It Does Not Work" ]. - at org.apache.commons.text.lookup.IllegalArgumentExceptions.format(IllegalArgumentExceptions.java:49) - at org.apache.commons.text.lookup.ScriptStringLookup.lookup(ScriptStringLookup.java:88) - at org.apache.commons.text.lookup.StringLookup.apply(StringLookup.java:66) - at org.apache.commons.text.lookup.ScriptStringLookupTest.testScriptUsingMultipleColons(ScriptStringLookupTest.java:72) - at java.base/java.lang.reflect.Method.invoke(Method.java:565) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - Caused by: java.lang.IllegalArgumentException: No script engine named JavaScript - at org.apache.commons.text.lookup.ScriptStringLookup.lookup(ScriptStringLookup.java:84) - ... 5 more - duration: 1 ms - status: ✘ FAILED -─ testSanityCheck() - tags: [] - uniqueId: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.ScriptStringLookupTest]/[method:testSanityCheck()] - parent: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.ScriptStringLookupTest] - source: MethodSource [className = 'org.apache.commons.text.lookup.ScriptStringLookupTest', methodName = 'testSanityCheck', methodParameterTypes = ''] - caught: org.opentest4j.AssertionFailedError: JavaScript ==> expected: not <null> - at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) - at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) - at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) - at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) - at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) - at org.apache.commons.text.lookup.ScriptStringLookupTest.testSanityCheck(ScriptStringLookupTest.java:61) - at java.base/java.lang.reflect.Method.invoke(Method.java:565) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - duration: 1 ms - status: ✘ FAILED - ---- a/src/test/java/org/apache/commons/text/lookup/ScriptStringLookupTest.java -+++ b/src/test/java/org/apache/commons/text/lookup/ScriptStringLookupTest.java -@@ -22,6 +22,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows; - import javax.script.ScriptEngineManager; - - import org.junit.jupiter.api.Assertions; -+import org.junit.jupiter.api.Disabled; - import org.junit.jupiter.api.Test; - - /** -@@ -51,11 +52,13 @@ class ScriptStringLookupTest { - Assertions.assertNull(ScriptStringLookup.INSTANCE.apply(null)); - } - -+ @Disabled - @Test - void testOne() { - Assertions.assertEquals("Hello World!", ScriptStringLookup.INSTANCE.apply(JS_NAME + ":\"Hello World!\"")); - } - -+ @Disabled - @Test - void testSanityCheck() { - Assertions.assertNotNull(new ScriptEngineManager().getEngineByName(JS_NAME), JS_NAME); -@@ -66,6 +69,7 @@ class ScriptStringLookupTest { - assertThrows(IllegalArgumentException.class, () -> ScriptStringLookup.INSTANCE.apply("JavaScript=\"test\"")); - } - -+ @Disabled - @Test - void testScriptUsingMultipleColons() { - Assertions.assertEquals("It Works", diff --git a/dev-java/commons-text/files/commons-text-1.14.0-StringSubstitutorWithInterpolatorStringLookupTest.patch b/dev-java/commons-text/files/commons-text-1.14.0-StringSubstitutorWithInterpolatorStringLookupTest.patch deleted file mode 100644 index fb6e5d7e0a96..000000000000 --- a/dev-java/commons-text/files/commons-text-1.14.0-StringSubstitutorWithInterpolatorStringLookupTest.patch +++ /dev/null @@ -1,74 +0,0 @@ - -─ testJavaScript() - tags: [] - uniqueId: [engine:junit-jupiter]/[class:org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest]/[method:testJavaScript()] - parent: [engine:junit-jupiter]/[class:org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest] - source: MethodSource [className = 'org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest', methodName = 'testJavaScript', methodParameterTypes = ''] - caught: java.lang.IllegalArgumentException: Error in script engine [javascript] evaluating script ["Hello World!"]. - at org.apache.commons.text.lookup.IllegalArgumentExceptions.format(IllegalArgumentExceptions.java:49) - at org.apache.commons.text.lookup.ScriptStringLookup.lookup(ScriptStringLookup.java:88) - at org.apache.commons.text.lookup.StringLookup.apply(StringLookup.java:66) - at org.apache.commons.text.lookup.InterpolatorStringLookup.lookup(InterpolatorStringLookup.java:127) - at org.apache.commons.text.lookup.StringLookup.apply(StringLookup.java:66) - at org.apache.commons.text.StringSubstitutor.resolveVariable(StringSubstitutor.java:1154) - at org.apache.commons.text.StringSubstitutor.substitute(StringSubstitutor.java:1520) - at org.apache.commons.text.StringSubstitutor.substitute(StringSubstitutor.java:1395) - at org.apache.commons.text.StringSubstitutor.replace(StringSubstitutor.java:899) - at org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest.testJavaScript(StringSubstitutorWithInterpolatorStringLookupTest.java:206) - at java.base/java.lang.reflect.Method.invoke(Method.java:565) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - Caused by: java.lang.IllegalArgumentException: No script engine named javascript - at org.apache.commons.text.lookup.ScriptStringLookup.lookup(ScriptStringLookup.java:84) - ... 11 more - duration: 1 ms - status: ✘ FAILED -─ testDnsLookupAddress() - tags: [] - uniqueId: [engine:junit-jupiter]/[class:org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest]/[method:testDnsLookupAddress()] - parent: [engine:junit-jupiter]/[class:org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest] - source: MethodSource [className = 'org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest', methodName = 'testDnsLookupAddress', methodParameterTypes = ''] - caught: java.net.UnknownHostException: apache.org: Temporary failure in name resolution - at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) - at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) - at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1134) - at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1712) - at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1060) - at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1702) - at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1582) - at java.base/java.net.InetAddress.getByName(InetAddress.java:1492) - at org.apache.commons.text.StringSubstitutorWithInterpolatorStringLookupTest.testDnsLookupAddress(StringSubstitutorWithInterpolatorStringLookupTest.java:161) - at java.base/java.lang.reflect.Method.invoke(Method.java:565) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - duration: 1 ms - status: ✘ FAILED - ---- a/src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java -+++ b/src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java -@@ -28,6 +28,7 @@ import org.apache.commons.text.lookup.DefaultStringLookup; - import org.apache.commons.text.lookup.StringLookup; - import org.apache.commons.text.lookup.StringLookupFactory; - import org.junit.jupiter.api.Assertions; -+import org.junit.jupiter.api.Disabled; - import org.junit.jupiter.api.Test; - - class StringSubstitutorWithInterpolatorStringLookupTest { -@@ -154,7 +155,7 @@ class StringSubstitutorWithInterpolatorStringLookupTest { - Assertions.assertEquals(input, strSubst.replace(input)); - } - -- @Test -+ @Test @Disabled - void testDnsLookupAddress() throws UnknownHostException { - final StringSubstitutor strSubst = - new StringSubstitutor(createInterpolatorWithLookups(DefaultStringLookup.DNS)); -@@ -198,7 +199,7 @@ class StringSubstitutorWithInterpolatorStringLookupTest { - Assertions.assertEquals(unknown, strSubst.replace(unknown)); - } - -- @Test -+ @Test @Disabled - void testJavaScript() { - final StringSubstitutor strSubst = - new StringSubstitutor(createInterpolatorWithLookups(DefaultStringLookup.SCRIPT)); diff --git a/dev-java/commons-text/files/commons-text-1.14.0-UrlStringLookupTest.patch b/dev-java/commons-text/files/commons-text-1.14.0-UrlStringLookupTest.patch deleted file mode 100644 index 99f3b51efa4b..000000000000 --- a/dev-java/commons-text/files/commons-text-1.14.0-UrlStringLookupTest.patch +++ /dev/null @@ -1,56 +0,0 @@ - -testHttpScheme() - tags: [] - uniqueId: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.UrlStringLookupTest]/[method:testHttpScheme()] - parent: [engine:junit-jupiter]/[class:org.apache.commons.text.lookup.UrlStringLookupTest] - source: MethodSource [className = 'org.apache.commons.text.lookup.UrlStringLookupTest', methodName = 'testHttpScheme', methodParameterTypes = ''] - caught: java.lang.IllegalArgumentException: Error looking up URL [https://www.apache.org] with Charset [UTF-8]. - at org.apache.commons.text.lookup.IllegalArgumentExceptions.format(IllegalArgumentExceptions.java:49) - at org.apache.commons.text.lookup.UrlStringLookup.lookup(UrlStringLookup.java:88) - at org.apache.commons.text.lookup.StringLookup.apply(StringLookup.java:66) - at org.apache.commons.text.lookup.UrlStringLookupTest.testHttpScheme(UrlStringLookupTest.java:63) - at java.base/java.lang.reflect.Method.invoke(Method.java:565) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) - Caused by: java.net.UnknownHostException: www.apache.org - at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:569) - at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:284) - at java.base/java.net.Socket.connect(Socket.java:666) - at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) - at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:181) - at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:166) - at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:516) - at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:604) - at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:206) - at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:288) - at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) - at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:963) - at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:899) - at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) - at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1377) - at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1302) - at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223) - at java.base/java.net.URL.openStream(URL.java:1263) - at org.apache.commons.text.lookup.UrlStringLookup.lookup(UrlStringLookup.java:79) - ... 5 more - duration: 2 ms - status: ✘ FAILED - ---- a/src/test/java/org/apache/commons/text/lookup/UrlStringLookupTest.java -+++ b/src/test/java/org/apache/commons/text/lookup/UrlStringLookupTest.java -@@ -26,6 +26,7 @@ import java.nio.file.Path; - import java.nio.file.Paths; - - import org.junit.jupiter.api.Assertions; -+import org.junit.jupiter.api.Disabled; - import org.junit.jupiter.api.Test; - - /** -@@ -58,6 +59,7 @@ class UrlStringLookupTest { - Assertions.assertEquals(expectedString, UrlStringLookup.INSTANCE.apply("UTF-8:" + uri.toString())); - } - -+ @Disabled - @Test - void testHttpScheme() { - Assertions.assertNotNull(UrlStringLookup.INSTANCE.apply("UTF-8:https://www.apache.org")); diff --git a/dev-java/commons-text/metadata.xml b/dev-java/commons-text/metadata.xml deleted file mode 100644 index 2b0182720f86..000000000000 --- a/dev-java/commons-text/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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> - <name>Java</name> - </maintainer> - <upstream> - <remote-id type="github">apache/commons-text</remote-id> - </upstream> -</pkgmetadata> |
