diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-03-10 08:53:34 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-03-14 09:00:53 +0100 |
commit | 2a29c538f96dbf9afc6cb6a9cd8b0da191a07101 (patch) | |
tree | c6dfe963dc10910b9eec24694bbd29f37140615e /dev-java/cal10n | |
parent | dev-java/slf4j-nop: Bump to 1.7.36 (diff) | |
download | gentoo-2a29c538f96dbf9afc6cb6a9cd8b0da191a07101.tar.gz gentoo-2a29c538f96dbf9afc6cb6a9cd8b0da191a07101.tar.bz2 gentoo-2a29c538f96dbf9afc6cb6a9cd8b0da191a07101.zip |
dev-java/cal10n: Reincarnation
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24468/commits/e4c76acf0ed0a29fe2b08f35a4e85d0d153135a3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/cal10n')
-rw-r--r-- | dev-java/cal10n/Manifest | 1 | ||||
-rw-r--r-- | dev-java/cal10n/cal10n-0.8.1.ebuild | 67 | ||||
-rw-r--r-- | dev-java/cal10n/metadata.xml | 11 |
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-java/cal10n/Manifest b/dev-java/cal10n/Manifest new file mode 100644 index 000000000000..664a8401ecfc --- /dev/null +++ b/dev-java/cal10n/Manifest @@ -0,0 +1 @@ +DIST cal10n-0.8.1.tar.gz 358264 BLAKE2B 1561d2ea7309e470b5bf5990d166af1974ddbfc766ee14101bef33d3b41e5d18bcadbe1ba769eb028d6a41c43b7498c29118a5d7c7b4a93bd55d0a9db5d42eb4 SHA512 882146cddcc8489f08c7354b2029448cc084932fbb6c448271dbfc9ddb11740744bfe161a4e4d58071fc010bc3891d094681584a7a559514d443dcceedafbca2 diff --git a/dev-java/cal10n/cal10n-0.8.1.ebuild b/dev-java/cal10n/cal10n-0.8.1.ebuild new file mode 100644 index 000000000000..4a31f152bf2c --- /dev/null +++ b/dev-java/cal10n/cal10n-0.8.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="ch.qos.cal10n:cal10n-api:0.8.1" +# JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="java library for writing localized messages using resource bundle" +HOMEPAGE="http://cal10n.qos.ch/" +SRC_URI="https://github.com/qos-ch/cal10n/archive/v_${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +S="${WORKDIR}/cal10n-v_${PV}/${PN}-api" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +# There are compilation errors in test phase: +# warning: Supported source version 'RELEASE_5' from annotation processor 'ch.qos.cal10n.verifier.processor.CAL10NAnnotationProcessor' less than -source '8' +# src/test/java/ch/qos/cal10n/util/Fruit.java:30: error: Failed to locate resource bundle [fruits] for locale [fr] for enum type [ch.qos.cal10n.util.Fruit] +# public enum Fruit { +# ^ +# src/test/java/ch/qos/cal10n/util/Fruit.java:30: error: Failed to locate resource bundle [fruits] for locale [en] for enum type [ch.qos.cal10n.util.Fruit] +# public enum Fruit { +# ^ +# src/test/java/ch/qos/cal10n/sample/Minimal.java:34: error: Missing or empty @LocaleData annotation in enum type [ch.qos.cal10n.sample.Minimal]. See http://cal10n.qos.ch/codes.html#missingLDAnnotation +# public enum Minimal { +# ^ +# src/test/java/ch/qos/cal10n/sample/Labels.java:9: error: Missing or empty @LocaleData annotation in enum type [ch.qos.cal10n.sample.Labels]. See http://cal10n.qos.ch/codes.html#missingLDAnnotation +# public enum Labels { +# ^ +# src/test/java/ch/qos/cal10n/sample/Host.java:8: error: Missing or empty @LocaleData annotation in enum type [ch.qos.cal10n.sample.Host.OtherColors]. See http://cal10n.qos.ch/codes.html#missingLDAnnotation +# public enum OtherColors { +# ^ +# src/test/java/ch/qos/cal10n/sample/Furnitures.java:33: error: Failed to locate resource bundle [furnitures] for locale [en_UK] for enum type [ch.qos.cal10n.sample.Furnitures] +# public enum Furnitures { +# ^ +# src/test/java/ch/qos/cal10n/sample/Countries.java:33: error: Key [CH] present in enum type [ch.qos.cal10n.sample.Countries] but absent in resource bundle named [countries] for locale [en] +# public enum Countries { +# ^ +# src/test/java/ch/qos/cal10n/sample/Countries.java:33: error: Key [BR] present in resource bundle named [countries] for locale [en] but absent in enum type [ch.qos.cal10n.sample.Countries] +# public enum Countries { +# ^ +# src/test/java/ch/qos/cal10n/sample/Countries.java:33: error: Key [CH] present in enum type [ch.qos.cal10n.sample.Countries] but absent in resource bundle named [countries] for locale [fr] +# public enum Countries { +# ^ +# src/test/java/ch/qos/cal10n/sample/Countries.java:33: error: Key [CN] present in enum type [ch.qos.cal10n.sample.Countries] but absent in resource bundle named [countries] for locale [fr] +# public enum Countries { +# ^ +# src/test/java/ch/qos/cal10n/sample/Countries.java:33: error: Key [BR] present in resource bundle named [countries] for locale [fr] but absent in enum type [ch.qos.cal10n.sample.Countries] +# public enum Countries { +# ^ +# 11 errors + +# JAVA_TEST_GENTOO_CLASSPATH="junit-4" +# JAVA_TEST_SRC_DIR="src/test/java" +# JAVA_TEST_RESOURCE_DIRS="src/test/resources" diff --git a/dev-java/cal10n/metadata.xml b/dev-java/cal10n/metadata.xml new file mode 100644 index 000000000000..846277cea474 --- /dev/null +++ b/dev-java/cal10n/metadata.xml @@ -0,0 +1,11 @@ +<?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">qos-ch/cal10n</remote-id> + </upstream> +</pkgmetadata> |