diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-26 18:08:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-26 18:08:05 +0000 |
| commit | cbe0049bbe4b7fdac7a81b851e072b76d4619fdb (patch) | |
| tree | f92dfd868c7d4ac47d474c34d5dc58abcf8498a8 /dev-ruby | |
| parent | 83952ad56d8aabce1dead68117ff5b840ec416dc (diff) | |
| download | baldeagleos-repo-cbe0049bbe4b7fdac7a81b851e072b76d4619fdb.tar.gz baldeagleos-repo-cbe0049bbe4b7fdac7a81b851e072b76d4619fdb.tar.xz baldeagleos-repo-cbe0049bbe4b7fdac7a81b851e072b76d4619fdb.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby')
55 files changed, 455 insertions, 668 deletions
diff --git a/dev-ruby/arel-helpers/arel-helpers-2.14.0-r1.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.14.0-r1.ebuild new file mode 100644 index 000000000000..62e4e4422c0f --- /dev/null +++ b/dev-ruby/arel-helpers/arel-helpers-2.14.0-r1.ebuild @@ -0,0 +1,55 @@ +# 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_TEST="rspec3" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_S=${PN}-* +RUBY_FAKEGEM_VERSION="$(ver_cut 1-3)" +inherit ruby-fakegem + +DESCRIPTION="Tools to help construct database queries" +HOMEPAGE="https://github.com/camertron/arel-helpers" +# No test data in gems +SRC_URI="https://github.com/camertron/arel-helpers/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" + +ruby_add_rdepend " + || ( + dev-ruby/activerecord:7.0 + dev-ruby/activerecord:6.1 + ) +" + +ruby_add_bdepend " + test? ( + dev-ruby/rr + dev-ruby/activerecord[sqlite] + dev-ruby/bundler + dev-ruby/combustion + >=dev-ruby/database_cleaner-1.8 + >=dev-ruby/sqlite3-1.4 + ) +" + +all_ruby_prepare() { + # pry is for debugging, not useful here + sed -i -e '/pry-/ s:^:#:' spec/spec_helper.rb || die + + sed \ + -e '/rake/ s/~>/>=/' \ + -e '/appraisal/ s:^:#:' \ + -e '/database_cleaner/ s/1.8/1.7/' \ + -e '/database_cleaner/ s/~>/>=/' \ + -e '/sqlite3/ s/~>/>=/' \ + -i arel-helpers.gemspec || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake spec || die +} diff --git a/dev-ruby/bundler/Manifest b/dev-ruby/bundler/Manifest index 149f7fe415f9..3f8ed1a69da7 100644 --- a/dev-ruby/bundler/Manifest +++ b/dev-ruby/bundler/Manifest @@ -3,5 +3,6 @@ DIST bundler-2.3.26.gem 411648 BLAKE2B 5ea0ff86e0e09bf0466e4bb21502a13519515f312 DIST bundler-2.3.8.gem 403968 BLAKE2B 80640d5032034be0511762c60832c85c65b7b97397eca49d2bc35977a85625104477606abd6d8b286dd4697906a5d97076cac30f7ab58f45b258ba1e637bbc2c SHA512 e04bc9762135bdab7eb70bde4f21289375b7ea9bee795775dc614f31a6f145a5406396dbc638bdac778ac7c39d60c953e5ba38376b8bc72e7a8cfd1c40b25585 DIST bundler-2.4.1.gem 408576 BLAKE2B 8bd574023dfdffa9ab02b4a0f86c922cf3c8bbcebee3b9ad77b9eba748a81219f8fbccb3eac667922e7dc23f73212e9f42f04eae6ee99b1869ab40537365e8f2 SHA512 244cf923838c9e2001fae5533df66457953d93943fc9a2c587a1d36b1aec3385a7cd50680bd0fe14e8abb2dc11b11a8636a1e1c0d36847c24080f63edfe8b1f5 DIST bundler-2.4.15.gem 412672 BLAKE2B 3c73e082fa8a007cc626fd00093bf69ddf63ea00aba137594e1112db0900f2c7688d85dc3f22c7b569b1b3abb8977f3e6f850719b4bced12db9cd7959a376dba SHA512 0f2ea2a0ba113295dea5e42383d49a30fd580376088d81642796e6bec48e38b2f56115c052079a97040c5f2a89ff7e2a5cccfa5aab1e3053cad411b47e6ccaed +DIST bundler-2.4.19.gem 413184 BLAKE2B 34607b2fdf1c7cb36982fa7c7bbd5c6f5b7c227c525cb9abae2c1099d401818d91ba233c7d3d4e42c59e97b357065f03a1e8fa4c814e0b4cd95ac4e043984015 SHA512 ff4a7541c8110a18223df4586f636a70fe301843d80444fc4954e9ca7018da0f7a62980a0abd5d91e26f5222b224f8afc3dc51fc12e03559d77496ee1aee1296 DIST bundler-2.4.3.gem 409088 BLAKE2B df6991e9f4ef80899ac691d7a0ece268980bda7497482b207eba8e5e0f957fbc7b06f11755932f527d80ed199e79292b1a720a06f80b38d95685a4e6f2316e27 SHA512 a232c40656d05031b39390c72ae71596618e87d92cf86f1db45d75993ff8cb0625fef8055540ef14a8179211bdf17804028468c568e261d3dd43c0a5405ed4bf DIST bundler-2.4.6.gem 409600 BLAKE2B 5470a85b7ee0a88c13795516ee317eaf227ad49023f05dbbea1bbe0b2b4f2bb93fab85101128662845d8a2ad567bec04e5238e3a2d3b81c89aea81f18d552d4e SHA512 194d432a12bde41d7bdff5aefd187b539f4ab3932d6774f171147e4da907dc77f2ff56580c53151d5fdb77de2138b668f856e410cd63b1cda2fb996074771f35 diff --git a/dev-ruby/bundler/bundler-2.4.19.ebuild b/dev-ruby/bundler/bundler-2.4.19.ebuild new file mode 100644 index 000000000000..cbaa392ed78b --- /dev/null +++ b/dev-ruby/bundler/bundler-2.4.19.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +# The specs require a number of gems to be installed in a temporary +# directory, but this requires network access. They also don't work +# when run with a path that contains "-". +RUBY_FAKEGEM_RECIPE_TEST="none" + +# No documentation task +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_BINDIR="exe" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to vendor gem dependencies" +HOMEPAGE="https://github.com/rubygems/rubygems" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc test" + +ruby_add_rdepend virtual/rubygems + +RDEPEND+=" dev-vcs/git" diff --git a/dev-ruby/commonmarker/Manifest b/dev-ruby/commonmarker/Manifest index 91d3f86b8575..5b0204dd1cf9 100644 --- a/dev-ruby/commonmarker/Manifest +++ b/dev-ruby/commonmarker/Manifest @@ -1,2 +1,3 @@ +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 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 73d064bf44af..d7b1c24449f9 100644 --- a/dev-ruby/excon/Manifest +++ b/dev-ruby/excon/Manifest @@ -1,3 +1,4 @@ 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 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 aad86004e6e3..000000000000 --- a/dev-ruby/fast_xs/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fast_xs-0.8.0.gem 22016 BLAKE2B b24e65c31623e86ac8ab8b5a442565083bd047e5740aeae74d74e82c09770a8149853ad021ea6c6c036d411e8f299f4a531d78b0b3314ed5bf32d7f8b9fcf697 SHA512 55fc2704fab020f03b1ce138d1631dd5ad73a8601dcd95989a59c7cccb490c70b4e1af59fb8b009bfa0899f2c23feb42cc3068e243cd539ba1cb01a9f7bc573b 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 246d194b7ec0..000000000000 --- a/dev-ruby/fast_xs/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-ruby/ffaker/Manifest b/dev-ruby/ffaker/Manifest index 01193920a4ab..116b5fbdfdb6 100644 --- a/dev-ruby/ffaker/Manifest +++ b/dev-ruby/ffaker/Manifest @@ -1 +1,2 @@ DIST ffaker-2.21.0.gem 463360 BLAKE2B 90742c81b719ef6930269d2b6927add981f7d001a1465b5835894acf4e627e3870123d3e0c5c9449468c2f34c1b783e625daf668d900d6956487f6036ea8da8a SHA512 bff7f36ab6c90ac66781ddf034a628323a673a13325b93f3b12b0298d4934df3d7752e512daf7c1a893378c8d66b2d3facd2d407bfabd1dd02b64944acf73a08 +DIST ffaker-2.22.0.gem 470016 BLAKE2B be1ac238a03e2cc705327b373bf9844aaf2e80440665e46e79127c35e77d576b4de0a4d34f74f7b1e1ac6665850722fa8c4e99897576268444dcc51c9ab0a9e5 SHA512 c9b3f3ee5ccc002a9e590b37c38bd7d1d28aa1a81b7b208f94cc73643735492a804915eb6894643d5733469be6582b59d356a30f62f7cf7647a24a99cbfe019b 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 246d194b7ec0..0843b0f3666c 100644 --- a/dev-ruby/ffaker/metadata.xml +++ b/dev-ruby/ffaker/metadata.xml @@ -5,6 +5,8 @@ <email>ruby@gentoo.org</email> <name>Gentoo Ruby Project</name> </maintainer> - + <upstream> + <remote-id type="rubygems">ffaker</remote-id> + </upstream> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild b/dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild index 6a3f74f7422c..3aed1d8587be 100644 --- a/dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild +++ b/dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/socketry/http-accept/archive/v${PV}.tar.gz -> ${P}.t LICENSE="MIT" SLOT="1" -KEYWORDS="amd64 ~arm64" +KEYWORDS="amd64 ~arm64 ~ppc ~x86" IUSE="" all_ruby_prepare() { diff --git a/dev-ruby/http-accept/http-accept-2.2.0.ebuild b/dev-ruby/http-accept/http-accept-2.2.0.ebuild index 9cb68d6126b5..ae6a8daf0fed 100644 --- a/dev-ruby/http-accept/http-accept-2.2.0.ebuild +++ b/dev-ruby/http-accept/http-accept-2.2.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/socketry/http-accept/archive/v${PV}.tar.gz -> ${P}.t LICENSE="MIT" SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~arm64" +KEYWORDS="amd64 ~arm64 ~ppc ~x86" IUSE="" all_ruby_prepare() { diff --git a/dev-ruby/netrc/netrc-0.11.0-r2.ebuild b/dev-ruby/netrc/netrc-0.11.0-r2.ebuild index d33251cd1390..fdc7107fb2a8 100644 --- a/dev-ruby/netrc/netrc-0.11.0-r2.ebuild +++ b/dev-ruby/netrc/netrc-0.11.0-r2.ebuild @@ -12,7 +12,7 @@ DESCRIPTION="This library reads and writes .netrc files" HOMEPAGE="https://github.com/heroku/netrc" LICENSE="MIT" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" SLOT="0" IUSE="" 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..84466604d31a --- /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 ~ppc ~x86" +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 99a30ffc5eab..c67ec2cce6d9 100644 --- a/dev-ruby/octokit/Manifest +++ b/dev-ruby/octokit/Manifest @@ -1,3 +1,4 @@ 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 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 7892a463380b..d33cd8b90874 100644 --- a/dev-ruby/openssl-ccm/Manifest +++ b/dev-ruby/openssl-ccm/Manifest @@ -1,2 +1 @@ -DIST openssl-ccm-1.2.2.gem 24576 BLAKE2B b94a205ce3b9d557ad649c0391428526339b050dd7a85633ee955b3532a94637e7c40a7cbb9bd739ff50f2922c97721e4dadf7e392c2aaaa38f35123858c01f2 SHA512 5f04af1ac65608e519fcf68259b2690f12882781cdba411939f809e1a6cb602723bf23d9cb920949e8eb7c4bfddb3e65446ae16d0276af78992de21cbfcdfc49 DIST openssl-ccm-1.2.3.gem 24576 BLAKE2B 7df1a1cbd0570eed4165931b6f236a96050bc0e27a9b12d68e42e2578bbb3fe319e28eae1752571275ff35ee25a77617d0d74a7dbff5c197c5ab11a0dac1d96b SHA512 4070a570da5864dce582d02916dffccea74db279dd8f4f419a29a4837e66bd6778ba742f6e06037ee5bc5542954e52b2271384b0a321ea282024bc60df3b81e1 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 08c2c2792b82..644caa02df6c 100644 --- a/dev-ruby/pg/Manifest +++ b/dev-ruby/pg/Manifest @@ -1,2 +1,2 @@ -DIST pg-1.4.1.tar.gz 258388 BLAKE2B d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076 SHA512 e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9 DIST pg-1.4.6.tar.gz 282608 BLAKE2B 73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5 SHA512 5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a +DIST pg-1.5.3.tar.gz 296167 BLAKE2B d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e SHA512 d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a 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-icon/prawn-icon-3.1.0.ebuild b/dev-ruby/prawn-icon/prawn-icon-3.1.0.ebuild index 7052fe4ff250..2c4ac05619d9 100644 --- a/dev-ruby/prawn-icon/prawn-icon-3.1.0.ebuild +++ b/dev-ruby/prawn-icon/prawn-icon-3.1.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31" +USE_RUBY="ruby31 ruby32" RUBY_FAKEGEM_RECIPE_DOC="yard" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild b/dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild index 4ab80437a9ff..db9d6a76e538 100644 --- a/dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild +++ b/dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31" +USE_RUBY="ruby31 ruby32" RUBY_FAKEGEM_RECIPE_DOC="yard" RUBY_FAKEGEM_RECIPE_TEST="rspec3" 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 7880195a2dcf..b5db11aa5085 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" diff --git a/dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild b/dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild index 38a8ae9cbf1d..6c54e594b78e 100644 --- a/dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild +++ b/dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31" +USE_RUBY="ruby31 ruby32" RUBY_FAKEGEM_RECIPE_DOC="yard" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild b/dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild index 20f6c12c5218..f8909dbf533f 100644 --- a/dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild +++ b/dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/rest-client/rest-client" LICENSE="MIT" SLOT="2" -KEYWORDS="amd64 ~arm64" +KEYWORDS="amd64 ~arm64 ~ppc ~x86" IUSE="" ruby_add_bdepend "test? ( dev-ruby/webmock:3 )" diff --git a/dev-ruby/rspec-core/Manifest b/dev-ruby/rspec-core/Manifest index b061ae418a4b..46e771a3361f 100644 --- a/dev-ruby/rspec-core/Manifest +++ b/dev-ruby/rspec-core/Manifest @@ -1,3 +1,2 @@ -DIST rspec-core-3.11.0-git.tgz 403154 BLAKE2B 1a5043bd2120236e8e3ca931c1fd9562bc78d692674d3133ac3742ef7b7f81161a7fc550f4d11bf34575a85a8657aeb39fcc0fdccaab67cc189cc1d39a303ade SHA512 6121b805f6feade244fe13e273526e64c5a3c74a1f9d4316c895279f4ed8576dbe3189b06040f3f29fe7d3e90f862f2c78aacb0b4bef989660eae30d046ed69c DIST rspec-core-3.12.1-git.tgz 409036 BLAKE2B 0a6311f9908fd2e85621ebdb9cce5723de83e392bc5a6f0bb5be98c26b8f26b759a1cb3923a5d583f2ea7f6e72f07093bb23d54aa2b44d3a3ae0874ef6a99a73 SHA512 aaf7e4aebf1240c5f602a1e34f1f9e9355438ca544484f500d21e6021fd95d5ab5d26dc2249122d1dfc76b23725800f88937b5d1e53cd00d0b84faa46b056bea DIST rspec-core-3.12.2-git.tgz 409039 BLAKE2B 087b08b6a5231a050d89dc8ec1648509b47078b54c05e5effc02cfcdd0f4cae9fa85f7dc02d643a6e81eb9e4c1dca54d6f4e0b0f79a5d91072c1934fddac9169 SHA512 6ecd39355a5060dbf820b89f2f5958b7e75a185e003036cb0ceb8dd6021d79fa14495a300acdc019b55e174bf8a6be42022bfeb0f22a35c461c0f81cd1a742fd diff --git a/dev-ruby/rspec-core/rspec-core-3.11.0.ebuild b/dev-ruby/rspec-core/rspec-core-3.11.0.ebuild deleted file mode 100644 index ae6815f1da1d..000000000000 --- a/dev-ruby/rspec-core/rspec-core-3.11.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_TASK_TEST="none" - -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -# Also install this custom path since internal paths depend on it. -RUBY_FAKEGEM_EXTRAINSTALL="exe" - -RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="https://github.com/rspec/rspec-core" -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="highlight" - -SUBVERSION="$(ver_cut 1-2)" - -ruby_add_rdepend " - =dev-ruby/rspec-support-${SUBVERSION}* - highlight? ( >=dev-ruby/coderay-1.1.1 ) -" - -ruby_add_bdepend "test? ( - >=dev-ruby/nokogiri-1.5.2 - >=dev-ruby/coderay-1.1.1 - dev-ruby/syntax - >=dev-ruby/thread_order-1.1.0 - >=dev-ruby/rspec-expectations-3.8.0:3 - >=dev-ruby/rspec-mocks-2.99.0:3 - >=dev-ruby/rspec-support-3.9.1:3 - )" - -all_ruby_prepare() { - # Don't set up bundler: it doesn't understand our setup. - sed -i -e '/[Bb]undler/d' Rakefile || die - - # Avoid dependency on cucumber since we can't run the features anyway. - sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die - - # Duplicate exe also in bin. We can't change it since internal stuff - # also depends on this and fixing that is going to be fragile. This - # way we can at least install proper bin scripts. - cp -R exe bin || die - - # Avoid unneeded dependency on git. - sed -i -e 's/git ls-files --/find/' rspec-core.gemspec || die - - # Avoid aruba dependency so that we don't end up in dependency hell. - sed -i -e '/ArubaLoader/,/^end/ s:^:#:' -e '/Aruba/ s:^:#:' spec/spec_helper.rb || die - rm -f spec/support/aruba_support.rb || die - rm -f spec/integration/{bisect_runners,failed_line_detection,filtering,order,persistence_failures,suite_hooks_errors}_spec.rb || die - rm -f spec/integration/{spec_file_load_errors,output_stream,fail_if_no_examples}_spec.rb || die - - # Avoid a spec failing due to path issues - sed -i -e '/does not load files in the default path when run by ruby/,/end/ s:^:#:' \ - spec/rspec/core/configuration_spec.rb || die - - # Avoid a spec that depends on dev-ruby/rspec to lessen circular - # dependencies, bug 662328 - sed -i -e '/loads mocks and expectations when the constants are referenced/askip "gentoo: bug 662328"' spec/rspec/core_spec.rb || die - - # Avoid a spec depending on specifics on local networks - # This fails when localhost resolves to ::1 which may be a - # ruby regression in the drb/acl code. - rm -f spec/rspec/core/bisect/server_spec.rb || die -} - -each_ruby_prepare() { - sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die -} - -each_ruby_test() { - PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed." -} - -all_ruby_install() { - all_fakegem_install - - ruby_fakegem_binwrapper rspec /usr/bin/rspec-3 'gem "rspec", "~>3.0"' -} diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest index 85bafe4f7704..98ec5771a611 100644 --- a/dev-ruby/rspec-expectations/Manifest +++ b/dev-ruby/rspec-expectations/Manifest @@ -1,5 +1,3 @@ -DIST rspec-expectations-3.11.0-git.tgz 214878 BLAKE2B f830a0a31fb0e7cd6639e711e4daa9faa98e514b6a1dd864c383259d199dc617c6c7ff45dc65f37cf53d3c4581c6ecb9148e42b77f3c37541d8985714d62af23 SHA512 209eabafe92db3de1a78524d98facda16b3f5fef11f8f0c8c74bc6fc68529c8d9a835a8196e84b8b8bdf828d548d4b00bb1acdd607cab14dad7874f55a42b0c6 -DIST rspec-expectations-3.11.1-git.tgz 217396 BLAKE2B b9660b22f0b23a5436d98ffe2b21b58c947765ab5cf7d245bf265faead46a5326fc403ad55ee2fcd72d96c8c29fc996715ecc74c9521ec4ca34daa9d5bc0f819 SHA512 1941056eb2f2205f583f335993e25030b433cb0463992d74d5c568c7bbab4313fc6e7e14ada5147064b14d6da49326e3c3cb342408cfe9b38d350c9470e5cdf9 DIST rspec-expectations-3.12.0-git.tgz 217524 BLAKE2B f9638e2e5c83020818b2de4c06074b7d70f02655a50d598ecfcd8c79e1abb2ec351c5b7aed1ec0ea84fde140fc1a04349a6f2edbffda7cb697135ac0b5788b0c SHA512 51a80b5d45e8ca61a829f2130c60433999c6d5c60343d25f737bdb9d6864e89a156b29b549250f7c4248d5ba7a0cef11eb28e55d3023274051eb11f2d0361c83 DIST rspec-expectations-3.12.1-git.tgz 218331 BLAKE2B 9a8604bef9d0118fc3ce5c56f3c53597bf5f4a2eb6a85977fb73ba43e585fc430c3a658ed6ca5b2b9c7fce7e11add81303734bac4bafc8331b221eef8eca4a8a SHA512 a0412cbf55d6cc3c0671abb3cb64bbc9473496aeb8adaa0fa5ae35f0036635adf5f894db0a9150002e7a69cffd1bf2b0c952672890197559be5c54bd2b508b64 DIST rspec-expectations-3.12.2-git.tgz 218501 BLAKE2B 9b4dffb018d11c6d2bea399a7c1c3ebea157f83231d50e641998e0cb77e85e65c097a5d21e6989ce4c123df00137146b409fa2af102691867195fe42f1e11735 SHA512 6695959bcb185654e7ae96eaf112263ab49cf89f32781ab2b445e11e5d04b070295c9fa051ed6f4925b7cce78fb233490ad12618ac8f54d24a328ae3a6788859 diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild deleted file mode 100644 index 3da23001e151..000000000000 --- a/dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild +++ /dev/null @@ -1,47 +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" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="https://github.com/rspec/rspec-expectations" -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -SUBVERSION="$(ver_cut 1-2)" - -ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1* - =dev-ruby/rspec-support-${SUBVERSION}*" - -ruby_add_bdepend "test? ( - >=dev-ruby/rspec-mocks-3.2.0:3 - >=dev-ruby/rspec-support-3.5.0:3 - )" - -all_ruby_prepare() { - # Don't set up bundler: it doesn't understand our setup. - sed -i -e '/[Bb]undler/d' Rakefile || die - - # Remove the Gemfile to avoid running through 'bundle exec' - rm -f Gemfile || die - - # fix up the gemspecs - sed -i \ - -e '/git ls/d' \ - -e '/add_development_dependency/d' \ - "${RUBY_FAKEGEM_GEMSPEC}" || die -} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.11.1.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.11.1.ebuild deleted file mode 100644 index ac8cf76b410e..000000000000 --- a/dev-ruby/rspec-expectations/rspec-expectations-3.11.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="https://github.com/rspec/rspec-expectations" -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -SUBVERSION="$(ver_cut 1-2)" - -ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1* - =dev-ruby/rspec-support-${SUBVERSION}*" - -ruby_add_bdepend "test? ( - >=dev-ruby/rspec-mocks-3.2.0:3 - >=dev-ruby/rspec-support-3.5.0:3 - )" - -all_ruby_prepare() { - # Don't set up bundler: it doesn't understand our setup. - sed -i -e '/[Bb]undler/d' Rakefile || die - - # Remove the Gemfile to avoid running through 'bundle exec' - rm -f Gemfile || die - - # fix up the gemspecs - sed -i \ - -e '/git ls/d' \ - -e '/add_development_dependency/d' \ - "${RUBY_FAKEGEM_GEMSPEC}" || die -} diff --git a/dev-ruby/rspec-mocks/Manifest b/dev-ruby/rspec-mocks/Manifest index 103e3e1584a5..c7549839acd3 100644 --- a/dev-ruby/rspec-mocks/Manifest +++ b/dev-ruby/rspec-mocks/Manifest @@ -1,4 +1,3 @@ -DIST rspec-mocks-3.11.2-git.tgz 202347 BLAKE2B 7db89badf2cd3a9bdb590260dfced05cc72ccb7b2a8f600969f17c2df0523ee602f728aef257e88876f5c3b283645cf7f3243bd6de67c5bd26d3d74d0349593a SHA512 a1053cb9604b01de99f79b18fea2c4b3818d950e83da642a8b3aa9dbdb397429f51d95efa84a603770d4db94a25758c1cef15ce1ba77a4c952e9ef5f43a21e4d DIST rspec-mocks-3.12.2-git.tgz 204751 BLAKE2B bcbb8d6df6b1bf3b58e43e72c25b792f91f00467520cb1b366883e8ad54b7a380b287ae9e6f453de78603423f099ed0d4b3759338f5a4a91ea9c42c16439c4eb SHA512 ae1cdafe53d7c3258bce4cd0bec10a9b91886f2b71736e028350ea212999b88b9fb2e3554f1db040bf8e66cfb2d0139c305aa219e01c8db998b75283da327d3a DIST rspec-mocks-3.12.3-git.tgz 204925 BLAKE2B b72faa1e560b179a0bb9f2a59d53b2dd01142bfaaa60f66056848eb3f3c7181877be3d921c3eff5e023834fb256f2a7f49f96cf448040713e52560c8d4525ef9 SHA512 0ed50f0e9a38a23805a56c1ae3ffa94f27428755f6613053df0771440d0b5b9f3d6d1bbc8a3e310e0f66b57540dd8bc3e409336c96a78d178506b3ac2e849b67 DIST rspec-mocks-3.12.5-git.tgz 207219 BLAKE2B 8cd6b706df056fbf896164f195338bc3e3f77393b0c8550a7e6e149a337de2efc0872ee50320d0c8e3d5d462ce3106b1cc34b1ea5854794e84876c32d8a6c4aa SHA512 14cdbc38e88fe6a9d25c833814074bf94ee529bc8c2f13b5bdf74e9078a264d09f6b38e35966c1005fd6fbbfb004276fe1cdc5d614cf9a15550898a40d0dd474 diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.11.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.11.2.ebuild deleted file mode 100644 index 2125b855ba1c..000000000000 --- a/dev-ruby/rspec-mocks/rspec-mocks-3.11.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -#RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="https://github.com/rspec/rspec-mocks" -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -SUBVERSION="$(ver_cut 1-2)" - -ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}* - >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*" - -ruby_add_bdepend " - test? ( - >=dev-ruby/rspec-core-3.3.0:3 - >=dev-ruby/rspec-expectations-2.99.0:3 - )" - -all_ruby_prepare() { - # Don't set up bundler: it doesn't understand our setup. - sed -i -e '/[Bb]undler/d' Rakefile || die - - # Remove the Gemfile to avoid running through 'bundle exec' - rm Gemfile || die - - # Remove .rspec options to avoid dependency on newer rspec when - # bootstrapping. - rm .rspec || die - - sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die - - sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest index 3fdc05dbab04..6f3b85356f44 100644 --- a/dev-ruby/rspec-support/Manifest +++ b/dev-ruby/rspec-support/Manifest @@ -1,4 +1,2 @@ -DIST rspec-support-3.11.0-git.tgz 75644 BLAKE2B 349df9b326e98fd3564ae22c8659c95205d5e623f0e67721cdb3dd658bdbee5ec574f4286d9548984567079178997c6e9b419211c7c3da601dd02ad3aa0d448f SHA512 38bd7c132b6dea3036c8c18e6c535c2dfb5faa0601fb13eb406c8bb279e42e460cecb823527b04a22966f0e965eda6b539e48cbac20c663ae3a17c01f4fbd0e0 -DIST rspec-support-3.11.1-git.tgz 77995 BLAKE2B 19fb743a9488d13ac8b6d4238bdc100b8ff324ae021b2214e0ee5eae32a000bfed48888868f5092d1f28742d74072c1b76debcbee4bd0bc9805e2e29c2f3558e SHA512 2acb99fefa52d3b9b77d7875c27a7869ad3dd0d2dece09b67ba0e272a3c5e1ad1e2a1ed3adfd32f4c1b145232d8b1996a613ea308e9aa4c6a3d8aac1b8796bea DIST rspec-support-3.12.0-git.tgz 78119 BLAKE2B 75ac5a3e03582fe11fba164687eddf291cba1d9389cfb47e9c0b64b59177634914313f25b94c1ab658069c331b0d19b33ecc882894ca5cbe6e17022befb45632 SHA512 c1296d1589bc5536b5890e1589876d0b13f122bd1b555f3e3ae62ef29fe46c989013d9435486ffe553f657d928e99434b11339c53e5248f1817a99959e344430 DIST rspec-support-3.12.1-git.tgz 78764 BLAKE2B f3e6cd0123096971ee2793a69d02e4c34289904285ee9fe7081f7697c724ecc4195a3cc0e8042bd0c76ff070d6c332fbe41862c31afad9089f68f3846a613dd6 SHA512 88577e184a90f9f48ea97a53e5bd0bd6a2fd5e43275c4bd5cf52a4f8a36637ddb0a1043723b5902d3c0b5bd0cfe0c17a035af702cb094fb8c9543fae6401768a diff --git a/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild deleted file mode 100644 index e812d299e5d2..000000000000 --- a/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild +++ /dev/null @@ -1,60 +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" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="https://github.com/rspec/rspec-support" -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.9.0:3 >=dev-ruby/thread_order-1.1.0 )" - -all_ruby_prepare() { - sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Remove spec that, by following symlinks, tries to scan pretty much - # the whole filesystem. - rm spec/rspec/support/caller_filter_spec.rb || die - - # Avoid spec that requires a dependency on git - sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die - - # Avoid a spec requiring a specific locale - sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die - - # Avoid a brittle spec depending on ruby implementation details - # should be fixed upstream in next version - #sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die -} - -each_ruby_prepare() { - # Use the ruby version being tested - sed -i -e '/shell_out/ s:ruby:'${RUBY}':' spec/rspec/support/spec/shell_out_spec.rb || die - - case ${RUBY} in - *ruby31) - # Avoid specs failing when run in Gentoo, possibly due to different IO - sed -e '/outputs unified diff message of two arrays/askip "ruby31 IO"' \ - -e '/outputs unified diff message for hashes inside arrays with differing key orders/askip "ruby31 IO"' \ - -i spec/rspec/support/differ_spec.rb || die - ;; - esac -} - -each_ruby_test() { - RUBYLIB=lib ${RUBY} -S rspec spec || die -} diff --git a/dev-ruby/rspec-support/rspec-support-3.11.1.ebuild b/dev-ruby/rspec-support/rspec-support-3.11.1.ebuild deleted file mode 100644 index 10f031a0deeb..000000000000 --- a/dev-ruby/rspec-support/rspec-support-3.11.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="https://github.com/rspec/rspec-support" -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.9.0:3 >=dev-ruby/thread_order-1.1.0 )" - -all_ruby_prepare() { - sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Remove spec that, by following symlinks, tries to scan pretty much - # the whole filesystem. - rm spec/rspec/support/caller_filter_spec.rb || die - - # Avoid spec that requires a dependency on git - sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die - - # Avoid a spec requiring a specific locale - sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die - - # Avoid a brittle spec depending on ruby implementation details - # should be fixed upstream in next version - #sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die -} - -each_ruby_prepare() { - # Use the ruby version being tested - sed -i -e '/shell_out/ s:ruby:'${RUBY}':' spec/rspec/support/spec/shell_out_spec.rb || die - - case ${RUBY} in - *ruby31) - # Avoid specs failing when run in Gentoo, possibly due to different IO - sed -e '/outputs unified diff message of two arrays/askip "ruby31 IO"' \ - -e '/outputs unified diff message for hashes inside arrays with differing key orders/askip "ruby31 IO"' \ - -i spec/rspec/support/differ_spec.rb || die - ;; - esac -} - -each_ruby_test() { - RUBYLIB=lib ${RUBY} -S rspec spec || die -} diff --git a/dev-ruby/rspec/Manifest b/dev-ruby/rspec/Manifest index 5e4189fa2042..1e26033a3921 100644 --- a/dev-ruby/rspec/Manifest +++ b/dev-ruby/rspec/Manifest @@ -1,2 +1 @@ -DIST rspec-3.11.0.gem 10752 BLAKE2B 24941576037669a53373d263bda99c7c98e295f5d616c08964d95dd3b0697d64c5399ed554d15705c1ea3f11c8bed667de00e0aef28d6cd1fd119057ece5f626 SHA512 233f80500446066a61a50d8e3f8a602316071beaa82e95776390684f7d58fa0acf8807386bee7d08b21f5481933e031b968fd752cf97efa74ba6cd411a8d1395 DIST rspec-3.12.0.gem 10752 BLAKE2B 80beb56bfed2200e05c8fbe040a265f4176a7142a7c077564821057eec2aa02f68c2417eae5e0309221457d419bf0c9af9123c5e8f1f19992a9361298240c0c8 SHA512 24278c467e5226ad1a5bb4c64190fb5d1077777237d9c2e5c4f16a00b026bf26d8f15e2c74a34221b198992f73ef06af314488a61358968e2083f935467e5a35 diff --git a/dev-ruby/rspec/rspec-3.11.0.ebuild b/dev-ruby/rspec/rspec-3.11.0.ebuild deleted file mode 100644 index 20345b8b1b65..000000000000 --- a/dev-ruby/rspec/rspec-3.11.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" -HOMEPAGE="https://github.com/rspec/rspec" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="" - -SUBVERSION="$(ver_cut 1-2)" - -ruby_add_rdepend " - =dev-ruby/rspec-core-${SUBVERSION}* - =dev-ruby/rspec-expectations-${SUBVERSION}* - =dev-ruby/rspec-mocks-${SUBVERSION}*" diff --git a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r4.ebuild b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r4.ebuild deleted file mode 100644 index c33a0c9fd407..000000000000 --- a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r4.ebuild +++ /dev/null @@ -1,25 +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" - -RUBY_FAKEGEM_DOCDIR="doc/site/api" -RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc" - -RUBY_FAKEGEM_EXTENSIONS=(ext/augeas/extconf.rb) - -inherit multilib ruby-fakegem - -DESCRIPTION="Ruby bindings for Augeas" -HOMEPAGE="http://augeas.net/" -SRC_URI="http://download.augeas.net/ruby/${P}.gem" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86" -IUSE="" - -RDEPEND=">=app-admin/augeas-1.1.0" -DEPEND="${RDEPEND} - dev-libs/libxml2" diff --git a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild index 92b72038db39..abf7e6a97497 100644 --- a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild +++ b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" inherit ruby-ng diff --git a/dev-ruby/ruby-openid/ruby-openid-2.9.2.ebuild b/dev-ruby/ruby-openid/ruby-openid-2.9.2.ebuild index eb13ac12b314..040dfc9d2bef 100644 --- a/dev-ruby/ruby-openid/ruby-openid-2.9.2.ebuild +++ b/dev-ruby/ruby-openid/ruby-openid-2.9.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md NOTICE UPGRADE.md" @@ -20,8 +20,16 @@ SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="test" +ruby_add_bdepend "test? ( dev-ruby/webrick )" + all_ruby_prepare() { sed -i -e "/[Bb]undler/d" Rakefile || die + + # Avoid test failing due to new sematics in ruby 3 + sed -i -e '/test_no_host/askip "Ruby 3 incompatibility"' test/test_discover.rb || die + + # Fix Bignum deprecation in tests + sed -i -e 's/Bignum/Integer/' test/test_cryptutil.rb || die } all_ruby_install() { diff --git a/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r3.ebuild b/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r3.ebuild index c07f0ea2e950..9424ed9ee901 100644 --- a/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r3.ebuild +++ b/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_TASK_TEST="" diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index df7360c1f725..f4f7113f76af 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -1,5 +1,6 @@ DIST rubygems-3.3.26.tar.gz 12995476 BLAKE2B c06400d263f64ee988781b49628eebde2b78b5c3cdf3796fe5e1ce5891cb0b41b5e50313293afc72c9b278ab00415b91a862f4245107c63e8eedb9904a5d33e2 SHA512 5aad9f6f0f7187d7d3f2a77ceb50b4b293290dc2e83fb55654c8fdf8e222568d40ef0c64d603ae2ff0db39e7a39ee89ec3c48bb102d434637145863881851086 DIST rubygems-3.4.1.tar.gz 12999634 BLAKE2B 019364e3abd3b12f2a37b08a8d32546cd002c47653a4cdd4e06d8605010dcfcbf3f82f2d375c6bd51a8f1b462b624cefb85932c075b965d5038c26d6079de261 SHA512 2183f7d6ab914c47c02b53cafa6f39845986e4b38713d320402b98f0f0926dbbd957ef11c00b4fbe8f6c9985a1a5d9f551b2df9d47f00c389026e373dbd6f6ed DIST rubygems-3.4.15.tar.gz 15033712 BLAKE2B 01fa4160549d49dbb0fd9e8c2c3c570e837cdb0d074a0ba484bb37ae8b7a19f853387dacb980615f63e4be9ab080e3b8fb9b429da97b6ffe98ea33178efdf2e6 SHA512 37aec02ac91427d3b44b3914308a4262d2c9b2c603b6fdd986ce0858175642290b2588a85540f555d0b5f5342960469337609546c2329d312280bb0accd6c932 +DIST rubygems-3.4.19.tar.gz 15037850 BLAKE2B adf618f326fa83a8eb7febb9872a71f2bf78048dfa7c4db07343c9813ba5d858c86bcd6e54df1a559e60e458ba8d73d2a7ac82ee5e0cbde6e9d8b45c12793d4c SHA512 8d0bc225ef01d3cc5e3ad12a1bf0bbb3923349bb9b79b76a9ac58bb8dcf79666a478a871d19919adc15f1aa2599efde5d3938c61801579277117b569e7007656 DIST rubygems-3.4.3.tar.gz 15002575 BLAKE2B be8dfb7233754e0ef9147eab1c64d363c38de5a6c296087a193b801c9fa1a12d2a21d7b3b01360f53a30caa6815b3bcdf3d14ecd19ac19dfd2e88115526b5a97 SHA512 7f3907b6ab8f001bd856c2b25b71c5ec32b21b2b5fa16ba369e3108c44698712ac3f5ace430554a4b15dc0adef2d87fa41bffa03dcd01f524fe8bbd80de9807b DIST rubygems-3.4.6.tar.gz 15011157 BLAKE2B a06178a1d5dbd8231493dce9d075451062edaa6b4affee6892d60c727e30ef4b7ff7933baf4ae49fedaa684f9898325ed1313648dac318bd62e9c733de374926 SHA512 d1c23b534f2254ff4dec564098f7eba83462eb9348da59a84de01fc4053ef3be02b2852af4542447de89a36d835f68634606040672d2a2f987c5670b9f373fe9 diff --git a/dev-ruby/rubygems/rubygems-3.4.19.ebuild b/dev-ruby/rubygems/rubygems-3.4.19.ebuild new file mode 100644 index 000000000000..781d823d66ce --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.4.19.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="|| ( Ruby MIT )" + +SRC_URI="https://github.com/rubygems/rubygems/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_depend "virtual/ruby-ssl" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rake + dev-ruby/rdoc + dev-ruby/webrick + )" + +all_ruby_prepare() { + # Remove unpackaged automatiek from Rakefile which stops it from working + sed -i -e '/automatiek/ s:^:#:' -e '/Automatiek/,/^end/ s:^:#:' Rakefile || die + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-5.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + sed -e '/test_initialize_\(path_with_defaults\|regexp_path_separator\)/aomit "gentoo"' \ + -i test/rubygems/test_gem_path_support.rb || die + # Avoid test that won't work as json is also installed as plain ruby code + sed -i -e '/test_realworld_\(\|upgraded_\)default_gem/aomit "gentoo"' test/rubygems/test_require.rb || die + + # Avoid test that requires additional utility scripts + rm -f test/test_changelog_generator.rb || die + + # Avoid tests that require a network connection (for crates.io or other downloads) + rm -f test/rubygems/test_gem_ext_cargo_builder.rb || die + sed -e '/test_gem_exec_gem_uninstall/aomit "requires network"' \ + -i test/rubygems/test_gem_commands_exec_command.rb || die + + # Update manifest after changing files to avoid a test failure + if use test; then + rake update_manifest || die + fi +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' exe/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { require _1 }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin exe/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc CHANGELOG.md README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(30|31|...)" + ewarn +} diff --git a/dev-ruby/rubypants/rubypants-0.7.1.ebuild b/dev-ruby/rubypants/rubypants-0.7.1.ebuild deleted file mode 100644 index 047b4ee29735..000000000000 --- a/dev-ruby/rubypants/rubypants-0.7.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_EXTRADOC="README.rdoc" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby port of the SmartyPants PHP library" -HOMEPAGE="https://leahneukirchen.org/repos/rubypants/README" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="" - -all_ruby_prepare() { - sed -i -e '/ecov/I s:^:#:' test/helper.rb || die -} - -each_ruby_test() { - ${RUBY} -I. test/rubypants_test.rb || die "tests failed" -} diff --git a/dev-ruby/sigdump/Manifest b/dev-ruby/sigdump/Manifest index 94191bfd6061..3ed07b3b9bf6 100644 --- a/dev-ruby/sigdump/Manifest +++ b/dev-ruby/sigdump/Manifest @@ -1,2 +1 @@ -DIST sigdump-0.2.4.gem 9216 BLAKE2B 66c3d61eca7f1288de6d95e8d0376d27ab39fee6e5168430801d0f2016f6488eb20cc92e83967d69f690e5ff064952d2696ed08ecd0ab0c4e98c61fdfdbf38cf SHA512 c079f538d3e4e1af61325f18b0580a8d92869800736fc770bc7b193358df480105f1ff223158d52e62ea272e1c375be82ab6415b43c28cc1d74c57cc7640d9cd DIST sigdump-0.2.5.gem 12288 BLAKE2B 6d0fa601b9df6c1b3e6bf7d95c1e36a24a01f4b68f37b2e897ba9e0bcd27caa7ec7c96155cd62718deac7958541e9029148bb0ccdfdd8836e26d47dd9a565891 SHA512 2400403768f4606cb21a3fc34b4630800846ef5ad4c06f1bfca3b04fb62208bfd48a53f1f090b8c65858b49d1bf594c42f555c2f997534129793773c837cfa73 diff --git a/dev-ruby/sigdump/sigdump-0.2.4-r1.ebuild b/dev-ruby/sigdump/sigdump-0.2.4-r1.ebuild deleted file mode 100644 index 5ded826a80f4..000000000000 --- a/dev-ruby/sigdump/sigdump-0.2.4-r1.ebuild +++ /dev/null @@ -1,19 +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" - -RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" - -RUBY_FAKEGEM_RECIPE_TEST="none" - -inherit ruby-fakegem - -DESCRIPTION="Setup signal handler which dumps backtrace of threads and allocated objects" -HOMEPAGE="https://github.com/frsyuki/sigdump" -LICENSE="MIT" - -KEYWORDS="~amd64" -SLOT="0" -IUSE="" diff --git a/dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild b/dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild index 26b1db17da94..34882129dcfd 100644 --- a/dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild +++ b/dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild @@ -19,7 +19,7 @@ IUSE="" SLOT="1" LICENSE="MIT" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" ruby_add_rdepend " dev-ruby/hashie:* diff --git a/dev-ruby/twitter-text/twitter-text-3.1.0-r1.ebuild b/dev-ruby/twitter-text/twitter-text-3.1.0-r1.ebuild deleted file mode 100644 index bf9b100b8fcd..000000000000 --- a/dev-ruby/twitter-text/twitter-text-3.1.0-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_EXTRAINSTALL="config" - -inherit ruby-fakegem - -DESCRIPTION="Text handling for Twitter" -HOMEPAGE="https://github.com/twitter/twitter-text" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~riscv" -IUSE="" - -ruby_add_rdepend " - dev-ruby/idn-ruby - =dev-ruby/unf-0.1* -" - -ruby_add_bdepend "test? ( >=dev-ruby/nokogiri-1.8.0 )" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0-frozen-string.patch" -) - -all_ruby_prepare() { - #sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die - sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die -} diff --git a/dev-ruby/version_gem/version_gem-1.1.3.ebuild b/dev-ruby/version_gem/version_gem-1.1.3.ebuild index f6a773fb4e2d..fa85a8b3ac6c 100644 --- a/dev-ruby/version_gem/version_gem-1.1.3.ebuild +++ b/dev-ruby/version_gem/version_gem-1.1.3.ebuild @@ -19,7 +19,7 @@ RUBY_S="version_gem-v${PV}" LICENSE="MIT" SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" IUSE="" all_ruby_prepare() { diff --git a/dev-ruby/vlad/vlad-2.7.1.ebuild b/dev-ruby/vlad/vlad-2.7.1.ebuild deleted file mode 100644 index e3b6319c8944..000000000000 --- a/dev-ruby/vlad/vlad-2.7.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_EXTRADOC="considerations.txt History.txt README.txt" - -inherit ruby-fakegem - -DESCRIPTION="Pragmatic application deployment automation, without mercy" -HOMEPAGE="https://github.com/seattlerb/vlad" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -ruby_add_bdepend ">=dev-ruby/hoe-3.13 - test? ( >=dev-ruby/minitest-5.7 )" -ruby_add_rdepend ">=dev-ruby/rake-remote_task-2.3" - -all_ruby_prepare() { - # Keep Isolate from managing the dependencies. - sed -i -e '/isolate/ s:^:#:' -e '/rubyforge/ s:^:#:' Rakefile || die -} diff --git a/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild b/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild deleted file mode 100644 index a3a16106e5e1..000000000000 --- a/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_DOCDIR="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.rdoc" - -inherit ruby-fakegem - -DESCRIPTION="A library to help write robots.txt compliant web robots" -HOMEPAGE="https://github.com/knu/webrobots" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4" - -ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/test-unit:2 dev-ruby/webmock dev-ruby/vcr )" - -all_ruby_prepare() { - sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die - - # Avoid tests for live websites requirering a network connection. - sed -i -e '/robots.txt in the real world/,/^ end/ s:^:#:' test/test_webrobots.rb || die -} - -each_ruby_test() { - ruby-ng_testrb-2 -Ilib test/test_*.rb -} |
