dev-ruby/faraday: cleanup
authorHans de Graaff <graaff@gentoo.org>
Thu, 11 Apr 2019 18:11:08 +0000 (20:11 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 11 Apr 2019 18:11:08 +0000 (20:11 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

dev-ruby/faraday/Manifest
dev-ruby/faraday/faraday-0.14.0.ebuild [deleted file]
dev-ruby/faraday/faraday-0.15.3.ebuild [deleted file]

index d015a0457595d95273c60eb363d103a7dc2fb9eb..75abb50908afca590fe77524f85b349dd95c0807 100644 (file)
@@ -1,3 +1 @@
-DIST faraday-0.14.0.tar.gz 65105 BLAKE2B bf5101083bd828e2ea98dcd487c7c082f8b2d2eb4d03ac7ad04e1873666db9e2cec1e6eb9887364874ea5f32d0313019d1eada5e05e25e0415bdd5aa2bcfca97 SHA512 25bba07e76a2a8bf02b0c81c045329e72d5911a2aacae56611db33dc25c89bd48bb1b4de9b20c6edc1514d3ceae8b06fca6076c85580533047c222cb30ef8dc7
-DIST faraday-0.15.3.tar.gz 67065 BLAKE2B 7425fb885cb26394ee91098264b5e4e3038a68855b9a55b03a39faca18d4e0cd516fe447b2312538692229bb15df091317ee36aad762937b46c72e16bb19cc8a SHA512 cfc59c44481e4be27504d02bfcbdc3a3783d15940487e72aaba136f5c456d74be6cad5a686e74eed1ad216fbb58db197d04015c2d168abbbaf899c4f855acdbd
 DIST faraday-0.15.4.tar.gz 67196 BLAKE2B 4e64e834639a6e59c028ee19d72f51ea72fd6b3be5fc63b6fbbec25716dbd735e97d8a05a210dd1a57b740a1dcd76d30a39b59c7034cab8a531f8856dc132b14 SHA512 6d1a8c66bd6e2ce417ce504bf20ea89cf24c46c2b48491aba110d04f273448e0e8f0cf94a0dd5356a13876aa030d41bbfb80b95365ea4b212fd79d8db624128f
diff --git a/dev-ruby/faraday/faraday-0.14.0.ebuild b/dev-ruby/faraday/faraday-0.14.0.ebuild
deleted file mode 100644 (file)
index c3f9a98..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby22 ruby23 ruby24"
-
-RUBY_FAKEGEM_TASK_TEST="test"
-RUBY_FAKEGEM_TASK_DOC=""
-
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
-inherit ruby-fakegem eutils
-
-DESCRIPTION="HTTP/REST API client library with pluggable components"
-HOMEPAGE="https://github.com/lostisland/faraday"
-SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE=""
-
-DEPEND+=" test? ( sys-process/lsof )"
-
-ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3"
-ruby_add_bdepend "test? (
-               >=dev-ruby/test-unit-2.4
-               dev-ruby/httpclient
-               dev-ruby/rack-test
-               dev-ruby/sinatra
-               dev-ruby/net-http-persistent
-               dev-ruby/patron
-       )"
-
-all_ruby_prepare() {
-       # Remove bundler support.
-       rm Gemfile || die
-       sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die
-       sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
-
-       # Remove simplecov and coveralls support, not needed to run tests.
-       sed -i -e '/simplecov/,/^end/ s:^:#:' \
-               -e '1igem "rack", "~>1.0"; require "yaml"' \
-               test/helper.rb || die
-
-       # Remove tests for adapters that are not packaged for Gentoo.
-       rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
-
-       # The proxy server is already killed, may be OS X vs Linux issue.
-       sed -i -e '138 s/^/#/' script/test || die
-
-       sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
-}
-
-each_ruby_prepare() {
-       # Make sure the test scripts use the right ruby interpreter
-       sed -i -e 's:ruby:'${RUBY}':' script/* || die
-}
-
-each_ruby_test() {
-       MT_NO_PLUGINS=true each_fakegem_test
-
-       # Sleep some time to allow the sinatra test server to die
-       einfo "Waiting for test server to stop"
-       sleep 10
-}
diff --git a/dev-ruby/faraday/faraday-0.15.3.ebuild b/dev-ruby/faraday/faraday-0.15.3.ebuild
deleted file mode 100644 (file)
index c17052d..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby23 ruby24 ruby25"
-
-RUBY_FAKEGEM_TASK_TEST="test"
-RUBY_FAKEGEM_TASK_DOC=""
-
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
-inherit ruby-fakegem eutils
-
-DESCRIPTION="HTTP/REST API client library with pluggable components"
-HOMEPAGE="https://github.com/lostisland/faraday"
-SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE=""
-
-DEPEND+=" test? ( sys-process/lsof )"
-
-ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3"
-ruby_add_bdepend "test? (
-               >=dev-ruby/test-unit-2.4
-               dev-ruby/httpclient
-               dev-ruby/rack-test
-               dev-ruby/sinatra
-               dev-ruby/net-http-persistent
-               dev-ruby/patron
-       )"
-
-all_ruby_prepare() {
-       # Remove bundler support.
-       rm Gemfile || die
-       sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile test/helper.rb || die
-       sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
-
-       # Remove simplecov and coveralls support, not needed to run tests.
-       sed -i -e '/simplecov/,/^end/ s:^:#:' \
-               test/helper.rb || die
-
-       # Remove tests for adapters that are not packaged for Gentoo.
-       rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
-
-       # Remove tests against live services
-       sed -i -e '/test_dynamic_no_proxy/askip "live network test"' test/connection_test.rb || die
-
-       # The proxy server is already killed, may be OS X vs Linux issue.
-       sed -i -e '138 s/^/#/' script/test || die
-
-       sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
-}
-
-each_ruby_prepare() {
-       # Make sure the test scripts use the right ruby interpreter
-       sed -i -e 's:ruby:'${RUBY}':' script/* || die
-}
-
-each_ruby_test() {
-       MT_NO_PLUGINS=true each_fakegem_test
-
-       # Sleep some time to allow the sinatra test server to die
-       einfo "Waiting for test server to stop"
-       sleep 10
-}