diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-13 13:36:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-13 13:36:46 +0100 |
commit | 7b02e37a04e4051a91a109814d386711f41f9a4b (patch) | |
tree | d0689f14f1d1df3a6a2525512a6812b146064a9e /dev-ruby/activemodel/activemodel-6.0.5.1.ebuild | |
parent | 5c0c70d5917e66743293789a6d6fd7d72250eb32 (diff) |
gentoo auto-resync : 13:07:2022 - 13:36:46
Diffstat (limited to 'dev-ruby/activemodel/activemodel-6.0.5.1.ebuild')
-rw-r--r-- | dev-ruby/activemodel/activemodel-6.0.5.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/activemodel/activemodel-6.0.5.1.ebuild b/dev-ruby/activemodel/activemodel-6.0.5.1.ebuild new file mode 100644 index 000000000000..b96d4d862918 --- /dev/null +++ b/dev-ruby/activemodel/activemodel-6.0.5.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby26 ruby27 ruby30" + +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="" + +RUBY_S="rails-${PV}/${PN}" + +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 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '3igem "psych", "~> 3.0"' test/cases/helper.rb || die "Unable to remove load paths" +} |