From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/guice/Manifest | 5 ++++ dev-java/guice/guice-4.1.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++ dev-java/guice/metadata.xml | 12 ++++++++++ 3 files changed, 68 insertions(+) create mode 100644 dev-java/guice/Manifest create mode 100644 dev-java/guice/guice-4.1.ebuild create mode 100644 dev-java/guice/metadata.xml (limited to 'dev-java/guice') diff --git a/dev-java/guice/Manifest b/dev-java/guice/Manifest new file mode 100644 index 000000000000..35e17a5b6370 --- /dev/null +++ b/dev-java/guice/Manifest @@ -0,0 +1,5 @@ +DIST guice-4.1.tar.gz 23212767 SHA256 77650231a0b12c0f0551202ae4dcfc1a4364e090f461cc3d21616d45bfc49537 SHA512 b42c6475a1d17c111a2ca278ac007bee541806685c0938c66f638808bd81d58aa99ba5aef2e4d8320dd5014df4307c5d2dd192111f4610c73a1eeef328771c00 WHIRLPOOL 9566d12d7cc001f7ddc0b3b972d06664f246a44d0dc0c2c02435f544417781c2f3cb7cce0fc21846297736f79ed59011aaaf2d2b65b08220c3d45acfdba8c76b +EBUILD guice-4.1.ebuild 1126 SHA256 b51714ab54d76b2549d48ef942db5ec60bb3756ff0b3903ff6fa954e0e43b04e SHA512 141d82a11d83dcca1913e2d573b0de7f9ce0f59e400637e282ef2e5aba39254cb52d20434a959d635730be23735bbb3606c0649d446dd849e5583bd533608bc5 WHIRLPOOL 8eb1302d9c0db24c01da05c43f64b3a61dd120a439a54eb8a77152fc6804545967d142d161d94a0f1c2af60d8e7c21050e6eadb76d5e7c9ee4d09361da7a9d0e +MISC ChangeLog 4225 SHA256 1ad1b0702a6f338b2abaa85da1902e6f2b9dccb6836359e2c4a36dcdbcf89e86 SHA512 c08fd4b3dd45b5be218ea788dd3815c3af35d4ba781cd0bad16b10b371c33902c81ba23a3e73c39b16f5c9f1601b0a8f124cfcaa58e3177ad43eba348220b943 WHIRLPOOL 85b39977babc6344224aaf0016b07fc9a3bfa247ce6f62b9ddd1c48c881477b9ce5d123c99257830a0be1e0b71ef00f31790ef1a3cffd74828265ab64fb415f1 +MISC ChangeLog-2015 1468 SHA256 faec21058d38136b1b400dc97aad91738a76bf4d9ff3148d6357f11b5fe955bf SHA512 aa3d920c4a5e0b38baa5b50332f9022976f7e55505fbfb2147412684aaed5f528b669c605fb0ef95154790fbf3da12bd988799b23a83b555bebe19096a935172 WHIRLPOOL 2d540f99db190942f3e45915350b61244c184af919479c08404607ccad0727ed30d8ccd4df2c8856e74742f482b98f603612c513a7ec0c4b36074f4e068aaf5a +MISC metadata.xml 370 SHA256 f07a31d5bdbc143be148b16af9b75bccc0e293b10975f506da2a0c51b29e5b72 SHA512 609b5eac7886689f76a4ceb3dde48858b270bd66ba3c37129069194875a4f967134b46be02236a3103f159e1a2d591b18aac94351415b9611b25e4730cbb6332 WHIRLPOOL a9d26eec94e8926cfb4215e8fdaac147f19ba7ad3def53f8e6a2d0cad7c6fca51eb104489b089c42d16104454f21406476ca9831c0816155ff8bc69c2955234e 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 @@ + + + + + java@gentoo.org + Java + + + google-guice + google/guice + + -- cgit v1.2.3