1 |
commit: 6421c6e54027f76823bb67efe8e3dc16590a4ea7 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 18 05:07:19 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 05:40:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6421c6e5 |
7 |
|
8 |
dev-ruby/httparty: 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/httparty/Manifest | 1 - |
14 |
dev-ruby/httparty/httparty-0.17.3.ebuild | 57 -------------------------------- |
15 |
2 files changed, 58 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest |
18 |
index 30c970db374..cedcfd14cf7 100644 |
19 |
--- a/dev-ruby/httparty/Manifest |
20 |
+++ b/dev-ruby/httparty/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST httparty-0.17.3.tar.gz 97444 BLAKE2B 773e40fc35ca44cd3b14a30e7a7ea5783c0c158cdb8488b34ffa36af5a572d5f6eef697cab147c5be1448906c35071284947ba598409be35af54a20846f4d98c SHA512 c06aa4456c692e2a32f8e44b2316d46f664c4e2c8efb370607796f6801d96e989a54e61bdf125cff679b8c5f5abb1557b87aef48d8f3a392c1942ac4821db84d |
23 |
DIST httparty-0.18.1.tar.gz 97813 BLAKE2B 3192ad5f1e8c292456710529f4e1595ea5b70ae4ad61695d6d0b036872d40b2afbc0c958ffb25b0c1222ba8004593d20c4d3954c530d6c836e915b87150d954a SHA512 fca9de534199fbf6a058c39c3ebe28587c34df2bffee313a0e05204258fb6b6b6643bd0a28deca9d0b42de21c90c54dab058124349e4774489578fb23e8bacf5 |
24 |
|
25 |
diff --git a/dev-ruby/httparty/httparty-0.17.3.ebuild b/dev-ruby/httparty/httparty-0.17.3.ebuild |
26 |
deleted file mode 100644 |
27 |
index 568d1d50706..00000000000 |
28 |
--- a/dev-ruby/httparty/httparty-0.17.3.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,57 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-USE_RUBY="ruby24 ruby25 ruby26" |
37 |
- |
38 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
- |
40 |
-RUBY_FAKEGEM_RECIPE_DOC="none" |
41 |
-RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" |
42 |
- |
43 |
-RUBY_FAKEGEM_GEMSPEC="httparty.gemspec" |
44 |
- |
45 |
-inherit ruby-fakegem |
46 |
- |
47 |
-DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy" |
48 |
-HOMEPAGE="https://jnunemaker.github.com/httparty" |
49 |
-SRC_URI="https://github.com/jnunemaker/httparty/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
- |
51 |
-LICENSE="MIT" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="amd64 ~x86" |
54 |
-IUSE="" |
55 |
- |
56 |
-ruby_add_rdepend 'dev-ruby/mime-types:3 >=dev-ruby/multi_xml-0.5.2' |
57 |
- |
58 |
-ruby_add_bdepend 'test? ( dev-ruby/webmock )' |
59 |
- |
60 |
-all_ruby_prepare() { |
61 |
- sed -i -e 's/git ls-files \?-\?-\?/find/' ${RUBY_FAKEGEM_GEMSPEC} || die |
62 |
- |
63 |
- # Remove bundler |
64 |
- rm Gemfile || die |
65 |
- sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die |
66 |
- |
67 |
- # Avoid test dependency on cucumber. We can't run the features since |
68 |
- # they depend on mongrel which is no longer packaged. |
69 |
- sed -i -e '/cucumber/I s:^:#:' Rakefile || die |
70 |
- |
71 |
- # Avoid test dependency on simplecov |
72 |
- sed -i -e '/simplecov/I s:^:#:' \ |
73 |
- -e '1i require "cgi"; require "delegate"' spec/spec_helper.rb || die |
74 |
- |
75 |
- # Avoid test that works standalone but fails in the suite |
76 |
- sed -i -e '/calls block given to perform with each redirect/,/^ end/ s:^:#:' spec/httparty/request_spec.rb |
77 |
- |
78 |
- # Avoid test that is not fully compatible with newer multi_xml |
79 |
- sed -i -e '/should be able parse response type xml automatically/askip "multi_xml"' spec/httparty_spec.rb || die |
80 |
-} |
81 |
- |
82 |
-all_ruby_install() { |
83 |
- all_fakegem_install |
84 |
- |
85 |
- docinto examples |
86 |
- dodoc examples/* |
87 |
-} |