diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-21 14:44:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-21 14:44:25 +0100 |
commit | 2480f36bfb3d39469cc44843d1fe664bd40443a3 (patch) | |
tree | 1c57ba55297055b6b0a88830282439b6c6d58d0c /dev-ruby/excon | |
parent | 3c54b2473c5fb6fe0fc543b15fc4678471922cb1 (diff) |
gentoo auto-resync : 21:07:2022 - 14:44:25
Diffstat (limited to 'dev-ruby/excon')
-rw-r--r-- | dev-ruby/excon/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/excon/excon-0.92.4.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest index 6a147da7c51e..7006d326146a 100644 --- a/dev-ruby/excon/Manifest +++ b/dev-ruby/excon/Manifest @@ -1,3 +1,5 @@ DIST excon-0.92.3.tar.gz 215423 BLAKE2B e07a2ca3289c1bbf4b0c3de1ef2802d85311461ceb931b9fa90b9b6837f779303490f8773cb71b8a977d5d87ebb60343d10a0966158541af34771d163c7cc814 SHA512 908ea503c2b7b4e865fcff080579bf18319c1b15f2e5b7ec7f52b6d4ebb0561b187cd18fad47c1ceadfa64700257ebf80e927b70f8679c8d00db3abc8d07f8c6 +DIST excon-0.92.4.tar.gz 219663 BLAKE2B f07bae2e9522860abbcdd1e987b808f935119fa8c6feee2868988eea14d017f656f4e17d54b637923706c9f462cd282d69e71fb9bdb71352c5a93f8f693c7a6d SHA512 dbcad9566f658dd2f49bb2fcd4cdc3a664c8d1dbc8fdfed7decf223c0f9510e3d53a3228a782a4f98f75a43be036433e1bb8d1443a2c0db18c675e28d813075a EBUILD excon-0.92.3.ebuild 1166 BLAKE2B 2c23376a3c87ab4ec84b6ccb8ee045642a1675e44fe17fce4b5d3e109a1e9a9395dafa6d065930d147923c9f75ae506611c28577dd91e80e997f704b82f59d16 SHA512 0e1265416c4b4fa9301f630eec45e34c17caa14a08e851f9bb05ac7157c60069983100fe140ccbee56b92a20abbdcf5201b20001f74d538aec7991daa7ac01e5 +EBUILD excon-0.92.4.ebuild 1159 BLAKE2B 3fe238b4a1ed1c78bc94f252f7540135781e081c907f4b6188fa08a2753be9ee3d0c0627c7f25aee2dc49785870bb2360de531182996c5296ab4a3f694131870 SHA512 61aa2e1cfdffd3c4bcc0cfb56852df8f9fa02e6e97053ee5f3223388dc050499b365dcd80bbe205c59e2f4b14639e4f7b3b8b25b5f330e8703eb9f9467917194 MISC metadata.xml 449 BLAKE2B a51e81b7b137d4140aaf665fe3f799af701ae62dc5d319c96a1bc995f26cd6f79d59122409af1f2a37970106a49ba9e5ae7a48e37766c5f450c102c5ee62747a SHA512 f8cf7e241dfce9528214e00dbe8026b2b6c211f8278cb7b30a093a09926e37ecdaeb2d7e30e6f5b8e63f278c3d4900d0c62e84c17a89ffa0e21ba5c18458dda2 diff --git a/dev-ruby/excon/excon-0.92.4.ebuild b/dev-ruby/excon/excon-0.92.4.ebuild new file mode 100644 index 000000000000..e35a57ecbdaf --- /dev/null +++ b/dev-ruby/excon/excon-0.92.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md" +RUBY_FAKEGEM_GEMSPEC="excon.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="EXtended http(s) CONnections" +HOMEPAGE="https://github.com/excon/excon" +SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +ruby_add_bdepend " + dev-ruby/rake + test? ( + dev-ruby/activesupport + >=dev-ruby/json-1.8.5 + dev-ruby/open4 + dev-ruby/rdoc + dev-ruby/sinatra + ) +" +all_ruby_prepare() { + sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die + + # test that need network + rm -f spec/excon/test/server_spec.rb || die + + # tests that depend on eventmachine which is broken and no longer maintained + rm -f tests/{bad,error,pipeline,response,request}_tests.rb \ + tests/{batch-requests,complete_responses}.rb \ + tests/middlewares/{decompress,mock}_tests.rb || die + rm -f spec/requests/eof_requests_spec.rb spec/excon/error_spec.rb || die +} |