Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/net-http-pipeline/
Date: Thu, 25 Nov 2021 09:10:03
Message-Id: 1637831390.e1fb94b2b291ccf47ab5d3fe3310df19412fb80f.graaff@gentoo
1 commit: e1fb94b2b291ccf47ab5d3fe3310df19412fb80f
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 07:46:55 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 09:09:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fb94b2
7
8 dev-ruby/net-http-pipeline: add ruby30
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 .../net-http-pipeline-1.0.1-r1.ebuild | 27 ++++++++++++++++++++++
14 1 file changed, 27 insertions(+)
15
16 diff --git a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild
17 new file mode 100644
18 index 000000000000..a4b32a23797d
19 --- /dev/null
20 +++ b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild
21 @@ -0,0 +1,27 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +USE_RUBY="ruby26 ruby27 ruby30"
27 +
28 +inherit ruby-fakegem
29 +
30 +DESCRIPTION="An HTTP/1.1 pipelining implementation atop Net::HTTP"
31 +HOMEPAGE="http://docs.seattlerb.org/net-http-pipeline/"
32 +
33 +LICENSE="MIT"
34 +SLOT="1"
35 +KEYWORDS="~amd64"
36 +IUSE=""
37 +
38 +ruby_add_bdepend "
39 + test? ( dev-ruby/minitest )
40 +"
41 +
42 +all_ruby_prepare() {
43 + eapply -p0 "${FILESDIR}/${PN}-accept-encoding.patch"
44 +}
45 +
46 +each_ruby_test() {
47 + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
48 +}