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/curb/
Date: Sun, 31 Oct 2021 04:45:11
Message-Id: 1635655496.f13f6a4b9c9cde3dad4eed2a73de3cc8ffc82376.graaff@gentoo
1 commit: f13f6a4b9c9cde3dad4eed2a73de3cc8ffc82376
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 30 07:59:47 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 04:44:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13f6a4b
7
8 dev-ruby/curb: cleanup
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 dev-ruby/curb/curb-0.9.11.ebuild | 49 ----------------------------------------
14 1 file changed, 49 deletions(-)
15
16 diff --git a/dev-ruby/curb/curb-0.9.11.ebuild b/dev-ruby/curb/curb-0.9.11.ebuild
17 deleted file mode 100644
18 index 07ac269e3ec..00000000000
19 --- a/dev-ruby/curb/curb-0.9.11.ebuild
20 +++ /dev/null
21 @@ -1,49 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -USE_RUBY="ruby25 ruby26 ruby27"
28 -
29 -RUBY_FAKEGEM_RECIPE_TEST="rake"
30 -
31 -inherit ruby-fakegem
32 -
33 -DESCRIPTION="Ruby-language bindings for libcurl"
34 -HOMEPAGE="https://github.com/taf2/curb"
35 -
36 -LICENSE="Ruby"
37 -SLOT="0"
38 -KEYWORDS="amd64"
39 -IUSE=""
40 -
41 -DEPEND+=" net-misc/curl[ssl]"
42 -RDEPEND+=" net-misc/curl[ssl]"
43 -
44 -all_ruby_prepare() {
45 - # fix tests when localhost is also ::1
46 - sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die
47 -
48 - # avoid tests making outside network connections
49 - rm tests/bug_postfields_crash.rb || die
50 - sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \
51 - -i tests/tc_curl_easy.rb || die
52 - sed -e '/test_connection_keepalive/aomit "network connection needed"' \
53 - -i tests/tc_curl_multi.rb || die
54 -
55 - # Fix test that expects wrong output
56 - sed -i -e 's/200 OK /200 OK/' tests/tc_curl_easy.rb || die
57 -
58 - # avoid failing tests where failure condition seems weird, no
59 - # upstream travis so not clear if the test is indeed broken.
60 - sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die
61 -}
62 -
63 -each_ruby_configure() {
64 - ${RUBY} -Cext extconf.rb || die "extconf.rb failed"
65 -}
66 -
67 -each_ruby_compile() {
68 - emake -Cext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" V=1
69 - cp -l ext/curb_core$(get_modname) lib || die
70 -}