From d759a1fd8bd46b5eedd1fb3315f2f7e241ecf03a Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 29 Aug 2021 08:38:41 +0200 Subject: dev-ruby/activerecord: cleanup Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff --- dev-ruby/activerecord/Manifest | 2 - dev-ruby/activerecord/activerecord-6.1.3.2.ebuild | 83 ----------------------- dev-ruby/activerecord/activerecord-6.1.4.ebuild | 83 ----------------------- 3 files changed, 168 deletions(-) delete mode 100644 dev-ruby/activerecord/activerecord-6.1.3.2.ebuild delete mode 100644 dev-ruby/activerecord/activerecord-6.1.4.ebuild (limited to 'dev-ruby/activerecord') diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest index fd444a73d238..1cb354781ace 100644 --- a/dev-ruby/activerecord/Manifest +++ b/dev-ruby/activerecord/Manifest @@ -1,5 +1,3 @@ DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b SHA512 465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd SHA512 322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975 -DIST rails-6.1.3.2.tgz 10992572 BLAKE2B ec4b7c33180ecc6b9dc9bd0270c9c03e48a774a7c0fc1d79638bd6b52a4c9831f59c5d8714e24c9611ac9e8ad03dddc664c2969da8be568eade76464c04d5697 SHA512 3b30facfe0555c3161b5fc50efb7dc1f3df0eeadbfa19f16df3ebdb4877d6fb9a978ae7a6713a502d79e6d8f1be20157bd5ef64919fdd558cad89492cc2d9672 DIST rails-6.1.4.1.tgz 11003728 BLAKE2B 8baa45968536ebe34f3bc4e4f25246bff68997a88c1019d1f7b7ba73785bc11901d7222ac04866b900c7dc35f9291ede78c0949abd979e797d07f3759179c05a SHA512 411d3fe21c7500e884edb86cc6728c4d3b7125d2e6ea913191437716f2be0d522252c55c25cb4c5221cc112b3ca5eeba690b0b0e59572fcc54ea42ba05ec4520 -DIST rails-6.1.4.tgz 11003156 BLAKE2B a0068d221da9c2b3be73f45b84ca1c1c926dfab5b759364d25428291624be31dd664faff32930ec59d5902682950895e6a5b40bcaf6106ad274622741b8f316c SHA512 e88781c690b00441fda0d50514b3ce1dde2ba4c5b93c775a6f77d50bd9aa736631c4d8b1ca6f5d0e270b8ebe902f7945823df7d0d7513881fa6b35c03bcf388f diff --git a/dev-ruby/activerecord/activerecord-6.1.3.2.ebuild b/dev-ruby/activerecord/activerecord-6.1.3.2.ebuild deleted file mode 100644 index a1ef44206920..000000000000 --- a/dev-ruby/activerecord/activerecord-6.1.3.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" - -# 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 ~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/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-6.1.4.ebuild b/dev-ruby/activerecord/activerecord-6.1.4.ebuild deleted file mode 100644 index a1ef44206920..000000000000 --- a/dev-ruby/activerecord/activerecord-6.1.4.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" - -# 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 ~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/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 -} -- cgit v1.2.3-65-gdbad