diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-12-29 10:17:07 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-12-29 10:17:07 +0100 |
commit | 9e75518be8b34c1cbe23cc1bba90051db1ada2b9 (patch) | |
tree | 45036c428db5d56ada717cfca68fa0808ccfc8e6 /dev-ruby | |
parent | media-sound/abcmidi: bump to 2023.12.28, dropped 2023.12.23 (diff) | |
download | gentoo-9e75518be8b34c1cbe23cc1bba90051db1ada2b9.tar.gz gentoo-9e75518be8b34c1cbe23cc1bba90051db1ada2b9.tar.bz2 gentoo-9e75518be8b34c1cbe23cc1bba90051db1ada2b9.zip |
dev-ruby/excon: add 0.108.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.108.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest index ed7da1051633..23bed52b9e85 100644 --- a/dev-ruby/excon/Manifest +++ b/dev-ruby/excon/Manifest @@ -2,4 +2,5 @@ DIST excon-0.102.0.tar.gz 225048 BLAKE2B 6260b39f169766b1ada7197a0f291df6dec8c65 DIST excon-0.103.0.tar.gz 228734 BLAKE2B 1188411785e0101903eb7e2bb5ccb3db9259890a0957f06fed9297240858c91dca2cd16bfedecbe5867b816937812ecced8f577ea70b752ede295ce381a8071d SHA512 a605dd8c0bc55cbdab2b852e9c5792dca74908fbf5f05f512b07f1e08f0d7932ae0dbbbebf8d6685d1bbdfeaa91615f6e6eacb12722df653b8d9fc7a688a2731 DIST excon-0.104.0.tar.gz 229173 BLAKE2B b719d9391f8afc3553c45b88436725e2d7ed6495a888af95c7783d4e6bf44eecd861975119180f37bfb4617c7639c52cd0ac52ebbfce4bd6108de69df4d90cce SHA512 e06bccc0ed8fcab25b76c8500d77678c3356ff7488737bc041e9291fb7bbea5e7cb11cab85a4da81bce6c1a4422a7588f5e6e82ac14bb2b0974a7656586e1db4 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.93.1.tar.gz 222206 BLAKE2B d32302aa69a54ffb332cbcf2fed8cda2e7e01461deb1f7477554c1fab1bd56b865b15aa6a44002772486c0c3a88729f2414a9cd6be057f07a6bd38e2fe7965d9 SHA512 bf7eb0532b44722c84f08c994a9cd9f473a3df23dcd9df87ecf34dc5ea10329391658fcb772103dde61e1f46ad33cfe98c773a5d2ee767c21f6bc11bc0d4bc46 diff --git a/dev-ruby/excon/excon-0.108.0.ebuild b/dev-ruby/excon/excon-0.108.0.ebuild new file mode 100644 index 000000000000..57834f2c6353 --- /dev/null +++ b/dev-ruby/excon/excon-0.108.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +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 +} |