commit: cad820901fef62483a42c2d913d32bc7734b2e11 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Jul 20 07:05:04 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Jul 20 07:05:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad82090
dev-ruby/activerecord: drop 7.0.2.4, 7.0.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/activerecord/Manifest | 2 - dev-ruby/activerecord/activerecord-7.0.2.4.ebuild | 84 ---------------------- dev-ruby/activerecord/activerecord-7.0.3.ebuild | 85 ----------------------- 3 files changed, 171 deletions(-) diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest index 429aee5da292..64e3dddb7600 100644 --- a/dev-ruby/activerecord/Manifest +++ b/dev-ruby/activerecord/Manifest @@ -5,6 +5,4 @@ DIST rails-6.0.5.tgz 18572922 BLAKE2B cc7f3669f5d501031ea5bfcef24db89040dc447923 DIST rails-6.1.5.1.tgz 10993257 BLAKE2B 90146d33fcad068a09bc61c09417514f2ccc18c51043c63672397eb6980a97c9c0c4e6b0679393c3d8ded690ab44ea53b7abd49817f46ca9f8ab3472dec2f3c3 SHA512 8061f2103ad9266f06f902cf7f05b3f94b05d9b454d314d7a7febea2e5e464c5f33d14f48a2a098e7e666a6dc8cd5c5dae4cf4fb669eca28303a4fb5e6832039 DIST rails-6.1.6.1.tgz 11028264 BLAKE2B 568033eb816613ba0ba5f2df38e6a30158b2e31ef4d4da151f8c0de2934b07736833026793ce9192994d9ef2a2a45b67735a35760c1be8b8a68c1968147cc6db SHA512 04acf9dbf5ee734636aada67be001690899eb13f73ea688455fcaee8cbf4839aedf06943c8adb5eecf13fd9a5f6be1a225310aa481d3a254172fd0ce0402362f DIST rails-6.1.6.tgz 10993299 BLAKE2B 98a80cbefc1aafba68a22b60d3df6b81ab1e8247a75a07131aeed97ae621ea45b22918482537255547b68a5fc6b002f551b8b94492da3b1e6e24389a109e245c SHA512 04c578f6d8bdcd72691c8d4e51136424f2241a374cdfad1c3c2b436a4f5fde1955a600bcb98c6f416e22e1e561cd50f9ca5f5075deff94f258f8682dc9b00c1c -DIST rails-7.0.2.4.tgz 11014591 BLAKE2B 4a678dddca134769a40d73a6652a6aa273456288c19ddbe7611ae40a14860abf77226ab351ead92647fb471751521377c51cafae40383198ff3d3477bc257b55 SHA512 948cf58dd6ac517fb4b1e63c3a1dbfcf2405fd224ea150cb92f5805939d3a458ad26e139b1c6069cc587c01f15694be14e119ee56769a611e6b6eaa0eae5a68c DIST rails-7.0.3.1.tgz 11049683 BLAKE2B 31aa9c20b4add7e11b832aff57fcf78284b7f28e71cfc71b5769c65170f1fff3f33d73224bbfa826852a59aac30671ff7c3ef19cbe0aaabc8528a805c6b98e8a SHA512 2ad615df9e019193489d5ce82152fd0ff12d8435401258b2b8a87d1c5da46587cdd45dc483847891f7b8be1d019b09b77a48fa7849d5260ee6fdbbf6df64ef03 -DIST rails-7.0.3.tgz 11021571 BLAKE2B 00385233279a773221ae8a1e75354d404d033206089323c53c0e81a134941151aab4578218438dd4193b2c00a0cd4ef1eb6a758502a51d403bddb11915ed9eb7 SHA512 366eaae24b0e147c9e33179c10c0a22f7c7671551222e329120749f04077bd344fabf55e90af041322787bf3063add927c7fd34758ae8764e00f8d8edba388ef diff --git a/dev-ruby/activerecord/activerecord-7.0.2.4.ebuild b/dev-ruby/activerecord/activerecord-7.0.2.4.ebuild deleted file mode 100644 index f59c119d4b8c..000000000000 --- a/dev-ruby/activerecord/activerecord-7.0.2.4.ebuild +++ /dev/null @@ -1,84 +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/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 -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.3.ebuild b/dev-ruby/activerecord/activerecord-7.0.3.ebuild deleted file mode 100644 index d3795a85692b..000000000000 --- a/dev-ruby/activerecord/activerecord-7.0.3.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 - )" - -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 -}