summaryrefslogtreecommitdiff
path: root/dev-ruby/fakeweb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-ruby/fakeweb
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/fakeweb')
-rw-r--r--dev-ruby/fakeweb/Manifest7
-rw-r--r--dev-ruby/fakeweb/fakeweb-1.3.0.20131201-r1.ebuild55
-rw-r--r--dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild48
-rw-r--r--dev-ruby/fakeweb/files/fakeweb-ruby22.patch24
-rw-r--r--dev-ruby/fakeweb/files/fakeweb-ruby23.patch27
-rw-r--r--dev-ruby/fakeweb/metadata.xml11
6 files changed, 0 insertions, 172 deletions
diff --git a/dev-ruby/fakeweb/Manifest b/dev-ruby/fakeweb/Manifest
deleted file mode 100644
index bc0c0cad4dd0..000000000000
--- a/dev-ruby/fakeweb/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX fakeweb-ruby22.patch 870 BLAKE2B e96c9c58c5973bb4b028bb2582b40b418723df5548446288cf9df843dbf39377bf48a38416183b627ff022c2ce06f0f42fd7aa77dcf1ca51243dc5e5720b4da4 SHA512 32c5c7e3b6e6e5402ffeb809b74036de854752eded5721ea778ecd9d83b19e992ff3091ac7608e49b0984f3c26b21c95ae52489a585bb862e03f1fc201e4fa89
-AUX fakeweb-ruby23.patch 1214 BLAKE2B 4fa44c8b30adb0ff76372d7d6581f8b326e020348c07b37daa24407a959da4fabe2e51eeec01ca81a1f5abafbd87b42132e5f9aa38fed70f872c1ee18b66ca03 SHA512 3384a8fb96b34f17f929ebfb0ceb01d1238a7333058954097985928ef8bd9d5ec31002a8f2d18b65133ea48cb4309e24222bc675f15f72d869dcea062164f3f9
-DIST fakeweb-1.3.0.20131201.tar.gz 60162 BLAKE2B 856c499041b122d84fde595343e0917a9ac47e81e50560be79a53def2099ea0ad05532bf3a7e3cd5e8dc668235c1ee75989b15465f397f56b7c0edd028bf980c SHA512 f3bd40680b7eefe90d3fee67f5282dbe4c67d46a1f1040d0d0d62c978b69d08987581a53495bb56e32ebcc6679c84f03c2e26c51d2bd98daa80554d3424c6603
-DIST fakeweb-1.3.0.20170806.tar.gz 61449 BLAKE2B f015f95897383e0b65ada5a7833f7bd3fd61ae77f4ab38bf6bb47f2eecef0c778928090302e46157ae4e2fc6c3df4559e9f5c8004a6474ad8852d157aa3af6da SHA512 1871b7c9f2e4f12cd1c434ef4f760828187078a951517fe3f7a6ca5c5d6f08e3056cae2bb012eca1ba556c2f4d369cb2716c637fefee67eb723428195c482edf
-EBUILD fakeweb-1.3.0.20131201-r1.ebuild 1531 BLAKE2B 5f74809778f489d609192d9c3d8ac98ebc9c38438afe7b8e317c312e506aae85b49a017c32a9506e6eb478d5a73eac670654cd3089b2584cf668044f5eb1ff1a SHA512 1f8f894770da7851958560caaf3adc3c3d8e17f2e8bcbe158785f199a8e1875e9f26b1b0c26d2c468122501f92ddba42329744d232a82f1099b507445d042d05
-EBUILD fakeweb-1.3.0.20170806.ebuild 1305 BLAKE2B 190167d38b4615ed4d7b6777912ae271cecb1fea4f24f88b20db2b79f091b77e2291b7fc258655efb0b5ecf60b4e59d2aaf99e3302101b1653660ae3ee397e7b SHA512 e2df710acfc7f4f806a21d32be1b0a4e638ab5f03bde3f9c5f3b60097f5619cea3cfed8c3a5b51b22a0b765b610ea697c36431f5d00dae97ca698e17eb55224c
-MISC metadata.xml 340 BLAKE2B 7058eef4592a28cd630ef9d8ccbd6920dae2909bb1740172464de06215a3a970e2291a855cbad1206205e90cb04bb711e4725b8d566e6388134501706168914b SHA512 4915509da84a354d665c9c59881e83356a8e8b2f7f09afdae68755484a6e575a7502f98ef8da1cffab96ff12264c048cda182f1c5042b95b058b731bf0395077
diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.20131201-r1.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.20131201-r1.ebuild
deleted file mode 100644
index 02e0bb4aa9b5..000000000000
--- a/dev-ruby/fakeweb/fakeweb-1.3.0.20131201-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ruby24 -> not compatible with Net::HTTP implementation
-USE_RUBY="ruby21 ruby22 ruby23"
-
-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 ~hppa ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RUBY_PATCHES=( fakeweb-ruby22.patch
- fakeweb-ruby23.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
-}
diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild
deleted file mode 100644
index 83bf3f1aa1ab..000000000000
--- a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild
+++ /dev/null
@@ -1,48 +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 ruby25"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
-
-COMMIT=2b08c1ff2714ec13a12f3497d67fcefce95c2cbe
-
-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 ~hppa ~ppc ~ppc64 ~x86"
-IUSE=""
-
-ruby_add_bdepend "
- test? (
- dev-ruby/mocha
- 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
-
- # 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
-}
diff --git a/dev-ruby/fakeweb/files/fakeweb-ruby22.patch b/dev-ruby/fakeweb/files/fakeweb-ruby22.patch
deleted file mode 100644
index 7c44aef68922..000000000000
--- a/dev-ruby/fakeweb/files/fakeweb-ruby22.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 1647ca210691429a75eb159814f42e68c3c1ce4c Mon Sep 17 00:00:00 2001
-From: Josef Stribny <jstribny@redhat.com>
-Date: Thu, 19 Mar 2015 09:32:50 +0100
-Subject: [PATCH] Fix tests by expecting TypeError for Ruby 2.2
-
----
- test/test_fake_web.rb | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/test/test_fake_web.rb b/test/test_fake_web.rb
-index f344612..682c43d 100644
---- a/test/test_fake_web.rb
-+++ b/test/test_fake_web.rb
-@@ -35,7 +35,9 @@ def test_response_for_with_wrong_number_of_arguments
- end
-
- def test_register_uri_without_domain_name
-- assert_raises URI::InvalidURIError do
-+ # Ruby 2.1 and lower raises URI::InvalidURIError
-+ # Ruby 2.2 and higher raises TypeError
-+ assert_raises URI::InvalidURIError, TypeError do
- FakeWeb.register_uri(:get, 'test_example2.txt', fixture_path("test_example.txt"))
- end
- end
diff --git a/dev-ruby/fakeweb/files/fakeweb-ruby23.patch b/dev-ruby/fakeweb/files/fakeweb-ruby23.patch
deleted file mode 100644
index 0a1c6db6b3e7..000000000000
--- a/dev-ruby/fakeweb/files/fakeweb-ruby23.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From c42a354eda2f6bfe8dc7c1176e085dda6867f4d0 Mon Sep 17 00:00:00 2001
-From: Christian Hofstaedtler <christian@hofstaedtler.name>
-Date: Thu, 3 Mar 2016 17:42:30 -0300
-Subject: [PATCH] Fix tests for ruby 2.3 (new connect_nonblock call)
-
-Applies on top of the changes for 2.2 (#53).
----
- test/test_helper.rb | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/test/test_helper.rb b/test/test_helper.rb
-index e9a36af..8ce492d 100644
---- a/test/test_helper.rb
-+++ b/test/test_helper.rb
-@@ -119,7 +119,11 @@ def setup_expectations_for_real_request(options = {})
- OpenSSL::SSL::SSLSocket.expects(:===).with(socket).returns(true).at_least_once
- OpenSSL::SSL::SSLSocket.expects(:new).with(socket, instance_of(OpenSSL::SSL::SSLContext)).returns(socket).at_least_once
- socket.stubs(:sync_close=).returns(true)
-- socket.expects(:connect).with().at_least_once
-+ if RUBY_VERSION >= "2.3.0"
-+ socket.expects(:connect_nonblock).with(:exception => false).at_least_once
-+ else
-+ socket.expects(:connect).with().at_least_once
-+ end
- if RUBY_VERSION >= "2.0.0" && RUBY_PLATFORM != "java"
- socket.expects(:session).with().at_least_once
- end
diff --git a/dev-ruby/fakeweb/metadata.xml b/dev-ruby/fakeweb/metadata.xml
deleted file mode 100644
index d7fdd1dd499c..000000000000
--- a/dev-ruby/fakeweb/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>ruby@gentoo.org</email>
- <name>Gentoo Ruby Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">chrisk/fakeweb</remote-id>
- </upstream>
-</pkgmetadata>