summaryrefslogtreecommitdiff
path: root/dev-java/constantine
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/constantine
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/constantine')
-rw-r--r--dev-java/constantine/Manifest5
-rw-r--r--dev-java/constantine/constantine-0.7-r1.ebuild38
-rw-r--r--dev-java/constantine/metadata.xml11
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-java/constantine/Manifest b/dev-java/constantine/Manifest
new file mode 100644
index 000000000000..92b9c8831cd1
--- /dev/null
+++ b/dev-java/constantine/Manifest
@@ -0,0 +1,5 @@
+DIST constantine-0.7.tar.gz 65563 SHA256 5600c264d3f32a48342e4b00643a8a8a543f15c6107a1c1be024e328a74e59b1 SHA512 2694caae29bae1a3e1d765ac02c4014bc6fd3dac8370feb5d12f43119c057fc2a2e75b0aa37eec0164bf8a82a1bafb0f41565f397b956ae53a52f7cb803508c7 WHIRLPOOL 6a7c3ae5b0423690005656c69897d82244d05ea27056c4dbe4229390b648bce23775b699e8d719f347ea602e76313af5e19d47e932637fd919fb2fa2b64142d6
+EBUILD constantine-0.7-r1.ebuild 856 SHA256 56f50fdabeb41405dda98bfacc471de67a1beee304acd361ada294c498f33d64 SHA512 29ce3574c7c6ec10b42121899f1295ef0884e1cab70bdca8da98c3baede8178e596ce28f5b9b8b09bd8d7e6076763c1c47deec10c7ce37257df2f43bac9d9cf4 WHIRLPOOL c1bc5c664cf001f24562a80c9097045eaba30e973789ecc45242f80a326e85deb5936e8ac777c5b7d5c188f91b2e89399086eea14b79c70b3de908439239838b
+MISC ChangeLog 3415 SHA256 6d0fbb709208b63246118efaaa8c8ac52ec456ba5f7125b329258a1a5dab1df6 SHA512 ad109a1056c6c0dbeee6bd70d422d4eabe2f7c737d11b359f2af43da1437d69ec7b571ffa57a8a239d98b303eb01b3a1f4b3adf9d404d2d2150803555036f223 WHIRLPOOL 67fb6966bb9053487593fbdc34662c56ec4022d6128c83ef939f102ba3c14d5865a15943bb6fc9da8067221f7383f75bb956cdf394846090f97b53ef618971e6
+MISC ChangeLog-2015 1526 SHA256 b47c4787c8104dda3ced842ae1c9a1546b7796fe959e4b5340808ee12695dd67 SHA512 07c7dc5e51150f39466955af58224ab0ebfc7c5e09ac917e0718a15a7eb3136f540baa8eae7ed51fccc2963cf8df6d80d298a5df9ec26510a47d68868ad71309 WHIRLPOOL 25456d62f0a8226aacf3beb7c30cfe6e8990ba59f8f33002ead5582297b0e2a5c0eba3fb17d2b5f5ddcff68b31d2d5bee0597a29ddf64168469485bc1219e2a1
+MISC metadata.xml 334 SHA256 1be6c4405ff0569ea612395f924d3d110ee125efd418ad0f21ba4d93e69ebd85 SHA512 a4669719091792c9243f012194a0c0c56eebe367deebf09a952f2b98d5545a7996db08b655bcb5e8ec6d962eff67c8a159a0cd7427efc5c7e05e97d67b8a21b9 WHIRLPOOL 0161fd542f8af459f274a1d15e3073b1bce21349c7a3b94db091cbbb9a35ccdf0924efae6862b948bc8b28b7490b77a842e03b32b36142f262db239a5e84f7ff
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>