1 |
commit: 2ffd4a6e307b0d913128321b64d162be9c8929fe |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 08:49:15 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 08:52:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ffd4a6e |
7 |
|
8 |
dev-ruby/patron: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/patron/patron-0.13.3.ebuild | 46 ------------------------------------ |
14 |
1 file changed, 46 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/patron/patron-0.13.3.ebuild b/dev-ruby/patron/patron-0.13.3.ebuild |
17 |
deleted file mode 100644 |
18 |
index cb42adae716..00000000000 |
19 |
--- a/dev-ruby/patron/patron-0.13.3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,46 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
27 |
- |
28 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
29 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
30 |
-RUBY_FAKEGEM_EXTRADOC="README.md" |
31 |
- |
32 |
-inherit multilib ruby-fakegem |
33 |
- |
34 |
-DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" |
35 |
-HOMEPAGE="https://toland.github.com/patron/" |
36 |
- |
37 |
-LICENSE="MIT" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" |
40 |
-IUSE="" |
41 |
- |
42 |
-DEPEND+=" net-misc/curl" |
43 |
-RDEPEND+=" net-misc/curl" |
44 |
- |
45 |
-ruby_add_bdepend "test? ( dev-ruby/rack www-servers/puma )" |
46 |
- |
47 |
-all_ruby_prepare() { |
48 |
- # Fix Rakefile |
49 |
- sed -i -e 's:rake/rdoctask:rdoc/task:' \ |
50 |
- -e 's/README.txt/README.md/' \ |
51 |
- -e '/bundler/I s:^:#:' \ |
52 |
- -e '/extensiontask/ s:^:#:' \ |
53 |
- -e '/ExtensionTask/,/^end/ s:^:#:' \ |
54 |
- Rakefile || die |
55 |
- |
56 |
- # Avoid specs with failures. We were not running any specs before. |
57 |
- rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb || die |
58 |
-} |
59 |
- |
60 |
-each_ruby_configure() { |
61 |
- ${RUBY} -Cext/patron extconf.rb || die |
62 |
-} |
63 |
- |
64 |
-each_ruby_compile() { |
65 |
- emake -Cext/patron V=1 |
66 |
- cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to cp shared object file" |
67 |
-} |