diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/constantine | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/constantine')
-rw-r--r-- | dev-java/constantine/Manifest | 3 | ||||
-rw-r--r-- | dev-java/constantine/constantine-0.7-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-java/constantine/metadata.xml | 11 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/constantine/Manifest b/dev-java/constantine/Manifest new file mode 100644 index 000000000000..8cab599dd919 --- /dev/null +++ b/dev-java/constantine/Manifest @@ -0,0 +1,3 @@ +DIST constantine-0.7.tar.gz 65563 BLAKE2B 25298a086d05955e5ffaebc705ecf704cb856f6d08740c45618ebb721b2c6344f2be079bf2a4411161ff67584b92454162657adf6e3539474d0dc4500f85dfaf SHA512 2694caae29bae1a3e1d765ac02c4014bc6fd3dac8370feb5d12f43119c057fc2a2e75b0aa37eec0164bf8a82a1bafb0f41565f397b956ae53a52f7cb803508c7 +EBUILD constantine-0.7-r1.ebuild 856 BLAKE2B 8305dcccfc638188bb63cc60695ebf06cd07a77f4676204f66a926d31aec9d5eb5d18b1c2abc5d7c0da0cda8b42208064366a06dbc32a077e376bacae44279cb SHA512 29ce3574c7c6ec10b42121899f1295ef0884e1cab70bdca8da98c3baede8178e596ce28f5b9b8b09bd8d7e6076763c1c47deec10c7ce37257df2f43bac9d9cf4 +MISC metadata.xml 334 BLAKE2B 0c2a22097391d36d74e4aa8dd0c0750027523f99d51524365bfd5eb104ddbedbcc971856644d5b7040450debc5d25a50421e693312381224c9c59805799eaeed SHA512 a4669719091792c9243f012194a0c0c56eebe367deebf09a952f2b98d5545a7996db08b655bcb5e8ec6d962eff67c8a159a0cd7427efc5c7e05e97d67b8a21b9 diff --git a/dev-java/constantine/constantine-0.7-r1.ebuild b/dev-java/constantine/constantine-0.7-r1.ebuild new file mode 100644 index 000000000000..695a644d81af --- /dev/null +++ b/dev-java/constantine/constantine-0.7-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Provides Java values for common platform C constants" +HOMEPAGE="https://github.com/wmeissner/jnr-constants" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" + +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/ant-junit:0 + )" + +src_compile() { + # ecj doesn't like some cast for some reason + java-pkg_force-compiler javac + java-pkg-2_src_compile +} + +src_test() { + ANT_TASKS="ant-junit4" eant test -Dlibs.junit_4.classpath="$(java-pkg_getjars --with-dependencies junit-4)" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/constantine/metadata.xml b/dev-java/constantine/metadata.xml new file mode 100644 index 000000000000..321d427eaeba --- /dev/null +++ b/dev-java/constantine/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">wmeissner/jnr-constants</remote-id> + </upstream> +</pkgmetadata> |