diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-09-19 19:04:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-09-19 19:04:24 +0000 |
| commit | f7202bf5f2bf2f4956c39730bd78704ff1678d12 (patch) | |
| tree | 6fd0a5e303f7d3b13c93432c37e8039fa981b16a /dev-ruby | |
| parent | ac2036dab2d57b7eaa2b2ede1c4f6c961a3a3f9c (diff) | |
| download | baldeagleos-repo-f7202bf5f2bf2f4956c39730bd78704ff1678d12.tar.gz baldeagleos-repo-f7202bf5f2bf2f4956c39730bd78704ff1678d12.tar.xz baldeagleos-repo-f7202bf5f2bf2f4956c39730bd78704ff1678d12.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby')
39 files changed, 213 insertions, 858 deletions
diff --git a/dev-ruby/actioncable/Manifest b/dev-ruby/actioncable/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/actioncable/Manifest +++ b/dev-ruby/actioncable/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/actioncable/actioncable-7.1.4.2.ebuild b/dev-ruby/actioncable/actioncable-7.1.4.2.ebuild deleted file mode 100644 index 2a23b3ae5ec6..000000000000 --- a/dev-ruby/actioncable/actioncable-7.1.4.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="" -RUBY_FAKEGEM_DOCDIR="" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -RUBY_FAKEGEM_EXTRAINSTALL="app" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Integrated WebSockets for Rails" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -# Tests require many new dependencies, skipping for now -RESTRICT="test" - -ruby_add_rdepend " - ~dev-ruby/actionpack-${PV}:* - ~dev-ruby/activesupport-${PV}:* - dev-ruby/nio4r:2 - >=dev-ruby/websocket-driver-0.6.1:* - >=dev-ruby/zeitwerk-2.6:2 -" - -ruby_add_bdepend " - test? ( - >=dev-ruby/railties-4.2.0 - dev-ruby/test-unit:2 - dev-ruby/mocha - )" diff --git a/dev-ruby/actionmailbox/Manifest b/dev-ruby/actionmailbox/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/actionmailbox/Manifest +++ b/dev-ruby/actionmailbox/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/actionmailbox/actionmailbox-7.1.4.2.ebuild b/dev-ruby/actionmailbox/actionmailbox-7.1.4.2.ebuild deleted file mode 100644 index aaf83b522d6a..000000000000 --- a/dev-ruby/actionmailbox/actionmailbox-7.1.4.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="actionmailbox.gemspec" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_EXTRAINSTALL="app config db" - -inherit ruby-fakegem - -DESCRIPTION="Framework for designing email-service layers" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/actionpack-${PV} - ~dev-ruby/activejob-${PV} - ~dev-ruby/activerecord-${PV} - ~dev-ruby/activestorage-${PV} - ~dev-ruby/activesupport-${PV} - >=dev-ruby/mail-2.7.1:* - dev-ruby/net-imap - dev-ruby/net-pop - dev-ruby/net-smtp -" - -ruby_add_bdepend "test? ( - dev-ruby/bundler - dev-ruby/minitest:5 - dev-ruby/mocha - dev-ruby/propshaft - dev-ruby/rexml - dev-ruby/sqlite3 - dev-ruby/webmock - dev-ruby/rails -)" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql2\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|sass-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|webrick\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|rack-test\|capybara\|webpacker\|bootsnap\|dalli\|connection_pool\|terser\|cookiejar\|cgi\|web-console\|trilogy\|error_highlight\|jbuilder\)/ s:^:#:" \ - -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ - -e '/group :\(cable\|doc\|job\|lint\|mdl\|rubocop\|storage\|test\)/,/^end/ s:^:#:' \ - -e '/sqlite/ s/1.6.4/99/' \ - -i ../Gemfile || die - rm ../Gemfile.lock || die - sed -i -e '/byebug/ s:^:#:' test/test_helper.rb || die -} - -each_ruby_prepare() { - sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die -} diff --git a/dev-ruby/actionmailer/Manifest b/dev-ruby/actionmailer/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/actionmailer/Manifest +++ b/dev-ruby/actionmailer/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/actionmailer/actionmailer-7.1.4.2.ebuild b/dev-ruby/actionmailer/actionmailer-7.1.4.2.ebuild deleted file mode 100644 index b1b4a4eff17d..000000000000 --- a/dev-ruby/actionmailer/actionmailer-7.1.4.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Framework for designing email-service layers" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/actionpack-${PV} - ~dev-ruby/actionview-${PV} - ~dev-ruby/activejob-${PV} - ~dev-ruby/activesupport-${PV} - >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:* - dev-ruby/net-imap - dev-ruby/net-pop - dev-ruby/net-smtp - >=dev-ruby/rails-dom-testing-2.2:2" - -ruby_add_bdepend "test? ( - dev-ruby/mocha -)" - -all_ruby_prepare() { - # Set test environment to our hand. - rm "${S}/../Gemfile" || die "Unable to remove Gemfile" - sed -e '/\/load_paths/d' \ - -e '3irequire "ostruct"' \ - -e '3igem "actionpack", "~> 7.1.0"; gem "activejob", "~> 7.1.0"' \ - -i test/abstract_unit.rb || die "Unable to remove load paths" - - # Avoid a test failing only on attachment ordering, since this is a - # security release. - sed -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' \ - -i test/base_test.rb || die -} diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/actionpack/Manifest +++ b/dev-ruby/actionpack/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/actionpack/actionpack-7.1.4.2.ebuild b/dev-ruby/actionpack/actionpack-7.1.4.2.ebuild deleted file mode 100644 index dedecf84035f..000000000000 --- a/dev-ruby/actionpack/actionpack-7.1.4.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Eases web-request routing, handling, and response" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/actionview-${PV} - ~dev-ruby/activesupport-${PV} - >=dev-ruby/nokogiri-1.8.5 - >=dev-ruby/rack-2.2.4 - >=dev-ruby/rack-session-1.0.1 - >=dev-ruby/rack-test-0.6.3:* - >=dev-ruby/rails-dom-testing-2.2:2 - >=dev-ruby/rails-html-sanitizer-1.6:1 -" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha - dev-ruby/bundler - >=dev-ruby/capybara-3.26 - ~dev-ruby/activemodel-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/rack-cache-1.2:1.2 - dev-ruby/selenium-webdriver:4 - www-servers/puma - dev-ruby/minitest:5 - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die - rm ../Gemfile.lock || die - - # Fix errors loading rack/session with rack 3.0 and missing OpenStruct - sed -e '2igem "rack-session"; require "ostruct"' \ - -e '3igem "railties", "~> 7.1.0"; gem "activemodel", "~> 7.1.0"' \ - -i test/abstract_unit.rb || die - - # Use different timezone notation, this changed at some point due to an external dependency changing. - sed -e 's/-0000/GMT/' \ - -i test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die - - # Avoid tests that fail with a fixed cgi.rb version - sed -e '/test_session_store_with_all_domains/askip "Fails with fixed cgi.rb"' \ - -i test/dispatch/session/cookie_store_test.rb || die -} diff --git a/dev-ruby/actiontext/Manifest b/dev-ruby/actiontext/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/actiontext/Manifest +++ b/dev-ruby/actiontext/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/actiontext/actiontext-7.1.4.2.ebuild b/dev-ruby/actiontext/actiontext-7.1.4.2.ebuild deleted file mode 100644 index 8cbcb5a53e47..000000000000 --- a/dev-ruby/actiontext/actiontext-7.1.4.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="actiontext.gemspec" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_EXTRAINSTALL="app db package.json" - -inherit ruby-fakegem - -DESCRIPTION="Edit and display rich text in Rails applications" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/actionpack-${PV} - ~dev-ruby/activerecord-${PV} - ~dev-ruby/activestorage-${PV} - ~dev-ruby/activesupport-${PV} - >=dev-ruby/globalid-0.6.0 - >=dev-ruby/nokogiri-1.8.5 -" - -ruby_add_bdepend "test? ( - dev-ruby/bundler - >=dev-ruby/importmap-rails-1.2.3 - dev-ruby/minitest:5 - dev-ruby/mocha - dev-ruby/propshaft - >=dev-ruby/sqlite3-1.4.0 -)" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql2\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|sass-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webpacker\|webrick\|webmock\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|rack-test\|bootsnap\|capybara\|dalli\|connection_pool\|terser\|cookiejar\|cgi\|web-console\|trilogy\|error_highlight\|jbuilder\)/ s:^:#:" \ - -e '/stimulus-rails/,/cssbundling-rails/ s:^:#:' \ - -e '/tailwindcss-rails/,/dartsass-rails/ s:^:#:' \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :\(cable\|doc\|lint\|mdl\|rubocop\|storage\|test\)/,/^end/ s:^:#:' \ - -e '/sqlite/ s/1.6.4/99/' \ - -i ../Gemfile || die - rm ../Gemfile.lock || die - - # Avoid failing test depending on yarn - rm -f test/javascript_package_test.rb || die -} - -each_ruby_prepare() { - sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die -} diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/actionview/Manifest +++ b/dev-ruby/actionview/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/actionview/actionview-7.1.4.2.ebuild b/dev-ruby/actionview/actionview-7.1.4.2.ebuild deleted file mode 100644 index f24f26487e47..000000000000 --- a/dev-ruby/actionview/actionview-7.1.4.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -RUBY_FAKEGEM_EXTRAINSTALL="app" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" -HOMEPAGE="https://github.com/rails/rails/" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV} - >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* - >=dev-ruby/erubi-1.11:0 - >=dev-ruby/rails-dom-testing-2.2:2 - >=dev-ruby/rails-html-sanitizer-1.6:1 -" - -ruby_add_bdepend " - test? ( - dev-ruby/capybara - dev-ruby/mocha - ~dev-ruby/actionpack-${PV} - ~dev-ruby/activemodel-${PV} - ~dev-ruby/activerecord-${PV} - ~dev-ruby/railties-${PV} - dev-ruby/sqlite3 - dev-ruby/minitest:5 - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die - rm ../Gemfile.lock || die - - # Fix loading of activerecord integration tests. This avoids loading - # activerecord twice and thus redefining constants leading to - # failures. Bug #719342 - sed -e '/abstract_unit/arequire "active_record" ; require "active_record/fixtures"' \ - -e '/defined/ s/FixtureSet/ActiveRecord::FixtureSet/' \ - -i test/active_record_unit.rb || die - - sed -e '3irequire "ostruct"' \ - -e '3igem "railties", "~> 7.1.0"; gem "activerecord", "~> 7.1.0"' \ - -i test/abstract_unit.rb || die - - # Avoid test failing on capitalization difference - sed -e '/test_raise_arg_overrides_raise_config_option/askip "Capitalization difference"' \ - -i test/template/translation_helper_test.rb || die - - # Remove tests that are coupled to the Sanitizer (already removed upstream) - sed -e '/test_sanitized_allowed_\(tags_class_method\|attributes_class_method\)/askip "Removed upstream"' \ - -i test/template/sanitize_helper_test.rb || die -} diff --git a/dev-ruby/activejob/Manifest b/dev-ruby/activejob/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/activejob/Manifest +++ b/dev-ruby/activejob/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/activejob/activejob-7.1.4.2.ebuild b/dev-ruby/activejob/activejob-7.1.4.2.ebuild deleted file mode 100644 index 8944bbbd9ce2..000000000000 --- a/dev-ruby/activejob/activejob-7.1.4.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="" -RUBY_FAKEGEM_DOCDIR="" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Job framework with pluggable queues" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV} - >=dev-ruby/globalid-0.3.6 -" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha - dev-ruby/zeitwerk - )" - -all_ruby_prepare() { - # Set test environment to our hand. - sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" - - # Remove all currently unpackaged queues. - sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \ - -e 's/delayed_job//' Rakefile || die - sed -i -e '/SneakersAdapter/ s:^:#:' test/cases/exceptions_test.rb || die - rm -f test/cases/delayed_job_adapter_test.rb || die -} diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/activemodel/Manifest +++ b/dev-ruby/activemodel/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/activemodel/activemodel-7.1.4.2.ebuild b/dev-ruby/activemodel/activemodel-7.1.4.2.ebuild deleted file mode 100644 index 340fc114ba80..000000000000 --- a/dev-ruby/activemodel/activemodel-7.1.4.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend " - ~dev-ruby/activesupport-${PV}:* -" - -ruby_add_bdepend " - test? ( - ~dev-ruby/railties-${PV} - dev-ruby/test-unit:2 - dev-ruby/mocha - >=dev-ruby/bcrypt-ruby-3.1.7 - dev-ruby/minitest:5 - )" - -all_ruby_prepare() { - # Set test environment to our hand. - sed -e '/load_paths/d' \ - -e '2igem "activesupport", "~> 7.1.0"; gem "railties", "~> 7.1.0"' \ - -i test/cases/helper.rb || die "Unable to remove load paths" -} diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/activerecord/Manifest +++ b/dev-ruby/activerecord/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/activerecord/activerecord-7.1.4.2.ebuild b/dev-ruby/activerecord/activerecord-7.1.4.2.ebuild deleted file mode 100644 index 1d81a0c0756b..000000000000 --- a/dev-ruby/activerecord/activerecord-7.1.4.2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -# this is not null so that the dependencies will actually be filled -RUBY_FAKEGEM_TASK_TEST="test" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" -HOMEPAGE="https://github.com/rails/rails/" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="mysql postgres sqlite" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend "~dev-ruby/activesupport-${PV} - ~dev-ruby/activemodel-${PV} - >=dev-ruby/timeout-0.4.0 - sqlite? ( >=dev-ruby/sqlite3-1.4 ) - mysql? ( dev-ruby/mysql2:0.5 ) - postgres? ( >=dev-ruby/pg-1.1:1 )" - -ruby_add_bdepend " - test? ( - dev-ruby/benchmark-ips - dev-ruby/bundler - ~dev-ruby/actionpack-${PV} - ~dev-ruby/activejob-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/sqlite3-1.4.0 - dev-ruby/mocha - dev-ruby/minitest:5 - )" - -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - rm ../Gemfile.lock || die - sed -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ - -e '/:job/,/end/ s:^:#:' \ - -e '/group :doc/,/^end/ s:^:#:' \ - -i ../Gemfile || die - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die - sed -e '/bcrypt/ s/3.0.0/3.0/' \ - -i ../Gemfile || die - sed -i -e '/byebug/ s:^:#:' test/cases/base_prevent_writes_test.rb || die - - sed -e '3igem "activejob", "~> 7.1.0"; gem "activemodel", "~> 7.1.0"; gem "railties", "~> 7.1.0"' \ - -i test/cases/helper.rb || die - - # Add back json in the Gemfile because we dropped some dependencies - # earlier that implicitly required it. - sed -i -e '$agem "json"' ../Gemfile || die - - # Avoid single tests using mysql or postgres dependencies. - rm test/cases/invalid_connection_test.rb || die - sed -e '/test_switching_connections_with_database_url/askip "postgres"' \ - -i test/cases/connection_adapters/connection_handlers_multi_db_test.rb || die - - # Avoid failing test that makes bad assumptions on database state. - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ - test/cases/associations/has_many_associations_test.rb - - # Avoid test failing to bind limit length in favor of security release - sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die - - # Avoid test requiring specific locales - sed -i -e '/test_unicode_input_casting/askip "Requires specific locales"' test/cases/binary_test.rb || die - - # Avoid test not compatible with new sqlite versions - sed -e '/test_strict_strings_by_default/askip "Fails with newer sqlite"' \ - -i test/cases/adapters/sqlite3/sqlite3_adapter_test.rb || die - - # Avoid tests requiring a full Rails setup - rm -f test/cases/adapters/sqlite3/dbconsole_test.rb || die -} - -each_ruby_test() { - if use sqlite; then - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" - fi -} diff --git a/dev-ruby/activestorage/Manifest b/dev-ruby/activestorage/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/activestorage/Manifest +++ b/dev-ruby/activestorage/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/activestorage/activestorage-7.1.4.2.ebuild b/dev-ruby/activestorage/activestorage-7.1.4.2.ebuild deleted file mode 100644 index 06e227f4428b..000000000000 --- a/dev-ruby/activestorage/activestorage-7.1.4.2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_DOC="" -RUBY_FAKEGEM_DOCDIR="" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" - -RUBY_FAKEGEM_EXTRAINSTALL="app config db" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Attach cloud and local files in Rails applications" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -DEPEND+=" test? ( >=app-text/mupdf-1.23.7 media-gfx/imagemagick[jpeg,png,tiff] media-video/ffmpeg app-text/poppler[utils] ) " - -ruby_add_rdepend " - ~dev-ruby/actionpack-${PV}:* - ~dev-ruby/activejob-${PV}:* - ~dev-ruby/activerecord-${PV}:* - ~dev-ruby/activesupport-${PV}:* - dev-ruby/marcel:1.0 -" - -ruby_add_bdepend " - test? ( - ~dev-ruby/railties-${PV} - >=dev-ruby/image_processing-1.2:0 - dev-ruby/minitest:5 - dev-ruby/mini_magick - dev-ruby/mocha - dev-ruby/rake - dev-ruby/sprockets-rails - >=dev-ruby/sqlite3-1.6.6 - )" - -all_ruby_prepare() { - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|capybara\|rack-cache\|selenium\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\|rexml\|webmock\|webrick\|propshaft\|sprockets-export\|rack-test\|terser\|cookiejar\|cgi\|web-console\|trilogy\|error_highlight\|jbuilder\)/ s:^:#:" \ - -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ - -e '/group :\(doc\|job\|lint\|mdl\|rubocop\|test\)/,/^end/ s:^:#:' \ - -e '/sqlite/ s/1.6.4/99/' \ - -i ../Gemfile || die - rm ../Gemfile.lock || die - - # Use mini_magick since vips is not packaged on Gentoo - sed -i -e '/mini_magick/aActiveStorage.variant_processor = :mini_magick' test/test_helper.rb || die - # Avoid vips-specific tests - sed -e '/\(resized and monochrome variation of JPEG blob\|monochrome with default variant_processor\|disabled variation of JPEG blob\)/askip "No vips support"' \ - -i test/models/variant_test.rb || die - - # Avoid test where different ffmpeg versions apply different rounding for the duration. - sed -i -e '/1.022000/ s:^:#:' test/analyzer/video_analyzer_test.rb || die - - # Avoid failing test depending on yarn - rm -f test/javascript_package_test.rb || die -} diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/activesupport/Manifest +++ b/dev-ruby/activesupport/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/activesupport/activesupport-7.0.8.7-r1.ebuild b/dev-ruby/activesupport/activesupport-7.0.8.7-r1.ebuild index 78fd49e995c2..7c3bd664cc0f 100644 --- a/dev-ruby/activesupport/activesupport-7.0.8.7-r1.ebuild +++ b/dev-ruby/activesupport/activesupport-7.0.8.7-r1.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz LICENSE="MIT" SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test" RUBY_S="rails-${PV}/${PN}" diff --git a/dev-ruby/activesupport/activesupport-7.1.4.2.ebuild b/dev-ruby/activesupport/activesupport-7.1.4.2.ebuild deleted file mode 100644 index 96d827c92aec..000000000000 --- a/dev-ruby/activesupport/activesupport-7.1.4.2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Utility Classes and Extension to the Standard Library" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+msgpack test" -REQUIRED_USE="test? ( msgpack )" - -PATCHES=( "${FILESDIR}/${PN}-7.1.1-backport-pr50097.patch" ) - -RUBY_S="rails-${PV}/${PN}" - -# bigdecimal and mutex_m are bundled with ruby as default gems -ruby_add_rdepend " - dev-ruby/base64 - >=dev-ruby/concurrent-ruby-1.0.2:1 - >=dev-ruby/connection_pool-2.2.5 - dev-ruby/drb - >=dev-ruby/i18n-1.6:1 - >=dev-ruby/minitest-5.1 - dev-ruby/tzinfo:2 - msgpack? ( >=dev-ruby/msgpack-1.7.0 ) -" - -# memcache-client, nokogiri, builder, and redis are not strictly needed, -# but there are tests using this code. -ruby_add_bdepend "test? ( - >=dev-ruby/dalli-3.0.1 - >=dev-ruby/nokogiri-1.8.1 - >=dev-ruby/builder-3.1.0 - >=dev-ruby/listen-3.3:3 - dev-ruby/rack:3.0 - dev-ruby/rexml - dev-ruby/mocha - >dev-ruby/minitest-5.15.0:* - )" - -all_ruby_prepare() { - # Set the secure permissions that tests expect. - chmod 0755 "${HOME}" || die "Failed to fix permissions on home" - - # Remove items from the common Gemfile that we don't need for this - # test run. This also requires handling some gemspecs. - sed -i -e "/\(system_timer\|execjs\|jquery-rails\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|propshaft\|rack-test\|terser\|cgi\|net-smtp\|net-imap\|net-pop\|digest\|matrix\|web-console\|error_highlight\|jbuilder\)/ s:^:#:" \ - -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ - -e '/^group :test/,/^end/ s:^:#:' \ - -e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \ - -e 's/gemspec/gemspec path: "activesupport"/' \ - -e '5igem "builder"' ../Gemfile || die - rm ../Gemfile.lock || die - - # Avoid test that depends on timezone - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die - - # Avoid tests that seem to trigger race conditions. - rm -f test/evented_file_update_checker_test.rb || die - - # Avoid test that generates filename that is too long - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die - - # Avoid tests requiring a live redis running - rm -f test/cache/stores/redis_cache_store_test.rb || die - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die - - # Avoid test where the result varies with specific ruby releases. - rm -f test/core_ext/object/duplicable_test.rb || die -} diff --git a/dev-ruby/activesupport/activesupport-7.1.5.1.ebuild b/dev-ruby/activesupport/activesupport-7.1.5.1.ebuild index 8ad29cf57f6a..d68c35ef826b 100644 --- a/dev-ruby/activesupport/activesupport-7.1.5.1.ebuild +++ b/dev-ruby/activesupport/activesupport-7.1.5.1.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz LICENSE="MIT" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="+msgpack test" REQUIRED_USE="test? ( msgpack )" diff --git a/dev-ruby/benchmark/benchmark-0.4.0.ebuild b/dev-ruby/benchmark/benchmark-0.4.0.ebuild index 304659b43c1f..8025fa2f68d5 100644 --- a/dev-ruby/benchmark/benchmark-0.4.0.ebuild +++ b/dev-ruby/benchmark/benchmark-0.4.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/ruby/benchmark/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Ruby BSD-2" SLOT="0" -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" +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" all_ruby_prepare() { sed -e 's:_relative ": "./:' \ diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 9ce7d69b4c45..35e00c620dc9 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -5,3 +5,4 @@ DIST json-2.12.2.tar.gz 848560 BLAKE2B 489660e253a40c4274cc7d1c45a959a32674d2bab DIST json-2.13.0.tar.gz 850890 BLAKE2B 04f8042cf57c3008c835158a270e481786b135247eef499c6c7d5b6c17bdb9a5e34d684098f5fc85c78c6401d94886e8cc3a0f487f16b1c36286008edbe8e8f3 SHA512 ca9512cb6f54c3c912320f0c879cfedd65eded7e75d6914c71d4e9fcb2bfd49f93101933526b33c7ae908485a5a986ccd983b013f9ac2e75bc82dd056c08ee3a DIST json-2.13.1.tar.gz 851179 BLAKE2B bf8710c90572f9808beb478c0114d889416b109f8d2b00210cd05717cac497eb0e696f4abdb56c994efb7341f7ed9d7f2e92d3174654438b4160bc08a6dad430 SHA512 957b97f1940d7b21559348458766b0dd101a487551f88be7735eaa98a2de99329a979193dd17a7d9390f8cf584b2ac2313b338e3a89f0df54e383ee1ce8b3bd8 DIST json-2.13.2.tar.gz 851603 BLAKE2B 9770e4892514f370c34c043582e519ba68a077eb246cd3a7164056572aca1570754362b7cf7cb5e2d39afa0204913d19b1bdb32b6b34253c910736940ac4793d SHA512 62a48257ccd7a34accd9926fe1e6d2ca2599eb86e7bf5239b473603ec4fc00928c56f46b8bae75880b62df3a9a8a4fb9000b61319a1b0a1987cfc9bde1422fa7 +DIST json-2.14.1.tar.gz 855875 BLAKE2B f989da0cf149f60b2539d36f54ad1b423033c42da140abc375990a43db0a76bb6b9277c4fbae77d524e64f314311b7eeef0eed896f3acaf30cfaf3b4706d3709 SHA512 82aedfce4c838ef177c5fdbc87107787343d22b1f333d44aef8cb77ed586d50d02128be2c8f3eaa8dcc9423ea46cad51667538fd72845566cf89c12229aa1c0e diff --git a/dev-ruby/json/json-2.14.1.ebuild b/dev-ruby/json/json-2.14.1.ebuild new file mode 100644 index 000000000000..35899578f2ec --- /dev/null +++ b/dev-ruby/json/json-2.14.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext + +inherit ruby-fakegem + +DESCRIPTION="A JSON implementation as a Ruby extension" +HOMEPAGE="https://github.com/ruby/json" +SRC_URI="https://github.com/ruby/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( BSD-2 Ruby )" + +SLOT="$(ver_cut 1)" +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" +IUSE="doc test" + +DEPEND="dev-util/ragel" + +ruby_add_bdepend "dev-ruby/rake + doc? ( dev-ruby/rdoc ) + test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-ruby-core + )" + +all_ruby_prepare() { + # Avoid building the extension twice! + # And use rdoc instead of sdoc which we don't have packaged + # And don't call git to list files. We're using the pregenerated spec anyway. + sed -i \ + -e '/task :test/ s|:compile||' \ + -e 's| => :clean||' \ + -e 's|sdoc|rdoc|' \ + -e 's|`git ls-files`|""|' \ + -e '/extensiontask/I s:^:#:' \ + Rakefile || die "rakefile fix failed" + + sed -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid setting gem since it will not be available yet when installing + sed -i -e '/gem/ s:^:#:' test/json/test_helper.rb || die + + # Fix version number + sed -e 's/2.8.2/2.9.0/' -i lib/json/version.rb || die +} diff --git a/dev-ruby/marcel/Manifest b/dev-ruby/marcel/Manifest index 57f8e70992af..1bc3dbfc9ff4 100644 --- a/dev-ruby/marcel/Manifest +++ b/dev-ruby/marcel/Manifest @@ -1 +1,2 @@ DIST marcel-1.0.4.tar.gz 8340487 BLAKE2B 6f5260408de9997f8515619a661ea5b5293182a73cb45671aa2b5302e99b73b0ecb148acbeca2b8afdab8991fdd7ff789d2d79075fb5d37b0166c6a776802d03 SHA512 68811c3116ecafdea322c97637b3566102c21363de05678862fe1d9f1300ff6c0056449440169a69a353d77b568d0401930fbeac1651e0fea8189ae4960ce189 +DIST marcel-1.1.0.tar.gz 8353868 BLAKE2B 88ca72d9c11da62052152fab9a8d49b170509365386efac281704b5e9722925aa3a8f7290e4dd26316bcffe0db49f1bafc45a529cd1585c12fc4bc415323020b SHA512 0465955f7cb0d8001d6116c5d3fef6bd6ab4a114cab5a8efb74e17ee53e2ab844aae935e716ddd522d266dd9bf0dd8a0e4e0f5aaee903d8cd61870f4de4617a1 diff --git a/dev-ruby/marcel/marcel-1.1.0.ebuild b/dev-ruby/marcel/marcel-1.1.0.ebuild new file mode 100644 index 000000000000..5736f19ee217 --- /dev/null +++ b/dev-ruby/marcel/marcel-1.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simple mime type detection using magic numbers, filenames, and extensions" +HOMEPAGE="https://github.com/rails/marcel" +SRC_URI="https://github.com/rails/marcel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rack:3.1 )" + +all_ruby_prepare() { + sed -i \ + -e '1igem "rack", "~> 3.1.0"' \ + -e '2irequire "pathname"' \ + test/test_helper.rb || die + + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index e689f490795b..5dd052dfb44a 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -2,3 +2,4 @@ DIST maxitest-5.5.0.tar.gz 65102 BLAKE2B 46c7d0c9bcc794066316cc244f4628771a14224 DIST maxitest-5.7.1.tar.gz 65849 BLAKE2B c377923ae8e9a27bc57fba4a672deed04fbf397e518aa5ed33e63885176b8c2e6aff59b8eab2e2c7d6ba972ed4cde1033c5bc3017864c910275fcbdd7ecb967d SHA512 6b030a1d47e4c3c6502dc672d7aa0277965aadf371ba2037c7e9e21f5e305a71b3e19d7e67fd6adabe84f6c9686e28e6e2697fb1c4350915c2bdf58a7eef857c DIST maxitest-5.8.0.tar.gz 66194 BLAKE2B 3110fe8c000c54ff2cf66dabfd1f9a12a327330e8195138f1af2e98f0e2fc8f0a13cc97cf3cd9334a6ea221aded63b9fe425cadd870a15b6969ef4b662b509a6 SHA512 07e0828717b3d672398bfd76279707943983b319a068c1e07e20d807dcf7deeda3e98cc7a4314bdbfe6f534b9909aa551ec54f60c61e5c43147707370ed03e33 DIST maxitest-6.0.0.tar.gz 65875 BLAKE2B 7108c344f7a2ce6cd3e718dc46b2931886dda6d6df844e14cd418e44054864df9e9f7a5ea0669468355fb0edc5297e320bbae7d45d81c560f486f1d9b4c6b675 SHA512 b8ce6f50d13d598596dd4c51781d0a79d48af8796509c9442ae3d65fbb9bd9086a880130a7b36eacddcc5c8399f19f86ed7de56feec528f679f3a7360f4a22a2 +DIST maxitest-6.0.1.tar.gz 65976 BLAKE2B 3b52b4b86ceaa31362b553942bd97b4c07adf3388a4fcc3bf3db49bfbfa1155ada1ade3d2e43f1d8a411de8a1bfa2dbfd771fba37c566769ac3c3fbe41f10307 SHA512 1d2d21ad32ff27ed4e5b84f6a81580e8652a29eb701cd65fca36013feca702dbae5aa7bc8e69dcad2a2a98b2131a7dfb8e7a3e823dae6870cb50ede3cab3f5cc diff --git a/dev-ruby/maxitest/maxitest-6.0.1.ebuild b/dev-ruby/maxitest/maxitest-6.0.1.ebuild new file mode 100644 index 000000000000..33388f4d858c --- /dev/null +++ b/dev-ruby/maxitest/maxitest-6.0.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Minitest + all the features you always wanted" +HOMEPAGE="https://github.com/grosser/maxitest" +SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/minitest-5.20.0:* <dev-ruby/minitest-5.26.0:*" + +ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/minitest-5.21.0 )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + # Remove developer-only gems from the gemspec and avoid git issues + sed -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/\(debug\|bump\)/ s:^:#:' \ + -i Gemfile || die + + sed -e '/shows backtrace for/askip' \ + -e '/describe.*line/ s/describe/xdescribe/' \ + -e '/describe.*color/ s/describe/xdescribe/' \ + -i spec/maxitest_spec.rb || die +} + +each_ruby_prepare() { + # Use the correct target + sed -e '/\(run_cmd\|sh\)/ s:ruby:'${RUBY}':' \ + -e '/\(run_cmd\|sh\)/ s:mtest:'${RUBY}' -rmaxitest/version -S bin/mtest:' \ + -i spec/maxitest_spec.rb || die + + case ${RUBY} in + *ruby34) + # Avoid test failing due to changed messages in Ruby. + sed -e '/stops on ctrl+c and prints errors/ s/it/xit/' \ + -e '/shows backtraces when in verbose mode/ s/it/xit/' \ + -i spec/maxitest_spec.rb || die + ;; + esac +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" RSPEC_VERSION=3 ruby-ng_rspec spec +} diff --git a/dev-ruby/rails/Manifest b/dev-ruby/rails/Manifest index 9ca0800c72c7..47d81d793b5d 100644 --- a/dev-ruby/rails/Manifest +++ b/dev-ruby/rails/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.gem 7168 BLAKE2B 98f659679fbf335966b85483f685dbdf00cd8ad0f7bf9d11bf8cdc83f800d084b4f38b48fb6ea316fd630347f467284c4ddd3247e06114d4c037422546a4a0a4 SHA512 f6438e152d6da99b638c3981b74af949f395fb76e412f66d38b74896cad56570382649ab6ae4dc5844739546defdaf76e2ae5c485200c7b78e1bb6b4cace43e4 -DIST rails-7.1.4.2.gem 7168 BLAKE2B 3cea90603dd9b0416681ce74ceb48d43175412e3ab771a6b30176c99cf5fe0de3722d1a601c8ca8f4c6658c623eb328f083b9f1579e29e2475b34070aa1ada4f SHA512 33aa02a065bdf3630578d9c2356c7938cdff43774b3258fc02b93a4e598c9beee396f8c5748a1f6645e68f8d29ad0879a6980f9e6171b4417f2c957e753c403e DIST rails-7.1.5.1.gem 7168 BLAKE2B 83395ebd97e1fe40cc56601eab92ba7b5dab335dacecb35faa3a4be8ddccb14ee78ef6b9dc3cf9b332da95543f3073bb085cbc44af63cf4b97a466f9e2b5b1e9 SHA512 76b7522ab671d14a2b47b7cdfd0f17bb7a2c4e9d960b2c1e5dc850c840b692bfc4ab620c698839ea7f9edefa3e76ef84604c024bc3f36c6c8b27d322b9b12dac DIST rails-7.1.5.2.gem 7168 BLAKE2B 880e9e495c3ac5e9f4783cd16c00717c54a2d2ade42752faa77e2208053af536c1cd67ba2797c69de6949960efeee35c9645d7d9558674468f6ffd8055149309 SHA512 6f8969916aeab34601d1ca5c036fa0dbf8db5f0e62a3416e586f71b6476ee761ed80da88d42917a53bcadd8e9a28ff92132b0e572a35b9d2ef0889201d6090cd DIST rails-7.2.2.1.gem 7168 BLAKE2B 7cdd1c5bfa478c2e7b28b92be9dffc5e943618cc35d8d8d7c1526524480086064b82ee2f408c87652fd99f5dc9b5c690f77aa5147f6324ce43941b82617e5cba SHA512 3fe2b9ddad694e6fc02ad62493ee06e3c0390685aba6b808d7a1301f5c36c39bc3368c7fbc9d691b1e7364ed27c0881b2285f2558f3ea82b531d99416e037e50 diff --git a/dev-ruby/rails/rails-7.1.4.2.ebuild b/dev-ruby/rails/rails-7.1.4.2.ebuild deleted file mode 100644 index 4b56ab4ab897..000000000000 --- a/dev-ruby/rails/rails-7.1.4.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="ruby on rails is a web-application and persistence framework" -HOMEPAGE="https://rubyonrails.org" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" - -ruby_add_rdepend " - ~dev-ruby/actioncable-${PV} - ~dev-ruby/actionmailbox-${PV} - ~dev-ruby/actionmailer-${PV} - ~dev-ruby/actionpack-${PV} - ~dev-ruby/actiontext-${PV} - ~dev-ruby/actionview-${PV} - ~dev-ruby/activejob-${PV} - ~dev-ruby/activemodel-${PV} - ~dev-ruby/activerecord-${PV} - ~dev-ruby/activestorage-${PV} - ~dev-ruby/activesupport-${PV} - >=dev-ruby/bundler-1.15.0:* - ~dev-ruby/railties-${PV} -" diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest index 8e52e7287c44..75949072e75f 100644 --- a/dev-ruby/railties/Manifest +++ b/dev-ruby/railties/Manifest @@ -1,5 +1,4 @@ DIST rails-7.0.8.7.tgz 11083317 BLAKE2B 055a4930a1076bbdab294393ea1423d043e0679bef0be262189c6e0a7825000eb32bbf8d30982a456f289d3748818d254b4482ae117798663f424bd719d452f8 SHA512 4a480278eea63962aba6a6e5d9c0c2f18c6af4e98a0de1bcb7a87c90ebece16bada9cebef1a88f141ebafac9741ef16c818b9fa04625ba7bb345726258a0bcd7 -DIST rails-7.1.4.2.tgz 10930504 BLAKE2B 711cc97232e3ed54c76641fe2e50c4c0b2f97f5152be38dbdf1eb8a48b63cfb363612bf1f55fa42ed8f2fcccc3a4ecd59f5651d7afef883f54b7d19896ce0de0 SHA512 87f8be5be37a68943bdb53eec34a1f34d43bb39a12c82990b8e123c7bb9824be854e4dfc2f431f5c021beefc813a282132dd950cbf1a74118c3d79ad72a4a074 DIST rails-7.1.5.1.tgz 10953261 BLAKE2B a2fc77cba86d2c9bd4171e7fbd280d41a0c3e9fbf2f11fecfa399bc0f378ddbf963acac4ea8f77610c22304b5424400ee5f616f46ad7e18a8a274e6522dcd00e SHA512 3616569ab53fd26586682fe67501e3c72f13a91454765db5f5eb1f3c039e7d2cdef7a62f4179b37d0449fab970c5ec859a77feb307274799a48c95ca1d229307 DIST rails-7.1.5.2.tgz 10949404 BLAKE2B ff1ef16139db1c9cc5a8437a4f5a57285b3af643f391cee98f33d9147537c638c6d66e15f168867ce22a21cccdfafa442e39888516b8f350c393536abbeb06aa SHA512 ec91744896dd950724b6f075cc7e576032c46a3a2f8e6ab05580d9738e9860cb4c0e1645793380cb5d5ae4fe7e2a64630157b3725501d5533ed11eb25862e734 DIST rails-7.2.2.1.tgz 11191598 BLAKE2B 5efb59f891ce5570984647f1941d24c9e2c4efa4281de3393d5e470f510324c63abd6cafb520da0662e0a08f64304570b5e7418211eeb44f1e11101eda0d7252 SHA512 7aced16f3c847ae7191b5dbb23b9f4b6c0be81404ac7d18f6cd124380f74ce48b9e4f3233cb77062970e302c486baf89e2c104b77a31b794c77ae75256868e0f diff --git a/dev-ruby/railties/railties-7.1.4.2.ebuild b/dev-ruby/railties/railties-7.1.4.2.ebuild deleted file mode 100644 index f80e9f7faac4..000000000000 --- a/dev-ruby/railties/railties-7.1.4.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_TASK_TEST="test:regular" -RUBY_FAKEGEM_RECIPE_DOC="" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="railties.gemspec" - -RUBY_FAKEGEM_BINDIR="exe" -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="Tools for creating, working with, and running Rails applications" -HOMEPAGE="https://github.com/rails/rails" -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" - -RUBY_S="rails-${PV}/${PN}" - -# The test suite has many failures, most likely due to a mismatch in -# exact dependencies or environment specifics. Needs further -# investigation. -RESTRICT="test" - -RDEPEND=">=app-eselect/eselect-rails-0.27" - -ruby_add_rdepend " - ~dev-ruby/actionpack-${PV} - ~dev-ruby/activesupport-${PV} - dev-ruby/irb - >=dev-ruby/rackup-1.0.0 - >=dev-ruby/rake-12.2 - >=dev-ruby/thor-1.2.2:1 - >=dev-ruby/zeitwerk-2.6:2 -" - -ruby_add_bdepend " - test? ( - ~dev-ruby/actionview-${PV} - dev-ruby/mocha - )" - -all_ruby_prepare() { - rm "${S}/../Gemfile" || die "Unable to remove Gemfile" - sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" - sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die -} - -all_ruby_install() { - all_fakegem_install - - ruby_fakegem_binwrapper rails rails-${PV} -} - -pkg_postinst() { - elog "To select between slots of rails, use:" - elog "\teselect rails" - - eselect rails update -} - -pkg_postrm() { - eselect rails update -} diff --git a/dev-ruby/rexml/rexml-3.4.2.ebuild b/dev-ruby/rexml/rexml-3.4.2.ebuild index 6d3fb2c68bf1..a54571d9068b 100644 --- a/dev-ruby/rexml/rexml-3.4.2.ebuild +++ b/dev-ruby/rexml/rexml-3.4.2.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="3" -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" +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" ruby_add_rdepend "dev-ruby/strscan" diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest index 9177d159c559..212b7ebf73ba 100644 --- a/dev-ruby/rspec-support/Manifest +++ b/dev-ruby/rspec-support/Manifest @@ -1,3 +1,4 @@ DIST rspec-support-3.13.2-git.tgz 914469 BLAKE2B 9bb0977420f8e034b47f7f8589e372483265e8a7b783bc2222243a1a500d7852ea948f44a8b19e0c3b1fa62379b8fdb1d68e7dd98ac439585cce91086cc0d5e9 SHA512 f4f46ecfc6d5b9dae9a210fd25b0ac96c9491e9b20aadae8d26997f45cc81b3dce6dbbffc727e406517869ae68cc46f73832f8f3793cb10055c342dc16f5848d DIST rspec-support-3.13.4-git.tgz 918142 BLAKE2B 2ed20f07a42bb9133baccdf722e8dbe6f6d967aa4d17fcb4fd15baa6c401f69f6b6cd25c5bd944c07d90d49d2a42ae51fd44d9c0248aabae19b056f5c3162267 SHA512 3225aaaea9cda393f0357bc08e739c7333068807f3cb7999355c27bf05384bac2eb99ab921202edce83f686c02e8565031b73f379174f6df74c65852fbc6d4e7 DIST rspec-support-3.13.5-git.tgz 919211 BLAKE2B bb7f963e4f4be9c37cd9485269857def00b7b48edc70157bf04216e8dd6fe036fc888a5beb3d1a8c4fa74b3e881fe8b57c8c346558581167b0251bb278b1457d SHA512 bcce2c6a14f1b5bbcd4345cac539b38bfadb22b277073c429b870209429775b1bf4f5f76fd6ab5dd1dc247ce76dd72568ade6d4c5c27d87d1e39375d375f915c +DIST rspec-support-3.13.6-git.tgz 919280 BLAKE2B c187f756c3cd5cf2880cd85638b19e96d2ee4d31ba41bbf9984e600355a3986d93c68d98528faab25c121ea03902e27ec5c78ec09c3ad7ead4580f4ac54b055e SHA512 609bd79d969dbaab5877050f7faaaf48fe3b8edda29d24d5728ab147bbae41786212852f85f56206d86e91df3bace45932f697336aaf2a1bcedb441a06217119 diff --git a/dev-ruby/rspec-support/rspec-support-3.13.6.ebuild b/dev-ruby/rspec-support/rspec-support-3.13.6.ebuild new file mode 100644 index 000000000000..91dce7b6046d --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.13.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +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/rspec/archive/refs/tags/${PN}-v${PV}.tar.gz -> ${P}-git.tgz" +RUBY_S="rspec-${PN}-v${PV}/${PN}" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +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 specs failing when run in Gentoo, possibly due to different IO + sed -e '/outputs unified diff message of two arrays/askip "Gentoo IO"' \ + -e '/outputs unified diff message for hashes inside arrays with differing key orders/askip "Gentoo IO"' \ + -i spec/rspec/support/differ_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 +} + +each_ruby_test() { + RUBYLIB=lib ${RUBY} -S rspec spec || die +} diff --git a/dev-ruby/securerandom/securerandom-0.4.1.ebuild b/dev-ruby/securerandom/securerandom-0.4.1.ebuild index 235bdcba9ac5..401c7ffb4974 100644 --- a/dev-ruby/securerandom/securerandom-0.4.1.ebuild +++ b/dev-ruby/securerandom/securerandom-0.4.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/securerandom/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" all_ruby_prepare() { sed -e 's/__dir__/"."/' \ |
