diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-07-11 05:49:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-07-11 06:36:55 +0200 |
commit | 618007f46478ce1604a1fded9cac626691815aed (patch) | |
tree | d7f329d1315e9b10d201c395060cfd64ee3d9049 /dev-ruby/faraday | |
parent | profiles: unmask Rust 1.70 (diff) | |
download | gentoo-618007f46478ce1604a1fded9cac626691815aed.tar.gz gentoo-618007f46478ce1604a1fded9cac626691815aed.tar.bz2 gentoo-618007f46478ce1604a1fded9cac626691815aed.zip |
dev-ruby/faraday: add 2.7.10
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faraday')
-rw-r--r-- | dev-ruby/faraday/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-2.7.10.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest index a193fda86c3a..ae9c4df14695 100644 --- a/dev-ruby/faraday/Manifest +++ b/dev-ruby/faraday/Manifest @@ -1,4 +1,5 @@ DIST faraday-1.3.1.tar.gz 840638 BLAKE2B 284f7f612d3ab791a00ceab823be0246685fa38356bfeb6e01c12e81c7369c500719a6023dd929160ca598b41401b82cda0d8e9e363d0e7bdd91791742f8e68f SHA512 b89839e5d602911904ce009f52d011c124f84811e0676a3a524d22ea7084d99a971b6573dcde6d512bf933909cc461ef01cd82a8eeb9df581c56f17f31966b1b +DIST faraday-2.7.10.tar.gz 833034 BLAKE2B dca3ef6a48aa4d14f1717344c5ec85b1e9caf7205eb7ae1be76a7a96bdee9fbef2d112c05f96f5625262d2783fc0e5e196343f67b371e480532c5e74f77b73eb SHA512 e1d2792f49df5679c16d3690a2475c56db9ae537bf53db4bb7cc256b41455d3db36d8d672eaf3f8a63fb2b04349d45dd4d32a2c194606fd795de51b1f79ead85 DIST faraday-2.7.2.tar.gz 831914 BLAKE2B 424d275519cd24f03b0a678810671de2541e799512789e0a3d80d146aafbc74e2acdbb3c9d3d1cfe7224860e9b716720b234fb25c045226f04b29223c640567d SHA512 41402bdb4594988a88542289c5a5242db04ae07081ba21fbc18b756eeae108bc06298b5ad7b48842a86c586b9da4e4568fc48ec9d26697618bd858649ef86294 DIST faraday-2.7.4.tar.gz 832219 BLAKE2B 8c0af73f6bcb41118eea162bc051d3de99593525ec2a84d21d8842ade076774cbde3deb66af399582235e62713dd563887efbad7f8099f377b1c19f28d92d8be SHA512 97c84fa95ed9f4d26ca12d4e4ef2faee1738f656cb919c9609c84d7c9f275452862bbf5334e5d66ab88c3e9ff5cb060805d9b519319d72c98556eb1c2e5610e1 DIST faraday-2.7.6.tar.gz 832525 BLAKE2B 6d53bcabbdc6ce67433e475e7ac83d08a65a3baffe81f89038af1609ba58c1efe6f7fbe4bb47768a73940cea791c864dc9f313fe3510f89ad36d9e7261b76de1 SHA512 2b0e80f685dc1b9e62955e87d226b9b63cf30fec6d5e9addada532e249bb13ef43db9933091d716df391a79493048aaabd845d3052d3ea3b6ed0e834ed2b4c8d diff --git a/dev-ruby/faraday/faraday-2.7.10.ebuild b/dev-ruby/faraday/faraday-2.7.10.ebuild new file mode 100644 index 000000000000..d5190f14683a --- /dev/null +++ b/dev-ruby/faraday/faraday-2.7.10.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTRAINSTALL="spec" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +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="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND+=" test? ( sys-process/lsof )" + +ruby_add_rdepend " + || ( =dev-ruby/faraday-net_http-3.0* dev-ruby/faraday-net_http:2 ) + >=dev-ruby/ruby2_keywords-0.0.4 +" +ruby_add_bdepend "test? ( + >=dev-ruby/test-unit-2.4 + >=dev-ruby/connection_pool-2.2.2 + dev-ruby/rack:2.2 + dev-ruby/webmock + )" + +all_ruby_prepare() { + # Remove bundler support. + rm Gemfile || die + sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die + # Avoid loading all lib files since some of them require unpackaged dependencies. + sed -e '/[Cc]overall/ s:^:#:' \ + -e '/lib\/\*\*/ s:^:#:' \ + -e '/simplecov/ s:^:#:' \ + -e '/SimpleCov/,/end/ s:^:#:' \ + -e '/pry/ s:^:#:' \ + -e '3igem "rack", "~> 2.2"' \ + -i spec/spec_helper.rb || die + + sed -e '/git ls-files/ s:^:#:' \ + -e "s:_relative ': './:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true each_fakegem_test +} |