diff options
Diffstat (limited to 'dev-java/cal10n')
-rw-r--r-- | dev-java/cal10n/Manifest | 3 | ||||
-rw-r--r-- | dev-java/cal10n/cal10n-0.8.1.ebuild | 67 | ||||
-rw-r--r-- | dev-java/cal10n/metadata.xml | 11 |
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-java/cal10n/Manifest b/dev-java/cal10n/Manifest new file mode 100644 index 000000000000..9846f9fd65e6 --- /dev/null +++ b/dev-java/cal10n/Manifest @@ -0,0 +1,3 @@ +DIST cal10n-0.8.1.tar.gz 358264 BLAKE2B 1561d2ea7309e470b5bf5990d166af1974ddbfc766ee14101bef33d3b41e5d18bcadbe1ba769eb028d6a41c43b7498c29118a5d7c7b4a93bd55d0a9db5d42eb4 SHA512 882146cddcc8489f08c7354b2029448cc084932fbb6c448271dbfc9ddb11740744bfe161a4e4d58071fc010bc3891d094681584a7a559514d443dcceedafbca2 +EBUILD cal10n-0.8.1.ebuild 3473 BLAKE2B a70ec82aad9db833b632f467f70ebf7a515ed540d1ef5a0fe0f3dfb44b509c426f7743d2d05175bcab696cb2cb2cc883d0c45f179a9b3ebdbcc784dfa267d9da SHA512 8876562daf2a1eab67e451678fc9ab195a3635a4305895b7bcbab0797633298ca5c0b2c0e826cf8d3231b085bcdc6affb0918a443ccbfe4eddbcae91763e3a99 +MISC metadata.xml 314 BLAKE2B 9a158ffea633bbed9cd2f7d24c6783bed4c200214d8ab6b7463b7093f9aab9e545cd86a8723d89b7466172e4d50be85acd800ef5f48ec407e773256e35454071 SHA512 6e703050f8faa8ed9c3b4b8b85cb503876ac1b9cf06ff248b70dd4416f06803110f54ba412fcd5cb5ebea38a6aff8d1369520539decfb5a5c75d34442812a1c6 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..94c911a1b711 --- /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 ~arm ~arm64 ~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> |