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/faraday/
Date: Sun, 09 Dec 2018 07:56:53
Message-Id: 1544342001.e94751d5f67aba3a465afcbe5d712961c1d89f3f.graaff@gentoo
1 commit: e94751d5f67aba3a465afcbe5d712961c1d89f3f
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 9 07:53:21 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 9 07:53:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e94751d5
7
8 dev-ruby/faraday: cleanup
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ruby/faraday/Manifest | 1 -
14 dev-ruby/faraday/faraday-0.12.2.ebuild | 69 ----------------------------------
15 2 files changed, 70 deletions(-)
16
17 diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
18 index aadaf6a2adc..d015a045759 100644
19 --- a/dev-ruby/faraday/Manifest
20 +++ b/dev-ruby/faraday/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST faraday-0.12.2.tar.gz 62809 BLAKE2B 4dcd60192df36e1b9766eab3bcbacd729239b0e09d9e82a73d825c750fdbcfae8161cf803f078b841236a5e18b1849b4cdc34e6adebb9eaea0f0442cd65b2e74 SHA512 966fc419d529a8bba5caa6d3932ee94f7b248110edc880b532860c24abd70cb50182e40b94b4143e26575c6db7ce046fa71ac0d25010385d7f0c3dda87f39439
23 DIST faraday-0.14.0.tar.gz 65105 BLAKE2B bf5101083bd828e2ea98dcd487c7c082f8b2d2eb4d03ac7ad04e1873666db9e2cec1e6eb9887364874ea5f32d0313019d1eada5e05e25e0415bdd5aa2bcfca97 SHA512 25bba07e76a2a8bf02b0c81c045329e72d5911a2aacae56611db33dc25c89bd48bb1b4de9b20c6edc1514d3ceae8b06fca6076c85580533047c222cb30ef8dc7
24 DIST faraday-0.15.3.tar.gz 67065 BLAKE2B 7425fb885cb26394ee91098264b5e4e3038a68855b9a55b03a39faca18d4e0cd516fe447b2312538692229bb15df091317ee36aad762937b46c72e16bb19cc8a SHA512 cfc59c44481e4be27504d02bfcbdc3a3783d15940487e72aaba136f5c456d74be6cad5a686e74eed1ad216fbb58db197d04015c2d168abbbaf899c4f855acdbd
25 DIST faraday-0.15.4.tar.gz 67196 BLAKE2B 4e64e834639a6e59c028ee19d72f51ea72fd6b3be5fc63b6fbbec25716dbd735e97d8a05a210dd1a57b740a1dcd76d30a39b59c7034cab8a531f8856dc132b14 SHA512 6d1a8c66bd6e2ce417ce504bf20ea89cf24c46c2b48491aba110d04f273448e0e8f0cf94a0dd5356a13876aa030d41bbfb80b95365ea4b212fd79d8db624128f
26
27 diff --git a/dev-ruby/faraday/faraday-0.12.2.ebuild b/dev-ruby/faraday/faraday-0.12.2.ebuild
28 deleted file mode 100644
29 index 1de4dadb0f3..00000000000
30 --- a/dev-ruby/faraday/faraday-0.12.2.ebuild
31 +++ /dev/null
32 @@ -1,69 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -USE_RUBY="ruby21 ruby22 ruby23 ruby24"
39 -
40 -RUBY_FAKEGEM_TASK_TEST="test"
41 -RUBY_FAKEGEM_TASK_DOC=""
42 -
43 -RUBY_FAKEGEM_EXTRADOC="README.md"
44 -
45 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
46 -
47 -inherit ruby-fakegem eutils
48 -
49 -DESCRIPTION="HTTP/REST API client library with pluggable components"
50 -HOMEPAGE="https://github.com/lostisland/faraday"
51 -SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz"
52 -
53 -LICENSE="MIT"
54 -SLOT="0"
55 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
56 -IUSE=""
57 -
58 -DEPEND+=" test? ( sys-process/lsof )"
59 -
60 -ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3"
61 -ruby_add_bdepend "test? (
62 - >=dev-ruby/test-unit-2.4
63 - dev-ruby/httpclient
64 - dev-ruby/rack-test
65 - dev-ruby/sinatra
66 - dev-ruby/net-http-persistent
67 - dev-ruby/patron
68 - )"
69 -
70 -all_ruby_prepare() {
71 - # Remove bundler support.
72 - rm Gemfile || die
73 - sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die
74 - sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
75 -
76 - # Remove simplecov and coveralls support, not needed to run tests.
77 - sed -i -e '/simplecov/,/^end/ s:^:#:' \
78 - -e '1igem "rack", "~>1.0"; require "yaml"' \
79 - test/helper.rb || die
80 -
81 - # Remove tests for adapters that are not packaged for Gentoo.
82 - rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
83 -
84 - # The proxy server is already killed, may be OS X vs Linux issue.
85 - sed -i -e '138 s/^/#/' script/test || die
86 -
87 - sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
88 -}
89 -
90 -each_ruby_prepare() {
91 - # Make sure the test scripts use the right ruby interpreter
92 - sed -i -e 's:ruby:'${RUBY}':' script/* || die
93 -}
94 -
95 -each_ruby_test() {
96 - each_fakegem_test
97 -
98 - # Sleep some time to allow the sinatra test server to die
99 - einfo "Waiting for test server to stop"
100 - sleep 10
101 -}