From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93D3F15A7DB for ; Wed, 15 Mar 2023 07:33:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A933DE0895; Wed, 15 Mar 2023 07:33:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85889E088F for ; Wed, 15 Mar 2023 07:33:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5F95340CEF for ; Wed, 15 Mar 2023 07:33:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44F058E6 for ; Wed, 15 Mar 2023 07:33:19 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1678865592.07e8c867f4c60eb63aa1001483fa36206a551fb0.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activerecord/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/activerecord/Manifest dev-ruby/activerecord/activerecord-7.0.4.3.ebuild X-VCS-Directories: dev-ruby/activerecord/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 07e8c867f4c60eb63aa1001483fa36206a551fb0 X-VCS-Branch: master Date: Wed, 15 Mar 2023 07:33:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 79d2a11c-3789-49fe-8c43-f2c59b7abc0b X-Archives-Hash: a8b25620db203b8c5329885046f9de81 commit: 07e8c867f4c60eb63aa1001483fa36206a551fb0 Author: Hans de Graaff gentoo org> AuthorDate: Wed Mar 15 07:32:14 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Mar 15 07:33:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e8c867 dev-ruby/activerecord: add 7.0.4.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/activerecord/Manifest | 1 + dev-ruby/activerecord/activerecord-7.0.4.3.ebuild | 87 +++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest index 3a1edb365a39..20fa7b9339d7 100644 --- a/dev-ruby/activerecord/Manifest +++ b/dev-ruby/activerecord/Manifest @@ -5,4 +5,5 @@ DIST rails-6.1.7.2.tgz 11037081 BLAKE2B 0004f4bc8b2370119cbe0f6a9133278ae78b1d27 DIST rails-6.1.7.3.tgz 11038169 BLAKE2B 7e379b9ae3b63cb78638c1e0817ff40dc8aad79ba76b6d82310fbb4d6f5ef3dab4f252de9e49766143b828bfbce2ef7c9db3f108b5406708b61a83aeda47ea74 SHA512 fb84516a6cf370109bf45f2162161d23f375d7dc10249ed10200c74ec402129b07ac0e59bcde98a74eb499769a0cdd937af691edaabe44e061262d5510adc02e DIST rails-6.1.7.tgz 11038670 BLAKE2B fd25884a6f58f10387f1f89ffd39caad337d7a3af6902f9ccdcf4eb108f9355124b6e1004d8b8f2b625ac7d9cfcd8635e7668101a1cba5d866a5fbe1b691e6e2 SHA512 7d56f604fbc2fb83a2e3a4ee070f55fb285018a48584115e0bf19982553eb5b78a173a5adbf1879e88c0739bea9dccc66879646da5c0b141b24f1500e1bdcb5f DIST rails-7.0.4.2.tgz 11063555 BLAKE2B f8a862ce91a356dad702a44f1e36f8910e91481770118343c13fa00e40d57cd208ebea83e5adc0154927ef62b3f8461ded82c4e5097089fb1d872c2247feba44 SHA512 9fb80e9ec6e9edcf049635eb436c2fdb418cbdea47a6d82fefa7606e9bd14f2785b1c4445f08848692474db7ee3eb309ab26aabc5f3ba6847457d8dfd8802689 +DIST rails-7.0.4.3.tgz 11063764 BLAKE2B 389fd3a00bfff4ebda70cf5ec473942883048783b716ede1787a510d3b7b91f4e844dce4dde5ef643cb9611b1b3aa712f1ba5ebefb9e5a84e307a151b2e40bcf SHA512 2c817a0a58ae52f99686d8cd0de84f01e3d7ec05afc95d07910b3b5bf86d8162b06102893b2cbc14859b95a07eca6882a707956c87d437794697df7a18fa3c16 DIST rails-7.0.4.tgz 11061225 BLAKE2B 9c520766f936c82ae9ee943c3db0ad575d7fc59aea947fb2790cf511188fbd33166a62332564c4714372203f5fabdde842334103b48f4115c31f5d0fe18375f1 SHA512 118035226054ad5083d2affde55a812917652491f82a9a578380a790770fdda3a14904f6de10f58651bbbab278aa23920b652aa1b34c71441d465c3b7b4be82c diff --git a/dev-ruby/activerecord/activerecord-7.0.4.3.ebuild b/dev-ruby/activerecord/activerecord-7.0.4.3.ebuild new file mode 100644 index 000000000000..e1e7f04ae70d --- /dev/null +++ b/dev-ruby/activerecord/activerecord-7.0.4.3.ebuild @@ -0,0 +1,87 @@ +# 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 + 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 +}