summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-16 09:11:43 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-16 09:12:12 +0100
commit72da4735ca2f0e220afd5421219c8f36be1b0f24 (patch)
treefbb4e803d35f9c72db08f6b07e1f685a44baab38 /dev-ruby
parentdev-ruby/faraday_middleware: add 1.2.1 (diff)
downloadgentoo-72da4735ca2f0e220afd5421219c8f36be1b0f24.tar.gz
gentoo-72da4735ca2f0e220afd5421219c8f36be1b0f24.tar.bz2
gentoo-72da4735ca2f0e220afd5421219c8f36be1b0f24.zip
dev-ruby/faraday_middleware: drop 1.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild
deleted file mode 100644
index 9ef131ff8b0a..000000000000
--- a/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-USE_RUBY="ruby31 ruby32"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Various middleware for Faraday"
-HOMEPAGE="https://github.com/lostisland/faraday_middleware"
-SRC_URI="https://github.com/lostisland/faraday_middleware/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="$(ver_cut 1)"
-KEYWORDS="amd64"
-IUSE="+parsexml +oauth +mashify +rashify"
-
-ruby_add_rdepend "
- dev-ruby/faraday:1
- parsexml? ( >=dev-ruby/multi_xml-0.5.3 )
- oauth? ( >=dev-ruby/simple_oauth-0.1 )
- mashify? ( >=dev-ruby/hashie-1.2:* )
- rashify? ( >=dev-ruby/rash_alt-0.4.3 )"
-
-# Bundler must be used because the optional dependencies have different
-# version requirements that must be resolved.
-ruby_add_bdepend "test? (
- >=dev-ruby/brotli-0.1.8
- dev-ruby/bundler
- dev-ruby/addressable
- >=dev-ruby/rake-12.3.3
- dev-ruby/webmock:3
- dev-ruby/json
- >=dev-ruby/multi_xml-0.5.3
- dev-ruby/rack:2.2
- >=dev-ruby/rack-cache-1.1
- >=dev-ruby/simple_oauth-0.1
- >=dev-ruby/hashie-1.2
- >=dev-ruby/rash_alt-0.4.3 )"
-
-all_ruby_prepare() {
- sed -i -e '/\(cane\|parallel\|rubocop\|simplecov\)/ s:^:#:' \
- -e "/addressable/ s/, '< 2.4'//" \
- -e "/rack/ s/< 2/< 2.3/" \
- -e "/rack-cache/ s/, '< 1.3'//" \
- -e "/simple_oauth/ s/, '< 0.3'//" \
- -e "/safe_yaml/ s:^:#:" \
- -e "/webmock/ s/2.3/3.0/" Gemfile || die
-
- # Avoid unneeded dependency on git
- sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
-
- sed -i -e '1irequire "fileutils"' spec/spec_helper.rb || die
-
- # Avoid safe_yaml specs since they are broken with newer ruby versions
- # and safe_yaml is not mandatory for using faraday_middleware.
- rm -f spec/unit/parse_yaml_spec.rb || die
-}
-
-each_ruby_test() {
- ${RUBY} -S bundle exec rspec-3 spec || die
-}