commit: 6a232be02ed8264bd034cd5f6b02a1a15b867923 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Oct 26 07:19:49 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Oct 26 07:47:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a232be0
dev-ruby/activemodel: add 6.1.7.10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/activemodel/Manifest | 1 + dev-ruby/activemodel/activemodel-6.1.7.10.ebuild | 49 ++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest index 4086f4650837..046023b83751 100644 --- a/dev-ruby/activemodel/Manifest +++ b/dev-ruby/activemodel/Manifest @@ -1,3 +1,4 @@ +DIST rails-6.1.7.10.tgz 11034185 BLAKE2B 569fcde5a788151af1eb1bfe7a83048e92bdca36a3e219848567aec47877d17d791ba9f5e4913e077d458e52e7a6b69d448e1763b68e8284b9de4d2a60feaaab SHA512 ae601abca73cb6b962a9863fece1bca2e9ab64ef884054df58ec51cbc8256e9dc26086ade7c0c24c37a2047fd9f21f121ac22b44384bcd877df1d300aa06fe79 DIST rails-6.1.7.8.tgz 11041890 BLAKE2B 285571972ec1d43ae65f3c4f586679e31d0550263c4778925c5828000d6ba971a791ad1071a7ab5edd8d728cd51ee15bb5cee1261b828a4b5926a54f34887d10 SHA512 8c819da0f46820f05d4128444fb3c3908d5e50f97935b173cdd156a986720dda6bcbb62015884d3142ebd5b17621e3f94ca2c80691564914088e884b9aac3573 DIST rails-6.1.7.9.tgz 11034686 BLAKE2B 12edf62a94e0b504f1db721081ce35a6b7e8f67bded2801ce54872f7cef80fb75120f56b356940a44d943cbd05b4d63778726885ac20dd04a2e5510f54ea06ac SHA512 387cbc5424b16ade97091e3cfc3a5bc0cfe277ee75a7f35cdf5d393c692d2ea17f258e38d8b25c8c8a1be4fb64a39d0f675b23942145929bb7be4783cd95d90b DIST rails-7.0.8.4.tgz 11082427 BLAKE2B 2ca521ad92b7a33fa2160b4cfbc1aac826641d2aac7a8751b6acaed1b7fc42bb860b4ade3f973eb51dc17d20fa4c97b02e8d6b970ae63b042cd58ab2f6cfc797 SHA512 e6628e901fcdcd4b9101cdae0cd556569fc7b577466a15f99d1e221c1c0059287dce87c1362df8b23ded992e96c551b35c0c789e683f080079e678555b7a79e6 diff --git a/dev-ruby/activemodel/activemodel-6.1.7.10.ebuild b/dev-ruby/activemodel/activemodel-6.1.7.10.ebuild new file mode 100644 index 000000000000..542013b527f4 --- /dev/null +++ b/dev-ruby/activemodel/activemodel-6.1.7.10.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +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}" + +PATCHES=( + "${FILESDIR}"/${PN}-6.1.7.4-ruby32-keywords.patch +) + +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.16:* + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -e '/load_paths/d' \ + -e '2igem "activesupport", "~> 6.1.0"; gem "railties", "~> 6.1.0"' \ + -i test/cases/helper.rb || die "Unable to remove load paths" +}
