summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-30 22:19:17 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-30 22:24:28 +0000
commit2ededbbbbd2394c0d93cbea566500c98b8826ba4 (patch)
tree67f64dcbbf526e3c2818332e3f258d475a3d262d /dev-java/javax-inject
parentuse QA_PREBUILT; add dies (diff)
downloadgentoo-2ededbbbbd2394c0d93cbea566500c98b8826ba4.tar.gz
gentoo-2ededbbbbd2394c0d93cbea566500c98b8826ba4.tar.bz2
gentoo-2ededbbbbd2394c0d93cbea566500c98b8826ba4.zip
dev-java/javax-inject: Remove the cruft and make use of java-pkg-simple.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/javax-inject')
-rw-r--r--dev-java/javax-inject/Manifest1
-rw-r--r--dev-java/javax-inject/javax-inject-1-r2.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/javax-inject/Manifest b/dev-java/javax-inject/Manifest
index d24bcf5991d3..02ae8060380e 100644
--- a/dev-java/javax-inject/Manifest
+++ b/dev-java/javax-inject/Manifest
@@ -1 +1,2 @@
DIST javax.inject-1-bundle.jar 43323 SHA256 efe257736656de99747098ceafd64dae7b5722a585176eb79ee9dbf7cd995ee5 SHA512 397db77e3426a4539b895535557cbe9e1795c186a9bc397efa716b42d02b03c4403f20c4c13fb2b99b25e5a14abd3407e9d0d843cd4c3442a1386a2b30ba50e3 WHIRLPOOL 466ae846ad0c8abcc1279e314f79121bd17c627d3729e7dd1c144b5d67f161e0f5fdee278b51c689cdcdcc01ac5fe5f2c8b8b103d94e18413f2b37cfb1b4b7f7
+DIST javax.inject-1-sources.jar 10928 SHA256 c4b87ee2911c139c3daf498a781967f1eb2e75bc1a8529a2e7b328a15d0e433e SHA512 8bcfae4933073c212c3370a36cdacbff0474648720766df5d0acfc2dafd3307a514b7fb49c08762d32bfca9d8afce47cbfe1eba7399b459b6543472ac9de715b WHIRLPOOL 4ae44b7088d381f8875d910bafb74e99b724277bffc5274bde75588b614aa0defd66b43a0774957f9cba4d28435397b3e130d9373b0e68e3a29857f0a36cf18b
diff --git a/dev-java/javax-inject/javax-inject-1-r2.ebuild b/dev-java/javax-inject/javax-inject-1-r2.ebuild
new file mode 100644
index 000000000000..ce059bbcc4ab
--- /dev/null
+++ b/dev-java/javax-inject/javax-inject-1-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="${PN/-/.}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Dependency injection for Java (JSR-330)"
+HOMEPAGE="https://code.google.com/p/atinject/"
+SRC_URI="http://central.maven.org/maven2/javax/inject/${MY_PN}/${PV}/${MY_P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE=""
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6
+ app-arch/unzip"