diff options
Diffstat (limited to 'dev-ruby')
22 files changed, 236 insertions, 104 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 7571356a4f32..7d3292291f2a 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/commonmarker/Manifest b/dev-ruby/commonmarker/Manifest index 632834b697c8..a28c2603115b 100644 --- a/dev-ruby/commonmarker/Manifest +++ b/dev-ruby/commonmarker/Manifest @@ -1,5 +1,7 @@ +DIST commonmarker-0.23.10.tar.gz 172611 BLAKE2B df583a7e9f588cc726b985c90e03f7470d92d907d7507bf1a0f8c174e08a502036d2cdab6e45eb61c3c58dd810be1f682c51a787236da887a9d9f9ccf0fc13f6 SHA512 587cbf7037725bee57a61d75d83389ee209d943cc69ce32edf79fc292034a4bbede0a9f7cad7eff7a029f998572c6840a8d95d7387fb0806d79cf7351f85e5a1 DIST commonmarker-0.23.8.tar.gz 171412 BLAKE2B 95f5fa8314af31dfe97bb8bad9eb6c57dc2e02f1b710c7f50e4500e3cad978b0b44e7a1104386d0cf0742e2d896208ced2a8f205c30ffbf4e444b991586b5ab8 SHA512 3e73ef5505804cbeb8190472f3ca8dc7f199de0ca410df35ab5e9948e94ade59670130f829218f6f2d39c3a6f41a9cb149f9aefc6c8f72443441ec66e642cd1e DIST commonmarker-0.23.9.tar.gz 171834 BLAKE2B 140d712e12f59c507853718437617e076705f62adee133a95d18da1fb1f21ace208dd5c1a77dba6639b24e1c8288a2249f974145c694fbe3bae4e82f518f0428 SHA512 2ff0e798f925c4b547390457fcdc88d7321da6d37ce272216307eae6862fb6d985722b8e6335f9ab3a7d75717656451615fdd47a341d29f05f8508335dda971f +EBUILD commonmarker-0.23.10.ebuild 1166 BLAKE2B 855b6afdf4b2b1d12b792793df672be811d831ca703fd89a400d06faa7e351edd5730f9a78d46676cf8db88f545db1e0496857168b4d6083f17cef992195399b SHA512 a3ed3983613fb05454d3400dfb976e02c83c7d147379243d3c95db1a5588629b53cef8a87c0203476b1e7dedd6cec1c888467b9eaec1bfea05771f059e15d042 EBUILD commonmarker-0.23.8.ebuild 1164 BLAKE2B 11fe6ca4dd08c5b3c0218d2d6b7e6cb80807a9947456ceb6bd5c12a8e4ba64267ebf0866f85bd6e125253bfde405e04d497e2d863dac6503d69f84c77dda51b1 SHA512 88581405ab721dc7e81ec949393d44652824349e6a2b70e93e6d1598ced89bbc9c63a21bd827c2f505a7d4ad37116ab59a2a666419d26a0eae1c81b00d09e67f EBUILD commonmarker-0.23.9.ebuild 1164 BLAKE2B 11fe6ca4dd08c5b3c0218d2d6b7e6cb80807a9947456ceb6bd5c12a8e4ba64267ebf0866f85bd6e125253bfde405e04d497e2d863dac6503d69f84c77dda51b1 SHA512 88581405ab721dc7e81ec949393d44652824349e6a2b70e93e6d1598ced89bbc9c63a21bd827c2f505a7d4ad37116ab59a2a666419d26a0eae1c81b00d09e67f MISC metadata.xml 340 BLAKE2B 3536acbd013ad07c27f5c6ccdada3ffffb5f259aedaeb4ee5a89ec1921f49939177a7162165c2b90336a87393d08f49cb62857cfa3ab551d12a37843863b56e0 SHA512 5f5eab450ffbdbee075545d8a97a2b3bcc6ed997aad9bf7e1b3c31e6368a7c5383704bdce32eea086b027b7c3e27accd3e2d3329977f357570e8eb767a043526 diff --git a/dev-ruby/commonmarker/commonmarker-0.23.10.ebuild b/dev-ruby/commonmarker/commonmarker-0.23.10.ebuild new file mode 100644 index 000000000000..17063c80f58f --- /dev/null +++ b/dev-ruby/commonmarker/commonmarker-0.23.10.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTENSIONS=(ext/commonmarker/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/commonmarker" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="commonmarker.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast, safe, extensible parser for CommonMark, wrapping the libcmark library" +HOMEPAGE="https://github.com/gjtorikian/commonmarker" +SRC_URI="https://github.com/gjtorikian/commonmarker/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +# app-text/cmark is bundled in a modified way and integrated with the gem code + +all_ruby_prepare() { + sed -i -e '/focus/ s:^:#:' test/test_helper.rb || die + + # Avoid tests depending on unbundled cmark specification files + rm -f test/test_{spec,smartpunct}.rb || die + +} + +each_ruby_prepare() { + # Use current ruby version + sed -i -e '/make_bin/,/end/ s:ruby:'${RUBY}':' test/test_helper.rb || die +} + +each_ruby_test() { + MT_NO_PLUGINS=1 ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest index b708c1b564e2..2ed4d1a71f78 100644 --- a/dev-ruby/excon/Manifest +++ b/dev-ruby/excon/Manifest @@ -1,7 +1,9 @@ DIST excon-0.100.0.tar.gz 225605 BLAKE2B 4097fb64e79ef8fe89d2e93f7c44e3f71634f2c434eabd78c1518c35e06b68bde1c5254ee5f61fdf4c55d03f261ec83a5be738440b13f036d65b69051b57e6d2 SHA512 0f4758ed66b9915967b145532e648d716370c92ea3fb1ef6650079911901d53900bc03c18b90c7d3bd033e89e2d9bf1043edaacb86c5269f48303fff0b8de453 +DIST excon-0.102.0.tar.gz 225048 BLAKE2B 6260b39f169766b1ada7197a0f291df6dec8c65281680ef83048ecaffc5d28c4fe5ce76a739ad511f53715deabd0d582fce9087933165dd1afa9962c1db34091 SHA512 65b03011670899a1e13f45f0cd0ee066bdb37d1e75bb534e714b646f7591433a7b2ea2039879b00c35511c651926d808cef6cae043cc04c819f4f28cd2b18758 DIST excon-0.93.1.tar.gz 222206 BLAKE2B d32302aa69a54ffb332cbcf2fed8cda2e7e01461deb1f7477554c1fab1bd56b865b15aa6a44002772486c0c3a88729f2414a9cd6be057f07a6bd38e2fe7965d9 SHA512 bf7eb0532b44722c84f08c994a9cd9f473a3df23dcd9df87ecf34dc5ea10329391658fcb772103dde61e1f46ad33cfe98c773a5d2ee767c21f6bc11bc0d4bc46 DIST excon-0.95.0.tar.gz 223110 BLAKE2B 1d0706cf999ba6affb7aa9e7ed7160c90667d1bc27d121e4b40818288c445e893e9b438322a99174f2e86d6059b3e9b6bb7e8eec6c3c0ad211aea9862f297a0e SHA512 e1a269c8969f553b63a57642128b36ed82f9326de33b5f386f4ed0da60c1c28fe01b762e8607e6904fcc5445d9ec8d2bdc9985c58f8d07076693384fa435ad31 EBUILD excon-0.100.0.ebuild 1447 BLAKE2B fb5f8ca0c44b8072520570e7edb585302d017b2d8b508bc2b068fc35c34e84ed2b048ef29a4d824f0b6c370eafabb64ff707c22389a2349b9274d9e07415ed2a SHA512 188cc5ed8b575ad83432673327d4c4756fe73f9690e1515d4f4c2a6c9a8fcd3c386628635737e2332fc775fa550be904d4f74acca80551c2e784ecc08cf60138 +EBUILD excon-0.102.0.ebuild 1440 BLAKE2B 06eb737e4449b43f2657d2549f6fd77629037cb0c07b2d3fb7380eec0a7efebe959f0b30c2b3dde2f03b23f2c72261805b366bda24944a17e37c8a88fa9f6330 SHA512 d828acd5cf21f5f0a84dd6116c5faa358807dccbafc380c15cbbd9c436fbc4594b66bbeb56224f948785688ab8bd39bb092a4dee837ddaf6849a2a07e394f97a EBUILD excon-0.93.1.ebuild 1172 BLAKE2B f8b2827a64b74c14c82dc0f5cf452934602447eaf2182b8b7a645c95c2b9b867fefd6c53a650c735dba5d2c704034faddcf7cc6e0e6a0fa78f9b0082e15219e1 SHA512 8e0ab41f166f3ca62f529a0c8566aaedabf1dcfb81ecdd99f2133b9eb35b34e9d31543afc74e2feb8610e12dd173a3019e40d289be8ebadc04ce3b08ea64100d EBUILD excon-0.95.0.ebuild 1173 BLAKE2B 70cbf8cf8065f918918a71383fca9c7587c5c0f71f6227273bbe2aa81b181357101fdd075eaf7e090112358ab9d4e0c71596ef4b4262c193577673424aa09e77 SHA512 7a64b892d9641bdbab4e5903fed47b1c554afc78d34f32cf9b557d43ec364d11ae6eb139898dfdaac8701b4d350f7ab3caa3e9baa2bfdac52f61eeda18addc28 MISC metadata.xml 449 BLAKE2B a51e81b7b137d4140aaf665fe3f799af701ae62dc5d319c96a1bc995f26cd6f79d59122409af1f2a37970106a49ba9e5ae7a48e37766c5f450c102c5ee62747a SHA512 f8cf7e241dfce9528214e00dbe8026b2b6c211f8278cb7b30a093a09926e37ecdaeb2d7e30e6f5b8e63f278c3d4900d0c62e84c17a89ffa0e21ba5c18458dda2 diff --git a/dev-ruby/excon/excon-0.102.0.ebuild b/dev-ruby/excon/excon-0.102.0.ebuild new file mode 100644 index 000000000000..8e36cea062a2 --- /dev/null +++ b/dev-ruby/excon/excon-0.102.0.ebuild @@ -0,0 +1,51 @@ +# 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 + + # 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 +} diff --git a/dev-ruby/fast_xs/Manifest b/dev-ruby/fast_xs/Manifest deleted file mode 100644 index 282e4e112bb3..000000000000 --- a/dev-ruby/fast_xs/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX fast_xs-0.8.0+ruby-1.9.patch 1090 BLAKE2B b5b0b2db3e19adc57e85141b893cdfbed8844def9ad39cd7ba5ade46a5ae73201498782c0093e25e075bd6c2577a895715ba82a87cc14327492410558442d194 SHA512 0c4f4b03db6ed70381b9aa7e671038206648a2c88211bb7d015f552e2114015a7cb749678670ee876aa568505ac3df42535f839367cfd1fc52ba6674429940a5 -DIST fast_xs-0.8.0.gem 22016 BLAKE2B b24e65c31623e86ac8ab8b5a442565083bd047e5740aeae74d74e82c09770a8149853ad021ea6c6c036d411e8f299f4a531d78b0b3314ed5bf32d7f8b9fcf697 SHA512 55fc2704fab020f03b1ce138d1631dd5ad73a8601dcd95989a59c7cccb490c70b4e1af59fb8b009bfa0899f2c23feb42cc3068e243cd539ba1cb01a9f7bc573b -EBUILD fast_xs-0.8.0-r3.ebuild 916 BLAKE2B 0915a2c7870d2efb5f93f3a3b99c48b2a5e9cf9142f2a2045d30f6df197967955cf3677e2e4cee28f529ec8b5514a35b833a18104923b08c52073e3389e0069f SHA512 976e029341f51d458981631b78746699531a591f40c191aa9b11e24fade10e0252b33d76d5ccc5929a424cf5fb779e3be54145b566a55f3f6e37137e02aeafd8 -MISC metadata.xml 345 BLAKE2B 5772ec610b6ea7386ea3477b76ae02012ec9aec20e3e1852dc722c0c50b4a742608e7f66124946062d81dee52215296ca5db5db0be4424e1ce73c1c484a6b164 SHA512 0c86c791ef516fa584933b3ab575f5877907ddbec59cfa96b07bcf73e7e3bfd538f6fac31dd482fca16ca29438d0c15c4e04336dc5440710115a9a94b6aa955d diff --git a/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild b/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild deleted file mode 100644 index bfe2a452e0cf..000000000000 --- a/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_DOCDIR="doc" - -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" - -RUBY_FAKEGEM_EXTENSIONS=(ext/fast_xs/extconf.rb ext/fast_xs_extra/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="fast_xs text escaping library ruby bindings" -HOMEPAGE="https://github.com/brianmario/fast_xs" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/rack )" - -PATCHES=( "${FILESDIR}/${P}+ruby-1.9.patch" ) - -each_ruby_test() { - # the Rakefile tries to run all the tests in a single process, but - # this breaks the monkey-patchers, we're forced to run them one by - # one. - for tu in test/test_*.rb; do - ${RUBY} -Ilib $tu || die "test $tu failed" - done -} diff --git a/dev-ruby/fast_xs/files/fast_xs-0.8.0+ruby-1.9.patch b/dev-ruby/fast_xs/files/fast_xs-0.8.0+ruby-1.9.patch deleted file mode 100644 index cdd72f2db3fb..000000000000 --- a/dev-ruby/fast_xs/files/fast_xs-0.8.0+ruby-1.9.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: fast_xs-0.8.0/test/test_erb_util_module_overrides.rb -=================================================================== ---- fast_xs-0.8.0.orig/test/test_erb_util_module_overrides.rb -+++ fast_xs-0.8.0/test/test_erb_util_module_overrides.rb -@@ -35,11 +35,13 @@ class TestErbUtilModuleOverrides < Test: - - def test_preserve_encoding - foo = "foo" -- foo.force_encoding Encoding::US_ASCII -- assert_equal Encoding::US_ASCII, url_encode(foo).encoding -- assert_equal Encoding::US_ASCII, html_escape(foo).encoding -- assert_equal Encoding::US_ASCII, u(foo).encoding -- assert_equal Encoding::US_ASCII, h(foo).encoding -+ ascii_encoding = (RUBY_VERSION =~ /1\.9/) ? Encoding::ASCII_8BIT : Encoding::US_ASCII -+ -+ foo.force_encoding ascii_encoding -+ assert_equal ascii_encoding, url_encode(foo).encoding -+ assert_equal ascii_encoding, html_escape(foo).encoding -+ assert_equal ascii_encoding, u(foo).encoding -+ assert_equal ascii_encoding, h(foo).encoding - - foo.force_encoding Encoding::BINARY - assert_equal Encoding::BINARY, url_encode(foo).encoding diff --git a/dev-ruby/fast_xs/metadata.xml b/dev-ruby/fast_xs/metadata.xml deleted file mode 100644 index 72e3f82c563f..000000000000 --- a/dev-ruby/fast_xs/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <upstream> - <remote-id type="github">brianmario/fast_xs</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ruby/ffaker/Manifest b/dev-ruby/ffaker/Manifest index 243b0e12e6a3..330b6d386f2f 100644 --- a/dev-ruby/ffaker/Manifest +++ b/dev-ruby/ffaker/Manifest @@ -1,3 +1,5 @@ DIST ffaker-2.21.0.gem 463360 BLAKE2B 90742c81b719ef6930269d2b6927add981f7d001a1465b5835894acf4e627e3870123d3e0c5c9449468c2f34c1b783e625daf668d900d6956487f6036ea8da8a SHA512 bff7f36ab6c90ac66781ddf034a628323a673a13325b93f3b12b0298d4934df3d7752e512daf7c1a893378c8d66b2d3facd2d407bfabd1dd02b64944acf73a08 +DIST ffaker-2.22.0.gem 470016 BLAKE2B be1ac238a03e2cc705327b373bf9844aaf2e80440665e46e79127c35e77d576b4de0a4d34f74f7b1e1ac6665850722fa8c4e99897576268444dcc51c9ab0a9e5 SHA512 c9b3f3ee5ccc002a9e590b37c38bd7d1d28aa1a81b7b208f94cc73643735492a804915eb6894643d5733469be6582b59d356a30f62f7cf7647a24a99cbfe019b EBUILD ffaker-2.21.0.ebuild 534 BLAKE2B 1f403f0c031c1e89b0f8036c7d74d0201fb746ea476f55a8d157951a514d3db1a7b7e100e3873e4de7c980d10ad3446bfb586f3d464c744985dfe5a4858991cb SHA512 9fa96dc4071ba5819d8499778807fe2442e0657b09240f3398a42ab9de0de80480a021c4534aaaacad7a7b6d603c472b92a414d97eefba4e04a93546936ff1b3 -MISC metadata.xml 345 BLAKE2B 2800fe3f1d57e8647e5372158763dc1889bace409b761b76602dcf196eee0be685f3247997e1e76809314c28f2c4c4ce68d3db264c268c6090078f23efd8648b SHA512 6f9206b94abc4e6e40afc7db09fdf6a6e73fa31b2c9b6a784c5dcd70cf46ef66424ecb0e7396335be8645d2c029ff2c28d8d1d92c1e14c5bf6e0ebecccf9b0bd +EBUILD ffaker-2.22.0.ebuild 539 BLAKE2B 19e61e2c78f85064c9d5f50afcbcde66273882f88223fe163f4bcce10cc87023c997793343bf52580c47109b7ca1451909dd8904cc46b77f8a4b7af6aec62289 SHA512 c963c0a7d12f0f9d5ffdf2e4b9048a608e306fa127744c5ca0e2cbd0fbcc9998799b0094503b9f2a5ff900ca6a97e8e419105b7cccdb7a3671560e08c4c324da +MISC metadata.xml 390 BLAKE2B be8a8a6775e44e4de01674ca066967feb8282c306578bf1bca996c0c575b83e39754c0535f14f9ebf488be1f0d79caa3af5e86b69e9f29e91e27421cf86f3229 SHA512 1a5a0cbf656410a8bcade49b5fa9f1caca8a7b066b0b05b66a9a63988ab4ea0574a342259a0db8c24822f4a5635cedaae9af026ecbac5451fb59a09cbc3ed5a6 diff --git a/dev-ruby/ffaker/ffaker-2.22.0.ebuild b/dev-ruby/ffaker/ffaker-2.22.0.ebuild new file mode 100644 index 000000000000..b14b9e27d72a --- /dev/null +++ b/dev-ruby/ffaker/ffaker-2.22.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" + +inherit ruby-fakegem + +DESCRIPTION="Faster Faker, generates dummy data" +HOMEPAGE="https://github.com/ffaker/ffaker" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die +} diff --git a/dev-ruby/ffaker/metadata.xml b/dev-ruby/ffaker/metadata.xml index c80617485199..86b453d7c079 100644 --- a/dev-ruby/ffaker/metadata.xml +++ b/dev-ruby/ffaker/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Ruby Project</name> </maintainer> <upstream> - <remote-id type="github">emmanueloga/ffaker</remote-id> + <remote-id type="github">ffaker/ffaker</remote-id> + <remote-id type="rubygems">ffaker</remote-id> </upstream> </pkgmetadata> diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest index b49e7e0c2625..ff524e0e112a 100644 --- a/dev-ruby/oauth/Manifest +++ b/dev-ruby/oauth/Manifest @@ -1,5 +1,6 @@ DIST oauth-0.5.14.tar.gz 68764 BLAKE2B 19c7f463d5fcba62a609355834ba93adf1efa05b2ce25fc5d9d3623da15d35a7cb54eff9201bb4f373a66629781f5937326430a7a1c9c615929bcc5bae099a67 SHA512 646ed55a602e9e7b8e8d59532c89929305abeeda6b38fc38bdf1d5e400deec7f5884d988bcbb9e3537eb3a0921dacb73cb5238af27e9885aff95b67196f62c99 DIST oauth-0.6.2.tar.gz 81702 BLAKE2B 2775c0711beb9f3612844ae07ff59953d4db72c0f9a797c6eac49132a021a48481a13f4b1428b2037b0a04b83b5d79e621cccd4a794fe3a339a1ceb468f0b165 SHA512 22f4f734daa42339bbaed1d1d449a4591ef4404aaf8cf1753ba705735a176f6142853b2c4f5e8ff3afa3e9899163af1c5598685664326d58a5b529d94b65441f EBUILD oauth-0.5.14.ebuild 1302 BLAKE2B a0c37ea85360a0849f423faa66e5fcfcd33c8860f815724398bcf01c733b5457530d45ad479fddb43859687bf5f36a5b8d3eeb267db11463ffd41a543dbb789c SHA512 54a70e14f6465120482c8a947f2b23029455bbada34ccf9c5db8a011396d23a2ddd5c7f0b65dbe07620f145f0816a26016b12fd95b0a2ffcd8a2692756e1d418 +EBUILD oauth-0.6.2-r1.ebuild 1440 BLAKE2B 53acbbdfff7e8a1767626315df4072bfad442bea2fa8564d26f111b4e19e8d7bbfa7a3662e9cc1eb2fa61d9a8809864c4bbbffd12dc93477fff4147cd898c797 SHA512 9b410813ee8c09b73a68574d7484e4f2f78427ac1ae314b83c4e26b22e559d31ad2bbcfcad0ecefec2b25347a628cc8da7b1abf94f63b79ba4c9fdc76e25c9fc EBUILD oauth-0.6.2.ebuild 1403 BLAKE2B fab3d199a16196709c01ec40d9ec6e0c7a1821d3dade0dba1c9c28ad08acd380e0ff3ae20f3f7bb6a0902f51c42866609446ebab949c4d973b03a23272d3e868 SHA512 54f54853fa0a5b2fd61083f0199b4b46ba14c73c3b9e6cfc04aaa2ab8631c16d549e52a221d70d772f14dcb5c9b7685678c338858f47f5c0b7b20e0ac182c9f3 MISC metadata.xml 336 BLAKE2B ab0fbd6793480301de481d3d1cfe9b26bfd24573f43d742c154fb4ddf4d0550663acd415dda46dbace5005085a40714fe3fdd9a84b147154c8ed3fdc47d59c02 SHA512 b99860f6b76b68cad2e0bde7a8c8d7156e4806dbed1f11f4579dfd8a89c372f7963d90b273a2ca3abbae82072aa91fba475b051b9dfaa7c557e4f36cbb5c85a6 diff --git a/dev-ruby/oauth/oauth-0.6.2-r1.ebuild b/dev-ruby/oauth/oauth-0.6.2-r1.ebuild new file mode 100644 index 000000000000..29b7d4397a7d --- /dev/null +++ b/dev-ruby/oauth/oauth-0.6.2-r1.ebuild @@ -0,0 +1,56 @@ +# 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="oauth" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="oauth.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A RubyGem for implementing both OAuth clients and servers" +HOMEPAGE="https://github.com/oauth-xx/oauth-ruby" +SRC_URI="https://github.com/oauth-xx/oauth-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/snaky_hash:1 + >=dev-ruby/version_gem-1.1:1 +" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/test-unit:2 + dev-ruby/mocha:2 + dev-ruby/webmock + dev-ruby/rack + dev-ruby/rest-client + dev-ruby/actionpack:6.1 + dev-ruby/railties:6.1 +)" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Require compatible versions of dependencies + sed -i -e '1igem "railties", "~>6.1.0" ; gem "actionpack", "~>6.1.0"; require "action_dispatch"' \ + -e '/mocha/ s/mini_test/minitest/' \ + -e 's/if RUN_COVERAGE/if false/' test/test_helper.rb || die + + # Avoid test tripped up by kwargs confusion + sed -e '/test_authorize/askip "kwargs confusion"' \ + -e 's/MiniTest/Minitest/' \ + -i test/units/cli_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/**/*test*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest index e4adeebb4027..f176e68a0479 100644 --- a/dev-ruby/octokit/Manifest +++ b/dev-ruby/octokit/Manifest @@ -1,7 +1,9 @@ DIST octokit-5.6.1.tar.gz 3171006 BLAKE2B 33fd132f81c7b1e1b3c1a4264b7bc6a7e7dbc2f9ccd4f1d2d734ae10914c5544eb90c629200e6d81b9a33fccc23791147af6660840248235ebe6b946f2ebba13 SHA512 3ed2e3eb61190da521f9246ac0fdb530e15c45cb41e5849f04ba1a92f0da8060a82eb2d90dfcb407436efba5f7f0ea98c69a342c67aa26b62eeab74a1f906c4e DIST octokit-6.1.0.tar.gz 3187811 BLAKE2B 70a849fe855ddf46aeaf6d512d675119188bb39e6a439c311531f20f9c52ce8da829e0e1242b29e821d5d6468b360e69b71ec645fdf7b1b217e4607032aa0d0c SHA512 7f362f7c4e021ae38083bfd498d98ddda7c2a36c439c8a924cb0390ede42911e8f0477481f1bde6b208009e27d42501d143d0549eb9731d8fb529c977a91da9d DIST octokit-6.1.1.tar.gz 3193336 BLAKE2B 890afac205992c25dd8b48f63ea7a4cf250687318ecb9c0980fc50ff1583943074cea1d9260f139b1a5f86295483f44120421dba8294eba641104301f0188123 SHA512 d91b326d892f80f08598ebb0a03edfd1fb85d36e40dac49593291a6b2ff6a957f5cd2283655c20ff0299f40c75ad7472ff55a14b182bec5f92693b560c2d3c87 +DIST octokit-7.1.0.tar.gz 3289841 BLAKE2B 7a0f95f0c94a4283d64252423b5adb3fbfbd309c5735d20672e26313aa0eaede0d75490878332d61f091cccce61bcc359339606566f8517b8a2adff1a495973f SHA512 6fdf2db8c0c9529e2d4aa574930432cd3954c8796209b4023d8be0d02c36aceb4f1ffb4c8eddf2aa25030a2d5a3223c7afae9c7f8bccdc03b2acab621d496f79 EBUILD octokit-5.6.1.ebuild 972 BLAKE2B 420072df30461bdc59bb0dcaa166eb5e8df5f4bd51a0dd20bcf9d9e06a955ed190702851c503b1c517d4746f113497e89931b21e22da9089fe75b6e5ec2432b5 SHA512 99c02d044abe07ec8ddb22a7f50be2b49984aa08ccc781e0a47d459ad36234da3d78c3f7afb03c4876c136ae30c25cebc1b3ab5dcfbf7df1cb354af0a9ae11fa EBUILD octokit-6.1.0.ebuild 977 BLAKE2B 5af722deed6bc9476ab680637b8e6de58425dd557a441e561e251b7b4da91b1b3d87dfbd9048c15788d9a618941663cf39ab707e0c16f130297168c5357171c9 SHA512 6b70d71bf1972adc4b7ae4e5d9545494709ec1de145ab8de16b301b416b8bdf8c42e73c28b6e3b167538fd88bf049d34671021f0dad0e0df828c04e77867dedd EBUILD octokit-6.1.1.ebuild 970 BLAKE2B b16a3b85bf87cf33a317c61d2dbb00fbf982d15173320a0c03846745d696596ff224c4ce48dcc611e15b03d6d8ce8eb97aa56247fe4ae74d3c0d9c77f71cbcee SHA512 67f506c870de3debc95dc6eb48aac88fff198133712adf0ed9d7f2e6775bc59abf0293d3d5006435c681a98e3cd8334610552f7047f9e68f5ac94037e5722332 +EBUILD octokit-7.1.0.ebuild 975 BLAKE2B 8af7efdde283bb5384f415b2d85c70b30e08d83708469bee023cd0f95a60fa8188d9e4339214aae44097b041ab38a05a1015b03c0d770ace16d0797467e95ae0 SHA512 31f011014535883ae3359f761f265111d39c0d9ef73d081f43cea6c10d7af671e123f6213a6e80e6daac62ce1de7f364d782d58d5fb17ef112e131d499385dd2 MISC metadata.xml 345 BLAKE2B ea9d229a1fa9c9e756d829b4b07d85d90cf5834f6667c622b5b9b5a886e2bd7b3f4d3e115a955ec823869ffe55d7fa810e97cee634036d7da88846462e42fd8c SHA512 afde1a713d352134bd4ada1404bb8834e0a33c4f0558a56050786d67bc76e9d397b0aa362445b74b29b620f93e2eb85b1374f2becb0d568ab618b65a4a95b689 diff --git a/dev-ruby/octokit/octokit-7.1.0.ebuild b/dev-ruby/octokit/octokit-7.1.0.ebuild new file mode 100644 index 000000000000..d92baa50a22b --- /dev/null +++ b/dev-ruby/octokit/octokit-7.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby toolkit for the Github API" +HOMEPAGE="https://github.com/octokit/octokit.rb" +SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RUBY_S=octokit.rb-${PV} + +ruby_add_rdepend " + || ( dev-ruby/faraday:2 dev-ruby/faraday:1 ) + >=dev-ruby/sawyer-0.9:0 +" + +ruby_add_bdepend "test? ( + dev-ruby/jwt + dev-ruby/mime-types + >=dev-ruby/netrc-0.7.7 + >=dev-ruby/rbnacl-7.1.1:6 + dev-ruby/vcr[json] + dev-ruby/webmock:3 )" + +all_ruby_prepare() { + sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \ + -e '/pry/ s:^:#:' \ + -i spec/spec_helper.rb || die +} diff --git a/dev-ruby/openssl-ccm/Manifest b/dev-ruby/openssl-ccm/Manifest index 44c7664d8dcc..007f9ebea12e 100644 --- a/dev-ruby/openssl-ccm/Manifest +++ b/dev-ruby/openssl-ccm/Manifest @@ -1,5 +1,3 @@ -DIST openssl-ccm-1.2.2.gem 24576 BLAKE2B b94a205ce3b9d557ad649c0391428526339b050dd7a85633ee955b3532a94637e7c40a7cbb9bd739ff50f2922c97721e4dadf7e392c2aaaa38f35123858c01f2 SHA512 5f04af1ac65608e519fcf68259b2690f12882781cdba411939f809e1a6cb602723bf23d9cb920949e8eb7c4bfddb3e65446ae16d0276af78992de21cbfcdfc49 DIST openssl-ccm-1.2.3.gem 24576 BLAKE2B 7df1a1cbd0570eed4165931b6f236a96050bc0e27a9b12d68e42e2578bbb3fe319e28eae1752571275ff35ee25a77617d0d74a7dbff5c197c5ab11a0dac1d96b SHA512 4070a570da5864dce582d02916dffccea74db279dd8f4f419a29a4837e66bd6778ba742f6e06037ee5bc5542954e52b2271384b0a321ea282024bc60df3b81e1 -EBUILD openssl-ccm-1.2.2-r1.ebuild 461 BLAKE2B 7d10d77b6f8dc0140c9b6509708e838640591f72ab2242ed13db8848eb9ca600ff1389a9d7f0e07f4d2c43d911d0497b07cb197368d8f0c1e813aa0d4404407f SHA512 68a34a80011135591e31a2a81fd7b40e6dffd1dfcf2646f033b6cb18096c7918502d5d8ddb69947799c658cad99a3d98768c97408596b712d40988a98e2df6eb EBUILD openssl-ccm-1.2.3.ebuild 453 BLAKE2B 68a14ef205f4bb703362775dcf8ae0c6582c96acf9d40c5510e91cf9387081bc53b1d3541cf72653d335a966a00be3c0cbef473b44f0937edac16a132cf5c8c7 SHA512 171ab1da22ebab455e63180567a0cc662abceaee4617b837da8b54ee2785e7f35c7d74afa3caeaf3a65bca7bdb920df0f1752d5e8d25075414f780b4573997bb MISC metadata.xml 344 BLAKE2B a8d224a63abfe1adbe0a829e7d2c7da31692d734d512a6f31f336a94a83c21b8c6d8caed1248f4b62d8bda8973e048e89c65cbafe118317a16c6c0c408ba9ee9 SHA512 600fea2b0131a02daf48eab55eb6042e0af24f31cda8606f207147f2ec53c749655a0a7b616bb669a5dfca0ff0f45da02c18f208e55eb06838567f9ab8dbdbaa diff --git a/dev-ruby/openssl-ccm/openssl-ccm-1.2.2-r1.ebuild b/dev-ruby/openssl-ccm/openssl-ccm-1.2.2-r1.ebuild deleted file mode 100644 index e532af80584a..000000000000 --- a/dev-ruby/openssl-ccm/openssl-ccm-1.2.2-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -inherit ruby-fakegem - -DESCRIPTION="OpenSSL CBC-MAC (CCM) ruby gem" -HOMEPAGE="https://github.com/SmallLars/openssl-ccm" - -LICENSE="BSD" -SLOT="${PV}" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -all_ruby_prepare() { - sed -i -e '/bundler/ s:^:#:' Rakefile || die - sed -i -e '/coverall/I s:^:#:' test/test_ccm.rb || die -} diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest index 8b3b5726f1d6..773ba9e69ad4 100644 --- a/dev-ruby/pg/Manifest +++ b/dev-ruby/pg/Manifest @@ -1,5 +1,5 @@ -DIST pg-1.4.1.tar.gz 258388 BLAKE2B d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076 SHA512 e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9 DIST pg-1.4.6.tar.gz 282608 BLAKE2B 73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5 SHA512 5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a -EBUILD pg-1.4.1.ebuild 1885 BLAKE2B 8a73717f2b5d82964076eaed461a795cd7dd5f4962aa6fa61e577594ce5e479952e42c1d9281511bc6195120aab11510b992620770028009f6267cf5fdbf77db SHA512 8644c0ae70a262e2c1a1c1e7166a6388f9c997724eef0954e794ec3fb59bae1f57d37c708ad63bddb368f39a2c6b6e3634f7fd2f3e96bb800263876151ff20e5 +DIST pg-1.5.3.tar.gz 296167 BLAKE2B d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e SHA512 d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a EBUILD pg-1.4.6.ebuild 2028 BLAKE2B b231efae9987bd39d6062e18b97265362bab85cc0f654dd1e1db6c765ea7509d72f2f83e29727e96152b8ff1af48daa13c5fa110a7315925f8a111d960c23191 SHA512 c444722b6f127d2befbaacb1e1a95461c89f6ad9f00b42f926c614e3942cc434833468d9acd56f836f87c0df22e7c75f71decdf24b4f1d3085f90629b1eebd5a +EBUILD pg-1.5.3.ebuild 2018 BLAKE2B b68fa7c9b61e0e1627ebdcfbc750bcf7d9ea65fd5955f4ce402d038d7711206bca55dd350e45bb012e29940dfd6b51986eb1ae9194e78c95bf317c33ab546691 SHA512 b0a6b9bf45a0151230e0c586ba04af840d022a5a28e8c5862c9500345ec9f113d6629ef45eb531217307896a938a824bf8ae8934142893174542bfb0553a0e74 MISC metadata.xml 338 BLAKE2B b827b967fa6a0795016f741de3ad7738103580b06bb6d1f56957fbbcde06a63eeacc6b9aa2bbd726bad77c91b28659a3318e6ec43d141cd1cd05982b209c2f1d SHA512 8f1ea2d36aaa43547b48d39df2f403bbbf63b5bd57570bddf8515f84bea573793f1ecacc807d02f05d96a919c8778465f4c87822bd1807ebeca115f6dec81e99 diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.5.3.ebuild index b5accb3c8c2c..0d0fcd602ed2 100644 --- a/dev-ruby/pg/pg-1.4.1.ebuild +++ b/dev-ruby/pg/pg-1.5.3.ebuild @@ -2,12 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby31 ruby32" RUBY_FAKEGEM_GEMSPEC="pg.gemspec" RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.rdoc History.rdoc" +RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md" RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) @@ -20,7 +20,7 @@ RUBY_S="ruby-${P}" LICENSE="|| ( BSD-2 Ruby-BSD )" SLOT="1" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="" RDEPEND+=" dev-db/postgresql:*" @@ -44,6 +44,9 @@ all_ruby_prepare() { # Avoid tests that assume IPv4 sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die + # Fails with network-sandbox + sed -i -e '/connects using without host but envirinment variables/askip "gentoo"' spec/pg/scheduler_spec.rb || die + # Avoid test that only works with bundled pg sed -i -e '/tells about the libpq library path/askip "gentoo"' spec/pg_spec.rb || die } diff --git a/dev-ruby/prawn-table/Manifest b/dev-ruby/prawn-table/Manifest index c9788981535b..9dcf04b3e1f0 100644 --- a/dev-ruby/prawn-table/Manifest +++ b/dev-ruby/prawn-table/Manifest @@ -1,3 +1,3 @@ DIST prawn-table-0.2.2.gem 64512 BLAKE2B bdf1beb86aa1bc6efc9530577a98cf5e32dc3930decff6b4575645e47a53ef4c2f06f7c460c2d07e5cc875a99e1194bd1db629acf06d2a2c214402f71f4a949d SHA512 9a3c749c27b5588dc1006b952c3f59ad938c05b98575cdd6c6cf6df9fb8acc5a1cebac0e60bbe6252ef2a1df3750f2860338c2234e362ea2c5524a0bd38bb47b -EBUILD prawn-table-0.2.2-r2.ebuild 832 BLAKE2B 4baccea3af5a533f412e9552abd5927364fb3084d6362d2b83dd49214256edf09273b61452bde6e18e330b7c20d20a1d78168a2858df34214c90fb098938d5e2 SHA512 cfd8023e6aaa7f9f7f48634b5f71f35a3a22240fef7ea4f2298a6f67f4f5361641d590a732b45c7a53415d8593abc0ee8cdb94076ca49c37d0f6bc470463ae98 +EBUILD prawn-table-0.2.2-r2.ebuild 832 BLAKE2B f33d53cd9380fb5c16ddf3d65367f33db96551c334d895c12dca0087cff0f54639bd3813d2a65cef7cc411cc08d9e583fe3784782997559aca136bfaf9f16935 SHA512 36f32bc756fe25487e82eb8c597a6dcd05b4126d6e7a6d4d1ac0fc874d2c3b0b187370fe5ab07743bb662310ebd57d7161f013a87760fd3354edcd4a2f96b5c6 MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 diff --git a/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild b/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild index 138abea1942b..a73d4daa132d 100644 --- a/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild +++ b/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_DOC="yard" RUBY_FAKEGEM_RECIPE_TEST="rspec3" |