public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/netty-common/
Date: Thu,  7 Apr 2016 21:45:57 +0000 (UTC)	[thread overview]
Message-ID: <1460065533.4a4da1e29f3b9502c65266045d4230a20dc392ce.chewi@gentoo> (raw)

commit:     4a4da1e29f3b9502c65266045d4230a20dc392ce
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  5 08:53:42 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 21:45:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4da1e2

dev-java/netty-common: Version bump to 4.0.36, working tests

Package-Manager: portage-2.2.28

 dev-java/netty-common/Manifest                   |  1 +
 dev-java/netty-common/netty-common-4.0.36.ebuild | 62 ++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-java/netty-common/Manifest b/dev-java/netty-common/Manifest
index 1a0177d..d8282da 100644
--- a/dev-java/netty-common/Manifest
+++ b/dev-java/netty-common/Manifest
@@ -1,2 +1,3 @@
 DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a
 DIST netty-4.0.32.Final.tar.gz 1188681 SHA256 723d8f3495522ad73528c06a65b9c0b5b5b72db341daacd0d64bdc8df3412d04 SHA512 160006fc014c5211010449ba1aca2f2d20320340a077ea27098f1d94702066450da950f3951b1cbcfebdee7506f7ec715bb8c007fa539c15f803ba24690e77c6 WHIRLPOOL 6a7b90d952acfe558bf36a2d0fd3dce3ba33f3047e5caf97ddfb6d3f1bf2ab26294af375b792e281804fb1b5a696f7e14dd15f7d93e26a8979600ea03eeddb1c
+DIST netty-4.0.36.Final.tar.gz 1267617 SHA256 c37c139dd662331612bb29dcb8f708dd23ecd7c0a14730292cf525bfa48e96d8 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6 WHIRLPOOL 535e29762344f3ad7a3d6c7da9df2b56ddb170d184397150dc17c87fe3bee358d7e76e57e6ab88df2acc374be995b119158a368bcc59a069fc45bedf517034fc

diff --git a/dev-java/netty-common/netty-common-4.0.36.ebuild b/dev-java/netty-common/netty-common-4.0.36.ebuild
new file mode 100644
index 0000000..f4ff97f
--- /dev/null
+++ b/dev-java/netty-common/netty-common-4.0.36.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 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="netty"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Async event-driven framework for high performance network applications"
+HOMEPAGE="http://netty.io/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_P}.Final.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-java/commons-logging:0
+	dev-java/javassist:3
+	dev-java/log4j:0
+	dev-java/slf4j-api:0"
+
+RDEPEND=">=virtual/jre-1.7
+	${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	test? (
+		dev-java/asm:4
+		dev-java/cglib:3
+		dev-java/easymock:3.2
+		dev-java/hamcrest-core:1.3
+		dev-java/hamcrest-library:1.3
+		dev-java/junit:4
+		dev-java/mockito:0
+		dev-java/objenesis:0
+		dev-java/slf4j-simple:0
+	)"
+
+S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}"
+JAVA_SRC_DIR="src/main/java"
+JAVA_GENTOO_CLASSPATH="commons-logging,javassist-3,log4j,slf4j-api"
+
+java_prepare() {
+	# Needs Mockito 1.10.
+	rm -v src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java || die
+}
+
+src_test() {
+	cd src/test/java || die
+
+	local CP=".:${S}/${PN}.jar:$(java-pkg_getjars --with-dependencies ${JAVA_GENTOO_CLASSPATH},asm-4,cglib-3,easymock-3.2,hamcrest-core-1.3,hamcrest-library-1.3,junit-4,mockito,objenesis,slf4j-simple)"
+	local TESTS=$(find * -name "*Test.java")
+	TESTS="${TESTS//.java}"
+	TESTS="${TESTS//\//.}"
+
+	ejavac -cp "${CP}" -d . $(find * -name "*.java")
+	ejunit4 -classpath "${CP}" ${TESTS}
+}


             reply	other threads:[~2016-04-07 21:46 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07 21:45 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-31 18:58 [gentoo-commits] repo/gentoo:master commit in: dev-java/netty-common/ Arthur Zamarin
2022-03-31 16:45 Arthur Zamarin
2022-03-28  6:53 Agostino Sarubbo
2022-03-27  6:24 Agostino Sarubbo
2022-03-26 19:48 Agostino Sarubbo
2022-02-26 11:53 Arthur Zamarin
2022-02-25 18:53 Arthur Zamarin
2022-02-24  9:42 Miroslav Šulc
2022-01-18 12:53 Arthur Zamarin
2022-01-13  6:34 Sam James
2022-01-10 19:10 Arthur Zamarin
2022-01-10 11:23 Jakov Smolić
2022-01-10  8:38 Agostino Sarubbo
2022-01-01  8:32 Miroslav Šulc
2021-12-08  8:44 Miroslav Šulc
2021-12-01 18:56 Sam James
2021-11-25  4:15 Sam James
2021-11-25  4:14 Sam James
2021-11-25  4:11 Sam James
2021-11-19  7:24 Arthur Zamarin
2020-05-17 16:55 Aaron Bauman
2017-07-17 11:30 Alexis Ballier
2017-04-08 21:57 Patrice Clement
2016-04-07 21:45 James Le Cuirot
2015-10-13 12:00 Patrice Clement
2015-10-01  8:39 Patrice Clement
2015-09-05 18:17 Zac Medico

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=1460065533.4a4da1e29f3b9502c65266045d4230a20dc392ce.chewi@gentoo \
    --to=chewi@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