diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-07-16 11:47:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-07-16 11:50:57 +0200 |
commit | 9ca5c70ab679c9ae196d0737a2f177de3073d27b (patch) | |
tree | 88b4c65b59fbc64f5bc6f4b84d19e4a4c61433be /dev-ruby/faraday_middleware-multi_json | |
parent | net-p2p/gtk-gnutella: filter known-to-break flag (diff) | |
download | gentoo-9ca5c70ab679c9ae196d0737a2f177de3073d27b.tar.gz gentoo-9ca5c70ab679c9ae196d0737a2f177de3073d27b.tar.bz2 gentoo-9ca5c70ab679c9ae196d0737a2f177de3073d27b.zip |
dev-ruby/faraday_middleware-multi_json: add ruby27; EAPI 7
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faraday_middleware-multi_json')
-rw-r--r-- | dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r2.ebuild b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r2.ebuild new file mode 100644 index 000000000000..e32a1e15b425 --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Response JSON parser using MultiJson and FaradayMiddleware" +HOMEPAGE="https://github.com/denro/faraday_middleware-multi_json" +SRC_URI="https://github.com/denro/faraday_middleware-multi_json/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday_middleware:* + dev-ruby/multi_json" + +all_ruby_prepare() { + # Remove bundler support. + rm -f Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid unneeded dependency on git. + sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |