public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/guice/
Date: Wed, 27 Apr 2022 11:08:47 +0000 (UTC)	[thread overview]
Message-ID: <1651057698.22da87cc899d037cf200c0ea1dd19c45189a0841.flow@gentoo> (raw)

commit:     22da87cc899d037cf200c0ea1dd19c45189a0841
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Feb 22 14:22:40 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 11:08:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22da87cc

dev-java/guice: Bump to 5.1.0

Closes: https://bugs.gentoo.org/833327
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25106
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/guice/Manifest           |  1 +
 dev-java/guice/guice-5.1.0.ebuild | 81 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/dev-java/guice/Manifest b/dev-java/guice/Manifest
index 4349f0bee98f..843d1f08107c 100644
--- a/dev-java/guice/Manifest
+++ b/dev-java/guice/Manifest
@@ -1 +1,2 @@
 DIST guice-4.1.tar.gz 23212767 BLAKE2B bab34da971c1a154eca468bbae4f32db97c0f7ce88bd66cea9c79ef08871db06877ab1ea6495c920977ae139af0bddef2fa4bef8ff5783d2bd53c736bfa07153 SHA512 b42c6475a1d17c111a2ca278ac007bee541806685c0938c66f638808bd81d58aa99ba5aef2e4d8320dd5014df4307c5d2dd192111f4610c73a1eeef328771c00
+DIST guice-5.1.0.tar.gz 650452 BLAKE2B 66c56b8605d189a3a6834a1de9ba6b7c6600583dfefa7808ae0b0b71d7f07746811a76326fc3ff56f2fd0d377f7bc3eb04d1c996ab2289eb48dff91d2f12b5f0 SHA512 b9719f07725c3188b8b903c8eee74ef59397f85f7452e38ef8ba2b3b66a56cef427d4dcee4e5d9c4033404a2f5cdadc2d40b6f7076b4c08fe1ec109910206e6a

diff --git a/dev-java/guice/guice-5.1.0.ebuild b/dev-java/guice/guice-5.1.0.ebuild
new file mode 100644
index 000000000000..d4345e50897c
--- /dev/null
+++ b/dev-java/guice/guice-5.1.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom core/pom.xml --download-uri https://github.com/google/guava/archive/v30.1.1.tar.gz --slot 5 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x866" --ebuild guice-5.1.0.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.google.inject:guice:5.1.0"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Guice is a lightweight dependency injection framework for Java 6 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 ~arm ~arm64 ~ppc64 ~x86"
+
+# Most of the test dependencies are missing in Gentoo.
+RESTRICT="test"
+
+# Common dependencies
+# POM: core/pom.xml
+# aopalliance:aopalliance:1.0 -> >=dev-java/aopalliance-1.0:1
+# com.google.guava:guava:30.1-jre -> >=dev-java/guava-30.1.1:0
+# javax.inject:javax.inject:1 -> >=dev-java/javax-inject-1:0
+# org.ow2.asm:asm:9.2 -> >=dev-java/asm-9.2:9
+
+CP_DEPEND="
+	dev-java/aopalliance:1
+	dev-java/asm:9
+	dev-java/guava:0
+	dev-java/javax-inject:0
+"
+
+# Compile dependencies
+# POM: core/pom.xml
+# test? biz.aQute:bnd:0.0.384 -> !!!groupId-not-found!!!
+# test? com.google.guava:guava-testlib:30.1-jre -> >=dev-java/guava-testlib-30.1.1:0
+# test? com.google.truth:truth:0.45 -> !!!groupId-not-found!!!
+# test? javax.inject:javax.inject-tck:1 -> !!!artifactId-not-found!!!
+# test? junit:junit:4.13 -> >=dev-java/junit-4.13.2:4
+# test? org.apache.felix:org.apache.felix.framework:3.0.5 -> !!!groupId-not-found!!!
+
+DEPEND="
+	>=virtual/jdk-1.8:*
+	${CDEPEND}
+	test? (
+		dev-java/guava-testlib:0
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+	${CP_DEPEND}"
+
+DOCS=( {COPYING,{CONTRIBUTING,README}.md} )
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR=( "core/src" )
+JAVA_RESOURCE_DIRS=( "core/res" )
+
+JAVA_TEST_GENTOO_CLASSPATH="guava-testlib,junit-4"
+JAVA_TEST_SRC_DIR=( "core/test" )
+JAVA_TEST_RESOURCE_DIRS=( "core/test" )
+
+src_prepare() {
+	default
+	mkdir -p "core/res/com/google/inject/" || die
+	cp core/{src,res}/com/google/inject/BUILD || die
+}
+
+src_install() {
+	default # https://bugs.gentoo.org/789582
+	java-pkg-simple_src_install
+}


             reply	other threads:[~2022-04-27 11:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27 11:08 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09 11:08 [gentoo-commits] repo/gentoo:master commit in: dev-java/guice/ Florian Schmaus
2023-12-08  9:53 Miroslav Šulc
2022-06-07 18:56 Arthur Zamarin
2022-06-07 18:32 Arthur Zamarin
2022-06-07 18:32 Arthur Zamarin
2022-05-17  9:24 Agostino Sarubbo
2022-05-11 12:54 Agostino Sarubbo
2021-12-22 18:47 Arthur Zamarin
2021-11-15 19:41 Agostino Sarubbo
2021-11-11  2:22 Sam James
2021-10-19  0:15 Sam James
2021-07-24 15:22 Sam James
2017-08-31 19:55 James Le Cuirot
2017-08-31 19:55 James Le Cuirot
2016-11-22  0:01 James Le Cuirot
2016-03-14 21:04 James Le Cuirot
2016-01-22 21:51 James Le Cuirot
2015-08-16 15:10 Justin Lecher
2015-08-16  0:45 Patrice Clement
2015-08-16  0:45 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651057698.22da87cc899d037cf200c0ea1dd19c45189a0841.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox