diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-12-01 09:19:43 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-12-01 09:27:17 +0100 |
commit | c2910e9977c8ce94260e0ae8b4f2441676dc73b5 (patch) | |
tree | 8cede204e40eb9c251e865bbf0d6856f5325dfcf /dev-ruby | |
parent | dev-ruby/activesupport: add 4.2.11 (diff) | |
download | gentoo-c2910e9977c8ce94260e0ae8b4f2441676dc73b5.tar.gz gentoo-c2910e9977c8ce94260e0ae8b4f2441676dc73b5.tar.bz2 gentoo-c2910e9977c8ce94260e0ae8b4f2441676dc73b5.zip |
dev-ruby/activemodel: add 4.2.11
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/activemodel/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/activemodel/activemodel-4.2.11.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest index e014378fdc1c..8bdf41952ee1 100644 --- a/dev-ruby/activemodel/Manifest +++ b/dev-ruby/activemodel/Manifest @@ -1,4 +1,5 @@ DIST rails-4.2.10.tgz 4080905 BLAKE2B 5a46ed9e3664a65545a709577b49864e14cecfc89c798facc0412b4da2842dfb86a611f1fd0ce50da6a40c81a19d3cdce0688b40ad92180ce8ababa5f38d23cc SHA512 c1331638326960c6df9000a2383ad1905d5e794fddddfdc7422cfa2ff89039e3c0e272a79fa43423d5ae0e56436eceb22b8276e6a8bce7eb765da33f02742318 +DIST rails-4.2.11.tgz 4080621 BLAKE2B 97f22f887255a1d8321d26040a9896cc87e0e7e50db208d3c0f96a74d926cfe9bb516641e06f7bfd92649b91427094f729d2d6b24df811ff0481c03950d3185b SHA512 df31ac9cff0b6b07113f6066b0459b40b7263356c40a722636091b75c7443691625153d8e2d7e01324e98321d757f67ba3b9318d4229a3c1a0cea5af65b6b470 DIST rails-5.0.7.tgz 6051560 BLAKE2B d5090b2e6c3fb9b7ca460c7439a94d6633ab7bad3cef42ab23851b0127d6b8cf6a34eb3b967c7c9b7ba5bd1d10e483f4c76a60fc06772d567a258b237a449fe6 SHA512 c3f1b882f4679967597c7ecfa3469e8f1dc52f618d26324b292bcd0ed8c854ec93a7570e12cab8becfb9a7ce04bb7e08f9ad353d35f8cfb954bc2144bf093e55 DIST rails-5.1.4.tgz 6132874 BLAKE2B ec5642b860b7c18cea2c56aa5e2a652e28ab08d39c5863dc4ee66fd3caf375e55706e4317ecae5bfc5581922cf1549c38c22529d2e44a98c84cde332491e49cc SHA512 8f0837e0a2c5b0189375f10310a6e6b43e32f1fecc503582efc6490436c943e774495262e508e4ca1a1874132ae6e4a541e81c06f0d8f6fe8ab85bd2fd10d4fc DIST rails-5.1.5.tgz 6142269 BLAKE2B e31b6fb39df4a5cbfa9acd31058b018f5eb8d45d0886d9cb1de5d7de9ed082b67f27d257ac8eeffb0a2663466bc958c72d63309f0a68989d189a11510e835e3e SHA512 8fde1b043976c6bd69235ccbfc1f4ab593fa0cb7ec0dc0cbafcbd2727dfd1b405cc6131e41cc40871bc893cc64f524a347dd91efd1816b724deb5ca1cf879c63 diff --git a/dev-ruby/activemodel/activemodel-4.2.11.ebuild b/dev-ruby/activemodel/activemodel-4.2.11.ebuild new file mode 100644 index 000000000000..8b955712e8b4 --- /dev/null +++ b/dev-ruby/activemodel/activemodel-4.2.11.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +inherit ruby-fakegem versionator + +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="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV}:* + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* +" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + >=dev-ruby/railties-4.2.0 + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.14.0:0.14 + >=dev-ruby/bcrypt-ruby-3.1.7 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|uglifier\|minitest\|mime-types\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/rake/ s/12.3/12.4/ ; /dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid test crashing newer versions of minitest + rm -f test/cases/railtie_test.rb || die +} |