1 |
commit: eb67db6e66c803dee7ccaf8eabe18499633c8e27 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Tue Mar 30 18:12:57 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 3 10:58:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb67db6e |
7 |
|
8 |
dev-java/joda-time: bump to 2.10.10 |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/20176/commits/d02968d52ff3f73df95f1aa45b44b2f017eeedde |
13 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
14 |
|
15 |
dev-java/joda-time/Manifest | 1 + |
16 |
dev-java/joda-time/joda-time-2.10.10.ebuild | 52 +++++++++++++++++++++++++++++ |
17 |
dev-java/joda-time/metadata.xml | 18 +++++----- |
18 |
3 files changed, 63 insertions(+), 8 deletions(-) |
19 |
|
20 |
diff --git a/dev-java/joda-time/Manifest b/dev-java/joda-time/Manifest |
21 |
index dc39c85d3dc..23b3649d4b7 100644 |
22 |
--- a/dev-java/joda-time/Manifest |
23 |
+++ b/dev-java/joda-time/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
+DIST joda-time-2.10.10-sources.tar.gz 1052384 BLAKE2B 656efddf6b98f10ce6729c6fa4c76ddfeb86dd94971c2637af3ddcb8a3a47f83948dbd58b04a6249445ef2857c5c5edb994a6d56349ed4ff4130ce9aaebd57e9 SHA512 e7917fd28cd10d7fbee02016b1f13a15a80af099b952cc0e8978bfc7fa389109553804670492c206f2b49bcf910ea093fc1838cb45ce4b7a3a885aac2aaf5943 |
26 |
DIST joda-time-2.7-dist.tar.gz 4007765 BLAKE2B ed34c988dae1f1fb3359e06cccc148f680a04244987464770024635e72d5693036ec4d1648245f44db2fd57c47d9842a964d39e04e9ba510ecda7ec25c853ee7 SHA512 2a9bf91024bf20c4f1a28c87e5c6e560994ba6f7e131757c83a5ab6984ea79549e1d00452dcf767fc5cab374e531649759703acbaed724a1e49436cae0799209 |
27 |
|
28 |
diff --git a/dev-java/joda-time/joda-time-2.10.10.ebuild b/dev-java/joda-time/joda-time-2.10.10.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..544e24330a7 |
31 |
--- /dev/null |
32 |
+++ b/dev-java/joda-time/joda-time-2.10.10.ebuild |
33 |
@@ -0,0 +1,52 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+# Skeleton command: |
38 |
+# java-ebuilder --generate-ebuild --workdir . --pom joda-time-2.10.10/pom.xml --download-uri https://github.com/JodaOrg/joda-time/archive/refs/tags/v2.10.10.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" --ebuild joda-time-2.10.10.ebuild |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+JAVA_PKG_IUSE="doc source test" |
43 |
+MAVEN_ID="joda-time:joda-time:2.10.10" |
44 |
+JAVA_TESTING_FRAMEWORKS="junit" |
45 |
+ |
46 |
+inherit java-pkg-2 java-pkg-simple |
47 |
+ |
48 |
+DESCRIPTION="Date and time library to replace JDK date handling" |
49 |
+HOMEPAGE="https://www.joda.org/joda-time/" |
50 |
+SRC_URI="https://github.com/JodaOrg/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}-sources.tar.gz" |
51 |
+ |
52 |
+LICENSE="Apache-2.0" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
55 |
+ |
56 |
+# Common dependencies |
57 |
+# POM: ${P}/pom.xml |
58 |
+# org.joda:joda-convert:1.9.2 -> >=dev-java/joda-convert-2.2.1:0 |
59 |
+ |
60 |
+CDEPEND=" |
61 |
+ dev-java/joda-convert:0 |
62 |
+" |
63 |
+ |
64 |
+DEPEND=" |
65 |
+ >=virtual/jdk-1.8:* |
66 |
+ ${CDEPEND} |
67 |
+" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ >=virtual/jre-1.8:* |
71 |
+ ${CDEPEND}" |
72 |
+ |
73 |
+S="${WORKDIR}" |
74 |
+ |
75 |
+JAVA_GENTOO_CLASSPATH="joda-convert" |
76 |
+JAVA_SRC_DIR="${P}/src/main/java" |
77 |
+JAVA_RESOURCE_DIRS=( |
78 |
+ "${P}/src/main/java" |
79 |
+) |
80 |
+ |
81 |
+JAVA_TEST_GENTOO_CLASSPATH="junit" |
82 |
+JAVA_TEST_SRC_DIR="${P}/src/test/java" |
83 |
+JAVA_TEST_RESOURCE_DIRS=( |
84 |
+ "${P}/src/test/resources" |
85 |
+) |
86 |
|
87 |
diff --git a/dev-java/joda-time/metadata.xml b/dev-java/joda-time/metadata.xml |
88 |
index 78620eff557..b64115a9a19 100644 |
89 |
--- a/dev-java/joda-time/metadata.xml |
90 |
+++ b/dev-java/joda-time/metadata.xml |
91 |
@@ -1,12 +1,14 @@ |
92 |
<?xml version="1.0" encoding="UTF-8"?> |
93 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
94 |
<pkgmetadata> |
95 |
- <maintainer type="project"> |
96 |
- <email>java@g.o</email> |
97 |
- <name>Java</name> |
98 |
- </maintainer> |
99 |
- <upstream> |
100 |
- <remote-id type="github">JodaOrg/joda-time</remote-id> |
101 |
- <remote-id type="sourceforge">joda-time</remote-id> |
102 |
- </upstream> |
103 |
+ <maintainer type="project"> |
104 |
+ <email>java@g.o</email> |
105 |
+ <name>Java</name> |
106 |
+ </maintainer> |
107 |
+ <upstream> |
108 |
+ <remote-id type="github">JodaOrg/joda-time</remote-id> |
109 |
+ <remote-id type="sourceforge">joda-time</remote-id> |
110 |
+ <bugs-to>https://github.com/JodaOrg/joda-time/issues</bugs-to> |
111 |
+ <doc>https://www.joda.org/joda-time/userguide.html</doc> |
112 |
+ </upstream> |
113 |
</pkgmetadata> |