diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-01-27 12:37:53 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-01-27 12:37:53 +0100 |
commit | 2b3f9c2f7a0b8948347ff6a8668155864f605e20 (patch) | |
tree | f670df6d1a39961440330ecb52a357c9f8e37d33 /dev-ruby/activerecord | |
parent | dev-ruby/actionmailer: drop 6.0.6, 6.0.6.1, 6.1.7.1, 7.0.3.1, 7.0.4.1 (diff) | |
download | gentoo-2b3f9c2f7a0b8948347ff6a8668155864f605e20.tar.gz gentoo-2b3f9c2f7a0b8948347ff6a8668155864f605e20.tar.bz2 gentoo-2b3f9c2f7a0b8948347ff6a8668155864f605e20.zip |
dev-ruby/activerecord: drop 6.0.6, 6.0.6.1, 6.1.7.1, 7.0.3.1, 7.0.4.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/activerecord')
-rw-r--r-- | dev-ruby/activerecord/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-6.0.6.1.ebuild | 92 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-6.0.6.ebuild | 92 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-6.1.7.1.ebuild | 91 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-7.0.3.1.ebuild | 85 | ||||
-rw-r--r-- | dev-ruby/activerecord/activerecord-7.0.4.1.ebuild | 87 |
6 files changed, 0 insertions, 452 deletions
diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest index 5a6561a92c4d..1a02cc34074a 100644 --- a/dev-ruby/activerecord/Manifest +++ b/dev-ruby/activerecord/Manifest @@ -1,12 +1,7 @@ DIST rails-5.2.8.1.tgz 8848345 BLAKE2B 6786359e6c519e98079dc6f87a1ad23a69e7b65d2e688e9f09bd446012a18e76173d2997c125dd0260ece78114be9462d8c3dfb3464c6428734377f793828a9f SHA512 05e3bd1fb50c87ba31d47d99748b2edafa2e58dbf4e0c4ee991b7c65e68abbbc794d8f385836fa1fddcd277f78edeb1f9c2d675c1c53403c1f230593a8bd2c71 DIST rails-6.0.5.1.tgz 18607954 BLAKE2B 74f75399a287f1eae199a5764c952b75dd95a02c88899ade69d60acae00a7588b2f3a8ab3b9d2c9224d62f87305c596e16b196a5c32b19731d4415f17a29d38e SHA512 a65c3fab39eadba75e0107486c82a4da212e612ddb2350f77bb00ad887e0b52980edba08d42c02801c4e4fd71d750de3dbd78c820ef050016867737dccc06b36 -DIST rails-6.0.6.1.tgz 18608328 BLAKE2B 10e6cb2d23acb75c95c25e2e6cc62de05c9c89f249c6cb9abffdd3a6ed83eb1dca996e6ef56a92cf77dddd3f8f9373ad947690015fb7966ddc599c995cea1121 SHA512 6873354fe2f8b9bf8bc12c7e6affda4300c158ee825f996eea6032a70f9532009d8f626d2736af22a452c8a3b331d1252ff19666e021150bfae2a8d575890c27 -DIST rails-6.0.6.tgz 18611499 BLAKE2B 156ab379f1fed2380544127096490cfdab1264dc352db08e0b48c4cf3cde9a564f618c86650203c018597b6425d03f550103778f5255e5026e8d50e9a8adf5c9 SHA512 5754f3dda4f279daec397358b692bb53c191c335218a365eb7ea6d374af32c35bd3e5268dd2d71a7481855020b43726b77f0ce440cbcc73130df8b72565234c7 DIST rails-6.1.6.1.tgz 11028264 BLAKE2B 568033eb816613ba0ba5f2df38e6a30158b2e31ef4d4da151f8c0de2934b07736833026793ce9192994d9ef2a2a45b67735a35760c1be8b8a68c1968147cc6db SHA512 04acf9dbf5ee734636aada67be001690899eb13f73ea688455fcaee8cbf4839aedf06943c8adb5eecf13fd9a5f6be1a225310aa481d3a254172fd0ce0402362f -DIST rails-6.1.7.1.tgz 11035161 BLAKE2B 16e5c6e323403c117443b10ef151ba94cf27cd6fffdb816655ccfe935e05cbeacf32cd9480dc7eb6de1bb8de6f61b7df25eba60c1b1412ebcab7b002de1e1072 SHA512 3f3a9ef366be606e9adefbcaea079a2603e5d4a298a2ad2c56e11b69c8e8817cf7c67c69c45f6797ff8bf574d0c2f5b47070de48efce4ada93b34e66da5e4e62 DIST rails-6.1.7.2.tgz 11037081 BLAKE2B 0004f4bc8b2370119cbe0f6a9133278ae78b1d274f040f08d18edd06696e6fcc609154a042c68b77e11893fbef83ec8eabd9f1e2c28920269189ee1352a0695a SHA512 f667904b0d3ffda3579e5046da3b36c242581bacf140966bf1dc59fc7ea91f34f4affc76b0d6cfad4b80f0332aeec5fc8ab35fb793fc935f1d1b4fe6d18ce1de DIST rails-6.1.7.tgz 11038670 BLAKE2B fd25884a6f58f10387f1f89ffd39caad337d7a3af6902f9ccdcf4eb108f9355124b6e1004d8b8f2b625ac7d9cfcd8635e7668101a1cba5d866a5fbe1b691e6e2 SHA512 7d56f604fbc2fb83a2e3a4ee070f55fb285018a48584115e0bf19982553eb5b78a173a5adbf1879e88c0739bea9dccc66879646da5c0b141b24f1500e1bdcb5f -DIST rails-7.0.3.1.tgz 11049683 BLAKE2B 31aa9c20b4add7e11b832aff57fcf78284b7f28e71cfc71b5769c65170f1fff3f33d73224bbfa826852a59aac30671ff7c3ef19cbe0aaabc8528a805c6b98e8a SHA512 2ad615df9e019193489d5ce82152fd0ff12d8435401258b2b8a87d1c5da46587cdd45dc483847891f7b8be1d019b09b77a48fa7849d5260ee6fdbbf6df64ef03 -DIST rails-7.0.4.1.tgz 11063201 BLAKE2B 9efdb43546d73cbff42297ac988604318e298fb06954cfc066861c63e6336797dca85e7ef40f1e3255fd9fab8fbc111ad1265023a6ced0a25fd1d1a416cb8da5 SHA512 551317bf1d837836eabf4f0de6be1f83916c57b5f828ce079288c37665bac636dd95c076a965d6d763c69f425aef3b5cc20d1fcfdd22eb638cf7175c891466a2 DIST rails-7.0.4.2.tgz 11063555 BLAKE2B f8a862ce91a356dad702a44f1e36f8910e91481770118343c13fa00e40d57cd208ebea83e5adc0154927ef62b3f8461ded82c4e5097089fb1d872c2247feba44 SHA512 9fb80e9ec6e9edcf049635eb436c2fdb418cbdea47a6d82fefa7606e9bd14f2785b1c4445f08848692474db7ee3eb309ab26aabc5f3ba6847457d8dfd8802689 DIST rails-7.0.4.tgz 11061225 BLAKE2B 9c520766f936c82ae9ee943c3db0ad575d7fc59aea947fb2790cf511188fbd33166a62332564c4714372203f5fabdde842334103b48f4115c31f5d0fe18375f1 SHA512 118035226054ad5083d2affde55a812917652491f82a9a578380a790770fdda3a14904f6de10f58651bbbab278aa23920b652aa1b34c71441d465c3b7b4be82c diff --git a/dev-ruby/activerecord/activerecord-6.0.6.1.ebuild b/dev-ruby/activerecord/activerecord-6.0.6.1.ebuild deleted file mode 100644 index 008739fda762..000000000000 --- a/dev-ruby/activerecord/activerecord-6.0.6.1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby27 ruby30" - -# 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} - sqlite? ( >=dev-ruby/sqlite3-1.4 ) - mysql? ( dev-ruby/mysql2:0.5 ) - postgres? ( dev-ruby/pg:1 )" - -ruby_add_bdepend " - test? ( - dev-ruby/bundler - ~dev-ruby/actionpack-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/sqlite3-1.4.0 - dev-ruby/mocha - <dev-ruby/minitest-5.16: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 -i -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:^:#:' ../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 - - # Add back json in the Gemfile because we dropped some dependencies - # earlier that implicitly required it. - sed -i -e '$agem "json"' ../Gemfile || die - - sed -i -e '2igem "railties", "~> 6.0.0"; gem "activemodel", "~> 6.0.0"; gem "psych", "~> 3.0"' test/cases/helper.rb || die - - # Avoid test depending on mysql adapter which we don't support for - # this Rails version to simplify our dependencies. - rm test/cases/connection_specification/resolver_test.rb || 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 failing related to rubygems - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems activation monitor"' test/cases/tasks/sqlite_rake_test.rb || die - - # Avoid test failing due to sqlite EXPLAIN changes - rm -f test/cases/adapters/sqlite3/explain_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/activerecord/activerecord-6.0.6.ebuild b/dev-ruby/activerecord/activerecord-6.0.6.ebuild deleted file mode 100644 index a29dc0ebf31c..000000000000 --- a/dev-ruby/activerecord/activerecord-6.0.6.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby27 ruby30" - -# 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} - sqlite? ( >=dev-ruby/sqlite3-1.4 ) - mysql? ( dev-ruby/mysql2:0.5 ) - postgres? ( dev-ruby/pg:1 )" - -ruby_add_bdepend " - test? ( - dev-ruby/bundler - ~dev-ruby/actionpack-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/sqlite3-1.4.0 - dev-ruby/mocha - <dev-ruby/minitest-5.16: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 -i -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:^:#:' ../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 - - # Add back json in the Gemfile because we dropped some dependencies - # earlier that implicitly required it. - sed -i -e '$agem "json"' ../Gemfile || die - - sed -i -e '2igem "railties", "~> 6.0.0"; gem "activemodel", "~> 6.0.0"; gem "psych", "~> 3.0"' test/cases/helper.rb || die - - # Avoid test depending on mysql adapter which we don't support for - # this Rails version to simplify our dependencies. - rm test/cases/connection_specification/resolver_test.rb || 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 failing related to rubygems - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems activation monitor"' test/cases/tasks/sqlite_rake_test.rb || die - - # Avoid test failing due to sqlite EXPLAIN changes - rm -f test/cases/adapters/sqlite3/explain_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/activerecord/activerecord-6.1.7.1.ebuild b/dev-ruby/activerecord/activerecord-6.1.7.1.ebuild deleted file mode 100644 index 4e1ebb61eee9..000000000000 --- a/dev-ruby/activerecord/activerecord-6.1.7.1.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="ruby27 ruby30 ruby31" - -# 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} - 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/bundler - ~dev-ruby/actionpack-${PV} - ~dev-ruby/railties-${PV} - >=dev-ruby/sqlite3-1.4.0 - dev-ruby/mocha - <dev-ruby/minitest-5.16: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 -i -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:^:#:' ../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 - - # Add back json in the Gemfile because we dropped some dependencies - # earlier that implicitly required it. - sed -i -e '$agem "json"' ../Gemfile || die - - # Load correct rails version - sed -i -e '2igem "activemodel", "~> 6.1.0"; gem "activejob", "~> 6.1.0"; gem "railties", "~> 6.1.0"' test/cases/helper.rb || 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/{,legacy_}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 tests that no longer work with newer sqlite versions - rm -f test/cases/adapters/sqlite3/explain_test.rb || die - sed -i -e '/test_references_stays_as_integer_column/askip "Fails on case difference"' test/cases/migration/compatibility_test.rb || die - - # 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 failing related to rubygems - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_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/activerecord/activerecord-7.0.3.1.ebuild b/dev-ruby/activerecord/activerecord-7.0.3.1.ebuild deleted file mode 100644 index 23080658a57a..000000000000 --- a/dev-ruby/activerecord/activerecord-7.0.3.1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30" - -# 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 ~riscv ~sparc ~x86" -IUSE="mysql postgres sqlite" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend "~dev-ruby/activesupport-${PV} - ~dev-ruby/activemodel-${PV} - 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/railties-${PV} - >=dev-ruby/sqlite3-1.4.0 - dev-ruby/mocha - <dev-ruby/minitest-5.16: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 -i -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:^:#:' ../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 - - # 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/{,legacy_}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 failing related to rubygems - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_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/activerecord/activerecord-7.0.4.1.ebuild b/dev-ruby/activerecord/activerecord-7.0.4.1.ebuild deleted file mode 100644 index e1e7f04ae70d..000000000000 --- a/dev-ruby/activerecord/activerecord-7.0.4.1.ebuild +++ /dev/null @@ -1,87 +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" - -# 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 ~ppc64 ~riscv ~sparc ~x86" -IUSE="mysql postgres sqlite" - -RUBY_S="rails-${PV}/${PN}" - -ruby_add_rdepend "~dev-ruby/activesupport-${PV} - ~dev-ruby/activemodel-${PV} - 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/railties-${PV} - >=dev-ruby/sqlite3-1.4.0 - dev-ruby/mocha - <dev-ruby/minitest-5.16: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 -i -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:^:#:' ../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 - - # Add back json in the Gemfile because we dropped some dependencies - # earlier that implicitly required it. - sed -i -e '$agem "json"' ../Gemfile || die - - sed -i -e '1igem "rack", "<3"' test/cases/helper.rb || 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/{,legacy_}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 failing related to rubygems - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die -} - -each_ruby_test() { - if use sqlite; then - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" - fi -} |