summaryrefslogtreecommitdiff
path: root/dev-java/guice
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/guice
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/guice')
-rw-r--r--dev-java/guice/Manifest3
-rw-r--r--dev-java/guice/guice-4.1.ebuild51
-rw-r--r--dev-java/guice/metadata.xml12
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/guice/Manifest b/dev-java/guice/Manifest
new file mode 100644
index 000000000000..22404862eb13
--- /dev/null
+++ b/dev-java/guice/Manifest
@@ -0,0 +1,3 @@
+DIST guice-4.1.tar.gz 23212767 BLAKE2B bab34da971c1a154eca468bbae4f32db97c0f7ce88bd66cea9c79ef08871db06877ab1ea6495c920977ae139af0bddef2fa4bef8ff5783d2bd53c736bfa07153 SHA512 b42c6475a1d17c111a2ca278ac007bee541806685c0938c66f638808bd81d58aa99ba5aef2e4d8320dd5014df4307c5d2dd192111f4610c73a1eeef328771c00
+EBUILD guice-4.1.ebuild 1126 BLAKE2B 3233c7c0a85171eaa6d6a591c2522cc840dc412119a0f570e65cadbd110b77b2b4dce4b54af9ac8ea7b2daab409699975177a97b633bd1161a8c51a7269e5f9a SHA512 141d82a11d83dcca1913e2d573b0de7f9ce0f59e400637e282ef2e5aba39254cb52d20434a959d635730be23735bbb3606c0649d446dd849e5583bd533608bc5
+MISC metadata.xml 370 BLAKE2B 1947f66d04462084f7c9c854ad4b8be47d00994b30cde5b58393a182ca94fe2d5cdb78d9d65c2c3981c019a5fe0c3ad8971faca666f0cc6f5c0f0d8f8717e83f SHA512 609b5eac7886689f76a4ceb3dde48858b270bd66ba3c37129069194875a4f967134b46be02236a3103f159e1a2d591b18aac94351415b9611b25e4730cbb6332
diff --git a/dev-java/guice/guice-4.1.ebuild b/dev-java/guice/guice-4.1.ebuild
new file mode 100644
index 000000000000..f6bb9b557587
--- /dev/null
+++ b/dev-java/guice/guice-4.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A lightweight dependency injection framework for Java 5 and above"
+HOMEPAGE="https://github.com/google/guice/"
+SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="4"
+KEYWORDS="amd64 x86"
+RESTRICT="test"
+
+CP_DEPEND="dev-java/aopalliance:1
+ >=dev-java/asm-5:4
+ >=dev-java/cglib-3.1:3
+ dev-java/guava:20
+ dev-java/javax-inject:0"
+
+RDEPEND=">=virtual/jre-1.7
+ ${CP_DEPEND}"
+
+DEPEND=">=virtual/jdk-1.7
+ ${CP_DEPEND}"
+
+JAVA_PKG_BSFIX_ALL="no"
+JAVA_PKG_BSFIX_NAME="build.xml common.xml"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+src_prepare() {
+ default
+
+ # Where could we get this FREAKIN jar?
+ java-pkg_clean ! -name "bnd-*.jar"
+}
+
+src_compile() {
+ EANT_BUILD_TARGET="compile manifest" java-pkg-2_src_compile
+ jar cfm ${PN}.jar build/META-INF/MANIFEST.MF -C build/classes . || die
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ dodoc {CONTRIBUTING,README}.md
+ use source && java-pkg_dosrc core/src/*
+}
diff --git a/dev-java/guice/metadata.xml b/dev-java/guice/metadata.xml
new file mode 100644
index 000000000000..e1f6796d80f7
--- /dev/null
+++ b/dev-java/guice/metadata.xml
@@ -0,0 +1,12 @@
+<?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="google-code">google-guice</remote-id>
+ <remote-id type="github">google/guice</remote-id>
+ </upstream>
+</pkgmetadata>