dev-ruby/fakeweb: cleanup
authorHans de Graaff <graaff@gentoo.org>
Mon, 26 Jun 2017 05:16:44 +0000 (07:16 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 26 Jun 2017 18:39:41 +0000 (20:39 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-ruby/fakeweb/Manifest
dev-ruby/fakeweb/fakeweb-1.3.0-r2.ebuild [deleted file]
dev-ruby/fakeweb/fakeweb-1.3.0.20131201.ebuild [deleted file]

index d85007e3bdfe916a9fda1d3b71941c8ddce5c5bf..7693720647d52fc137b9806d316ec6b84c4ecba5 100644 (file)
@@ -1,2 +1 @@
 DIST fakeweb-1.3.0.20131201.tar.gz 60162 SHA256 44f599eb76b4996c53a3f047b3f37c72d93bac967893dcb1da18e5f8270b4f14 SHA512 f3bd40680b7eefe90d3fee67f5282dbe4c67d46a1f1040d0d0d62c978b69d08987581a53495bb56e32ebcc6679c84f03c2e26c51d2bd98daa80554d3424c6603 WHIRLPOOL 5cdb5faf3932614838fb9e1bb5f01a115c087af396df6bbecab421ea0d97f24377c06ab41f1919b339f76137d4c1ea1186a4269052163f0942cd9ee9ca1f8900
-DIST fakeweb-1.3.0.gem 58368 SHA256 1ec996be13020a00b3464560c09180b424477c698f59f82edf2b99b16cfa09a8 SHA512 5785bf8e17f9b9b73a9fd2b581c6c5dcf466a5d68c2dbea593bca7cd5d385b5b1315ca777c39bce2a8077ccab6d5df7f031435c9227931c3d2a84512da9cb423 WHIRLPOOL 976e48b1e66e951a22fa28970356c3e85927027fd7262242a50ecac55771fc2ed7c1830d4dcc0566f479fa5c844a0d59b2b268ebd26ba87988f543b982e51214
diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0-r2.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0-r2.ebuild
deleted file mode 100644 (file)
index c45c5ea..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ruby22 -> not compatible with new net/http implementation
-USE_RUBY="ruby20 ruby21"
-
-RUBY_FAKEGEM_DOCDIR="html"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Helper for faking web requests in Ruby"
-HOMEPAGE="https://github.com/chrisk/fakeweb"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE=""
-
-ruby_add_bdepend "
-       test? (
-               dev-ruby/mocha:0.14
-               dev-ruby/test-unit
-               dev-ruby/samuel
-               dev-ruby/right_http_connection
-       )"
-
-all_ruby_prepare() {
-       # The package bundles samuel and right_http_connection, remove
-       # them and use the packages instead.
-       rm -r test/vendor || die "failed to remove bundled gems"
-
-       # We don't package sdoc and we don't have the direct template.
-       sed -i -e 's/sdoc/rdoc/' -e '/template/d' Rakefile || die
-
-       # Require an old enough version of mocha
-       sed -i -e '1igem "mocha", "~> 0.14.0"' test/test_helper.rb || die
-
-       # Use the test-unit gem to make jruby compatible with newer mocha.
-       sed -i -e '1igem "test-unit"' test/test_helper.rb || die
-}
-
-each_ruby_prepare() {
-       case ${RUBY} in
-               *ruby2[01])
-                       # Tests fail on mocking of TCPSocket, but fakeweb itself
-                       # actually works as evidenced by the thor test suite.
-                       rm test/test_fake_web_open_uri.rb test/test_allow_net_connect.rb test/test_fake_web.rb || die
-                       ;;
-       esac
-}
diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.20131201.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.20131201.ebuild
deleted file mode 100644 (file)
index a74e984..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21 ruby22"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
-
-COMMIT=48208f9bf053577befe5723746b6ff35b99b45d0
-
-inherit ruby-fakegem
-
-DESCRIPTION="Helper for faking web requests in Ruby"
-HOMEPAGE="https://github.com/chrisk/fakeweb"
-SRC_URI="https://github.com/chrisk/fakeweb/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-RUBY_S="${PN}-${COMMIT}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RUBY_PATCHES=( fakeweb-ruby22.patch )
-
-ruby_add_bdepend "
-       test? (
-               dev-ruby/mocha:0.14
-               dev-ruby/test-unit
-       )"
-
-all_ruby_prepare() {
-       # The package bundles samuel and right_http_connection, remove
-       # them
-       rm -r test/vendor || die "failed to remove bundled gems"
-
-       # We don't package sdoc and we don't have the direct template.
-       sed -i -e 's/sdoc/rdoc/' -e '/template/d' Rakefile || die
-
-       # Require an old enough version of mocha
-       sed -i -e '1igem "mocha", "~> 0.14.0"' test/test_helper.rb || die
-
-       # Use the test-unit gem to make jruby compatible with newer mocha.
-       sed -i -e '1igem "test-unit"' \
-               -e '/bundler/I s:^:#:' \
-               -e '/simplecov/ s:^:#:' test/test_helper.rb || die
-
-       # Avoid test dependencies on unmaintained packages that no longer work
-       rm test/test_other_net_http_libraries.rb || die
-
-       sed -i -e '/test:preflight/ s:^:#:' Rakefile || die
-}