diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-14 06:54:12 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-14 07:05:00 +0100 |
commit | 9131015dd249622d0b1047a18d8441bdbf184d66 (patch) | |
tree | b4b69723a89ce5142a33223fbe3281298a3985aa /dev-ruby | |
parent | dev-python/setuptools-rust: Stabilize 1.9.0 ppc64, #926924 (diff) | |
download | gentoo-9131015dd249622d0b1047a18d8441bdbf184d66.tar.gz gentoo-9131015dd249622d0b1047a18d8441bdbf184d66.tar.bz2 gentoo-9131015dd249622d0b1047a18d8441bdbf184d66.zip |
dev-ruby/excon: add 0.110.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/excon/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/excon/excon-0.110.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest index 025adab79433..a866bf7c50ee 100644 --- a/dev-ruby/excon/Manifest +++ b/dev-ruby/excon/Manifest @@ -2,4 +2,5 @@ DIST excon-0.104.0.tar.gz 229173 BLAKE2B b719d9391f8afc3553c45b88436725e2d7ed649 DIST excon-0.106.0.tar.gz 232834 BLAKE2B e9e7ebfb4b9a6625e1bf3ca63a02744edb5ecb9f9e4f34ac3d190deddb6ca555671e4febc7ba750a5e19dbde4bf96b01903f59576eb7ae6d6befc7b4e15efd90 SHA512 4d4ea0a7cab2038aaa358ee2fba5e781fb8ae381758d89f56c73675c03b9dddaf8ff052f8f2e75802222ef314ee421e59800e4d0c748da3530d933e0c7479806 DIST excon-0.108.0.tar.gz 235598 BLAKE2B 66c16146da991d45cc5c297f5c053a1fc2bb25f0e86f3bb2d7a55635ebb2897729361ca6fa16083846c637f4ebb3e9e3755add1531065e6b3e20cb5a1c21add6 SHA512 f552da790de0b88ae9186bd49207e0f4680d2fa482439f8d701332ad8a4d656fc9163251ea589529815b06a12d10ad9768ab4abf84af2f550141886d5c0a5f54 DIST excon-0.109.0.tar.gz 235632 BLAKE2B 8404cb5687cd106390dcb5e44513b4accf145d118b38bda79fdfa97ed34a33d84bf5831d3bd6b52dce2ac17267f5e6bd0d060545a98f1741d6f0a394ab0dfb08 SHA512 6374eeeff9b8501a078ea4db7d777e781a3981d1062af013e46976506b84a1afd1e2f52f97e3b7c6d57f8230534598992b8f4e978a3f077e11180cd3586e4a0e +DIST excon-0.110.0.tar.gz 237307 BLAKE2B ac83220a9ac5d2fb3ab53e9b90068918e8ffa54246d50531a66b061bebbdd8fcc9840c2ade0de35fc995dcf400622cb1b807a8cc5e19b9dd4e481cb674e6a035 SHA512 34b6b193109515c9cb176f41a735e4a214053a2832bac0c425ace06b419daf71f0e7dd375df59a7a67d56ac331f7251fbb8778fd29acd751651411aef2081378 DIST excon-0.93.1.tar.gz 222206 BLAKE2B d32302aa69a54ffb332cbcf2fed8cda2e7e01461deb1f7477554c1fab1bd56b865b15aa6a44002772486c0c3a88729f2414a9cd6be057f07a6bd38e2fe7965d9 SHA512 bf7eb0532b44722c84f08c994a9cd9f473a3df23dcd9df87ecf34dc5ea10329391658fcb772103dde61e1f46ad33cfe98c773a5d2ee767c21f6bc11bc0d4bc46 diff --git a/dev-ruby/excon/excon-0.110.0.ebuild b/dev-ruby/excon/excon-0.110.0.ebuild new file mode 100644 index 000000000000..55f5024ee4b8 --- /dev/null +++ b/dev-ruby/excon/excon-0.110.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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 ~arm64" +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/rack-2.2.7-r1:2.2 + dev-ruby/rdoc + dev-ruby/sinatra + dev-ruby/webrick + ) +" +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 + + # test that wrongly assumes 127.0.0.1 won't run a DNS server + rm -f spec/requests/{dns_timeout,resolv_resolver}_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 + + # Use a rackup version compatible with sinatra + sed -i -e '/launch_process/ s/"rackup"/"rackup-2"/' tests/test_helper.rb || die + sed -i -e '/open_process/ s/rackup/rackup-2/' lib/excon/test/plugin/server/webrick.rb || die +} |