summaryrefslogtreecommitdiff
path: root/dev-java/joda-time
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-25 03:02:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-25 03:02:44 +0000
commit7f0b7329b3aa78ea82792fdf68ab48415fe4cc35 (patch)
tree5c9f3c3f65f2be496e4d9778fdeb4d0da2207c29 /dev-java/joda-time
parent530a5a826feeb71085fb8a01927f4d775a0b131b (diff)
gentoo auto-resync : 25:11:2024 - 03:02:44
Diffstat (limited to 'dev-java/joda-time')
-rw-r--r--dev-java/joda-time/Manifest3
-rw-r--r--dev-java/joda-time/files/joda-time-2.11.0-test.patch14
-rw-r--r--dev-java/joda-time/joda-time-2.11.2.ebuild95
3 files changed, 0 insertions, 112 deletions
diff --git a/dev-java/joda-time/Manifest b/dev-java/joda-time/Manifest
index b81bba333e19..80c4a7cef7b9 100644
--- a/dev-java/joda-time/Manifest
+++ b/dev-java/joda-time/Manifest
@@ -1,6 +1,3 @@
-AUX joda-time-2.11.0-test.patch 577 BLAKE2B 072cb890960ae26fef7297e7e7af18ab36f5f2ed3d94f370e1ba4d873c3625ed291ead37b05ad8ac0b53da04c2bd0bef4e7b2e4039a450f6466d58d1f0fec1a8 SHA512 77430e5d0829b1de0d621956731f896c644fb4529b6f3e0fe741266661c7b027a3a3bbe0747875a74746c18f4bb7e31eff185121b21de9cdd5e2210aab5e673f
-DIST joda-time-2.11.2.tar.gz 1055885 BLAKE2B 52281dcb530734dd33d0c01b07c9fbc5e7afd507a97e6926f7ef442dc91907d999d126289bc609e6fabf6af4267e47e5a79452d462a3f0561c405e6cd7f5976f SHA512 ea43deea4ef751fc631c35589adec0c5d9d0a5c836c1a24ada5d994cb9310a55b5af69260afd2647516c64fc84b892a2e25fca4bb38e852982c40f7caa5858b3
DIST joda-time-2.13.0.tar.gz 1076948 BLAKE2B d70be1086175c80f72c7dc945aea24f71d74552e7f8e56bd84a62f308bd9db0e006951ae415dfec6f18cb47485019e179e66a198b6c1adafaa79b3f590318825 SHA512 0e185c433891d6d6a1ac9e93e5ddf6cde4097de4b810881266ab8f149de4cfbe089b857a946e8d36731ad82f84c789e12ffcde1836cd088e9056e3533ce79200
-EBUILD joda-time-2.11.2.ebuild 2593 BLAKE2B d6da0b344ee28b387078cbe6ce0e44a2b28ed8ed0089ebd9e4d84dd848e2c8c1eab994498af210708cdf2011c221b13d3b4a127b95ae6b70d1b57946eae99773 SHA512 714fbc61dbadbbf8e23f70a9c29df58d0fb20704ca91c3e7410190bf6559117948e118f1d145c4be847dd535a43da74267169364fdf68ae32741525956d56b5f
EBUILD joda-time-2.13.0.ebuild 2379 BLAKE2B 6b379dfc140ae839cdd0af0eb01b331382b97e803edf061bf59df1cfcb35ee320c4ecdda47b77e534b27474ccb1f2a2cd94a11b9480a58887ef9b3d1b993d411 SHA512 31cbdf29da2bedb1aebcf387a26f140e4cfd5b9434c9d16440f1d29b8d4317e4b8c4fe0394a6d7f2f157510dd596ba0eae34e2e492c8c2ca33862b362bc922a3
MISC metadata.xml 443 BLAKE2B 504be6c5e1ad2932378893d87247956cd8eb7ab0d0a11515c0f53b1bbcacda07249a751892816703aa544312a5920be810ccef2a0f1adcd6db1c007dd78c8116 SHA512 9dd5a06656ae01180a29dd2b9d2a777ebec20bf91d528033392ebba5c79f6a3d8882eae50dedb2c1c1d6cfa945edb2087907aa28e2ec2081b96b4b2e32aabdff
diff --git a/dev-java/joda-time/files/joda-time-2.11.0-test.patch b/dev-java/joda-time/files/joda-time-2.11.0-test.patch
deleted file mode 100644
index a74cd01edfbc..000000000000
--- a/dev-java/joda-time/files/joda-time-2.11.0-test.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/src/test/java/org/joda/time/TestDateTimeZone.java
-+++ b/src/test/java/org/joda/time/TestDateTimeZone.java
-@@ -778,9 +778,10 @@ public class TestDateTimeZone extends TestCase {
- static final boolean JDK9;
- static {
- boolean jdk9 = true;
-+ System.out.println("java.version = " + System.getProperty("java.version") );
- try {
- String str = System.getProperty("java.version");
-- jdk9 = str.startsWith("9");
-+ jdk9 = str.startsWith("11");
- } catch (Exception ex) {
- jdk9 = false;
- }
diff --git a/dev-java/joda-time/joda-time-2.11.2.ebuild b/dev-java/joda-time/joda-time-2.11.2.ebuild
deleted file mode 100644
index 113221e97500..000000000000
--- a/dev-java/joda-time/joda-time-2.11.2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2024 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/JodaOrg/joda-time/archive/v2.11..tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" --ebuild joda-time-2.11..ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="joda-time:joda-time:2.11.2"
-JAVA_TESTING_FRAMEWORKS="junit"
-
-inherit edo java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Date and time library to replace JDK date handling"
-HOMEPAGE="https://www.joda.org/joda-time/"
-SRC_URI="https://github.com/JodaOrg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux ~ppc-macos"
-
-# Common dependencies
-# POM: pom.xml
-# org.joda:joda-convert:1.9.2 -> >=dev-java/joda-convert-2.2.2:0
-
-CP_DEPEND="dev-java/joda-convert:0"
-
-DEPEND=">=virtual/jdk-1.8:*
- ${CP_DEPEND}"
-
-RDEPEND=">=virtual/jre-1.8:*
- ${CP_DEPEND}"
-
-PATCHES=(
- # Enable tests for jdk-11 in
- # src/test/java/org/joda/time/TestDateTimeZone.java
- "${FILESDIR}/joda-time-2.11.0-test.patch"
-)
-
-DOCS=( NOTICE.txt README.md RELEASE-NOTES.txt )
-
-S="${WORKDIR}/${P}"
-
-JAVA_AUTOMATIC_MODULE_NAME="org.joda.time"
-JAVA_RESOURCE_DIRS="src/main/res"
-JAVA_SRC_DIR="src/main/java"
-
-JAVA_TEST_GENTOO_CLASSPATH="junit"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-JAVA_TEST_RUN_ONLY="org.joda.time.TestAllPackages"
-JAVA_TEST_SRC_DIR="src/test/java"
-
-src_prepare() {
- default
- # move .properties files to JAVA_RESOURCE_DIRS
- mkdir -p src/main/res
- cp -r src/main/{java/*,res} || die
- find src/main/res -type f ! -name '*.properties' -exec rm -rf {} + || die
-}
-
-src_compile() {
- java-pkg-simple_src_compile
-
- # Generate the missing "org/joda/time/tz/data/ZoneInfoMap"
- # Arguments from https://github.com/JodaOrg/joda-time/blob/v2.10.10/pom.xml#L413-L427
- edo "$(java-config -J)" \
- -cp ${PN}.jar \
- org.joda.time.tz.ZoneInfoCompiler \
- -src "${JAVA_SRC_DIR}/org/joda/time/tz/src" \
- -dst "${P}/src/main/resources/org/joda/time/tz/data" \
- africa \
- antarctica \
- asia \
- australasia \
- europe \
- northamerica \
- southamerica \
- etcetera \
- backward
-
- java-pkg_addres ${PN}.jar "${P}"/src/main/resources
-}
-
-src_test() {
- # There are test failures in
- # src/test/java/org/joda/time/TestDateTimeZone.java
- # with jdk higher than 11
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if ver_test "${vm_version}" -le 11 ; then
- java-pkg-simple_src_test
- else
- einfo "Tests restricted to <=jdk-11"
- fi
-}