diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-09 12:24:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-09 12:24:59 +0100 |
commit | c218398bbbe70a616790cf146c28c1066b9284bf (patch) | |
tree | a598e8c85afbc52bb7eca18ae415ef4971e65c8f /dev-ruby/excon | |
parent | a5442e2318cb4df55867389654e322dbac82067e (diff) |
gentoo auto-resync : 09:07:2024 - 12:24:58
Diffstat (limited to 'dev-ruby/excon')
-rw-r--r-- | dev-ruby/excon/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/excon/excon-0.111.0.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest index f40c1c0d04fb..d3fd16d1acea 100644 --- a/dev-ruby/excon/Manifest +++ b/dev-ruby/excon/Manifest @@ -1,7 +1,9 @@ DIST excon-0.104.0.tar.gz 229173 BLAKE2B b719d9391f8afc3553c45b88436725e2d7ed6495a888af95c7783d4e6bf44eecd861975119180f37bfb4617c7639c52cd0ac52ebbfce4bd6108de69df4d90cce SHA512 e06bccc0ed8fcab25b76c8500d77678c3356ff7488737bc041e9291fb7bbea5e7cb11cab85a4da81bce6c1a4422a7588f5e6e82ac14bb2b0974a7656586e1db4 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.111.0.tar.gz 236279 BLAKE2B 773f4ddfde94327e8a92841c2e081cfe73b674c785eede4149fc99894ae8c63cc029ebc33e1c19b1ad96e1d12234749752eebeee4a47340a5a8901f9fda6d705 SHA512 3852fce5770fb6206e24f9dfa74a2ee00dfc377e9a0c76e919b7e845889f7d5b697677de4b482a1faa8ec3c6d92b1ae29814d85ff7d8f807dcb4a502be77f472 EBUILD excon-0.104.0.ebuild 1568 BLAKE2B 9214122b57f979d130de85cfcea769086bd931adb70174ccd0f5630d8abf7fe440bfe3b178db7348b828956fe1e34975e0e393bd6ed237e1412ecf60b70a00a0 SHA512 0b8a7596d541c46a11f04c85698d5327371eeee69816e5841bda240b5eb099c33b4890c82f4d04f17b033dc60d8f660d91f6ff3e2fcd687fef797284888983bc EBUILD excon-0.109.0.ebuild 1576 BLAKE2B 34e5efe418d3c3551a849ca2a242d257fd11038b09f90a602ea42a7081704e24bb2dc79f58fb792fe81f4bc2452797912c8dcacba557ebfe4262cd6d7cfdb344 SHA512 4d330df6dd4236d2ca2a5a7a6e5a12435685b92a627b02c1cbdb90634b690f6da881508924b3a374149806c4c5a920a4968746a9c99284e5e37d3483424ffc7c EBUILD excon-0.110.0.ebuild 1576 BLAKE2B 34e5efe418d3c3551a849ca2a242d257fd11038b09f90a602ea42a7081704e24bb2dc79f58fb792fe81f4bc2452797912c8dcacba557ebfe4262cd6d7cfdb344 SHA512 4d330df6dd4236d2ca2a5a7a6e5a12435685b92a627b02c1cbdb90634b690f6da881508924b3a374149806c4c5a920a4968746a9c99284e5e37d3483424ffc7c +EBUILD excon-0.111.0.ebuild 1576 BLAKE2B 34e5efe418d3c3551a849ca2a242d257fd11038b09f90a602ea42a7081704e24bb2dc79f58fb792fe81f4bc2452797912c8dcacba557ebfe4262cd6d7cfdb344 SHA512 4d330df6dd4236d2ca2a5a7a6e5a12435685b92a627b02c1cbdb90634b690f6da881508924b3a374149806c4c5a920a4968746a9c99284e5e37d3483424ffc7c MISC metadata.xml 449 BLAKE2B a51e81b7b137d4140aaf665fe3f799af701ae62dc5d319c96a1bc995f26cd6f79d59122409af1f2a37970106a49ba9e5ae7a48e37766c5f450c102c5ee62747a SHA512 f8cf7e241dfce9528214e00dbe8026b2b6c211f8278cb7b30a093a09926e37ecdaeb2d7e30e6f5b8e63f278c3d4900d0c62e84c17a89ffa0e21ba5c18458dda2 diff --git a/dev-ruby/excon/excon-0.111.0.ebuild b/dev-ruby/excon/excon-0.111.0.ebuild new file mode 100644 index 000000000000..55f5024ee4b8 --- /dev/null +++ b/dev-ruby/excon/excon-0.111.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 +} |