diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-03-30 20:12:57 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-03 12:58:53 +0200 |
commit | eb67db6e66c803dee7ccaf8eabe18499633c8e27 (patch) | |
tree | d137f1a7ff0faa7a73ac851e800ae69736f9df5a /dev-java | |
parent | dev-java/velocity: MAVEN_ID (diff) | |
download | gentoo-eb67db6e66c803dee7ccaf8eabe18499633c8e27.tar.gz gentoo-eb67db6e66c803dee7ccaf8eabe18499633c8e27.tar.bz2 gentoo-eb67db6e66c803dee7ccaf8eabe18499633c8e27.zip |
dev-java/joda-time: bump to 2.10.10
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20176/commits/d02968d52ff3f73df95f1aa45b44b2f017eeedde
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/joda-time/Manifest | 1 | ||||
-rw-r--r-- | dev-java/joda-time/joda-time-2.10.10.ebuild | 52 | ||||
-rw-r--r-- | dev-java/joda-time/metadata.xml | 18 |
3 files changed, 63 insertions, 8 deletions
diff --git a/dev-java/joda-time/Manifest b/dev-java/joda-time/Manifest index dc39c85d3dcb..23b3649d4b74 100644 --- a/dev-java/joda-time/Manifest +++ b/dev-java/joda-time/Manifest @@ -1 +1,2 @@ +DIST joda-time-2.10.10-sources.tar.gz 1052384 BLAKE2B 656efddf6b98f10ce6729c6fa4c76ddfeb86dd94971c2637af3ddcb8a3a47f83948dbd58b04a6249445ef2857c5c5edb994a6d56349ed4ff4130ce9aaebd57e9 SHA512 e7917fd28cd10d7fbee02016b1f13a15a80af099b952cc0e8978bfc7fa389109553804670492c206f2b49bcf910ea093fc1838cb45ce4b7a3a885aac2aaf5943 DIST joda-time-2.7-dist.tar.gz 4007765 BLAKE2B ed34c988dae1f1fb3359e06cccc148f680a04244987464770024635e72d5693036ec4d1648245f44db2fd57c47d9842a964d39e04e9ba510ecda7ec25c853ee7 SHA512 2a9bf91024bf20c4f1a28c87e5c6e560994ba6f7e131757c83a5ab6984ea79549e1d00452dcf767fc5cab374e531649759703acbaed724a1e49436cae0799209 diff --git a/dev-java/joda-time/joda-time-2.10.10.ebuild b/dev-java/joda-time/joda-time-2.10.10.ebuild new file mode 100644 index 000000000000..544e24330a79 --- /dev/null +++ b/dev-java/joda-time/joda-time-2.10.10.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# 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 + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="joda-time:joda-time:2.10.10" +JAVA_TESTING_FRAMEWORKS="junit" + +inherit 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/refs/tags/v${PV}.tar.gz -> ${P}-sources.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" + +# Common dependencies +# POM: ${P}/pom.xml +# org.joda:joda-convert:1.9.2 -> >=dev-java/joda-convert-2.2.1:0 + +CDEPEND=" + dev-java/joda-convert:0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CDEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CDEPEND}" + +S="${WORKDIR}" + +JAVA_GENTOO_CLASSPATH="joda-convert" +JAVA_SRC_DIR="${P}/src/main/java" +JAVA_RESOURCE_DIRS=( + "${P}/src/main/java" +) + +JAVA_TEST_GENTOO_CLASSPATH="junit" +JAVA_TEST_SRC_DIR="${P}/src/test/java" +JAVA_TEST_RESOURCE_DIRS=( + "${P}/src/test/resources" +) diff --git a/dev-java/joda-time/metadata.xml b/dev-java/joda-time/metadata.xml index 78620eff5573..b64115a9a19c 100644 --- a/dev-java/joda-time/metadata.xml +++ b/dev-java/joda-time/metadata.xml @@ -1,12 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - <upstream> - <remote-id type="github">JodaOrg/joda-time</remote-id> - <remote-id type="sourceforge">joda-time</remote-id> - </upstream> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">JodaOrg/joda-time</remote-id> + <remote-id type="sourceforge">joda-time</remote-id> + <bugs-to>https://github.com/JodaOrg/joda-time/issues</bugs-to> + <doc>https://www.joda.org/joda-time/userguide.html</doc> + </upstream> </pkgmetadata> |