diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-03-31 19:57:12 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-03-31 20:12:09 +0200 |
commit | fc818f08a91bedaaaf08af530b2ac7d72f6a3aa8 (patch) | |
tree | 2b328398e758358a7cfea47602d3e73dd1a0cce6 /dev-ruby/activesupport | |
parent | app-emacs/ghub: use correct LICENSE, thanks to ulm (diff) | |
download | gentoo-fc818f08a91bedaaaf08af530b2ac7d72f6a3aa8.tar.gz gentoo-fc818f08a91bedaaaf08af530b2ac7d72f6a3aa8.tar.bz2 gentoo-fc818f08a91bedaaaf08af530b2ac7d72f6a3aa8.zip |
dev-ruby/rails: add rails 5.0.7
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/activesupport')
-rw-r--r-- | dev-ruby/activesupport/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/activesupport/activesupport-5.0.7.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest index 1716c589aa60..2981ed27131c 100644 --- a/dev-ruby/activesupport/Manifest +++ b/dev-ruby/activesupport/Manifest @@ -1,5 +1,6 @@ DIST rails-4.2.10.tgz 4080905 BLAKE2B 5a46ed9e3664a65545a709577b49864e14cecfc89c798facc0412b4da2842dfb86a611f1fd0ce50da6a40c81a19d3cdce0688b40ad92180ce8ababa5f38d23cc SHA512 c1331638326960c6df9000a2383ad1905d5e794fddddfdc7422cfa2ff89039e3c0e272a79fa43423d5ae0e56436eceb22b8276e6a8bce7eb765da33f02742318 DIST rails-5.0.6.tgz 6043860 BLAKE2B ae5c1e6df39575a40001ea8b009c39ed414661b1458934efad44e50cb48f3f9906150560008fd3eac39a627c14a32ac3e5f7366b62596d13df11e579beddac6c SHA512 3487db6d59e65a0abe56bf9edfc343a0e0e78119b2bb08f333c8203840ae33897030897d2677d4a28257b479b605b2679ffb7b5d21c724557142023fdb723410 +DIST rails-5.0.7.tgz 6051560 BLAKE2B d5090b2e6c3fb9b7ca460c7439a94d6633ab7bad3cef42ab23851b0127d6b8cf6a34eb3b967c7c9b7ba5bd1d10e483f4c76a60fc06772d567a258b237a449fe6 SHA512 c3f1b882f4679967597c7ecfa3469e8f1dc52f618d26324b292bcd0ed8c854ec93a7570e12cab8becfb9a7ce04bb7e08f9ad353d35f8cfb954bc2144bf093e55 DIST rails-5.1.1.tgz 6124695 BLAKE2B 6a02843a036594d02aee37413713950f495db24651df49be3866e2df989d464a23ac5865081d243e6c6525837fb33099c46b6009cc667d0e03444cbcf9631588 SHA512 fd62506eac440f1ad9b37f20c7c712733440bc2ee676390c02e3bd50b912fe0fd53e8092c23664d47818ee62583568c6e20d2bfd5eff6d22a005289bb3bb258f DIST rails-5.1.2.tgz 6124489 BLAKE2B a7d71b99f1b9eb33e76c7941909407be0a3b086581bf3ddb4fe811a6b91bb129edb504c6fe3593a3b347ab035f7325e8e497b926a24b699a56725f89161e942e SHA512 95072d06ce19726343758f4dbdac96728598e31be0a0560f240511bf043aab47d55530ef47bd9b390aa61b5e0ad6e142781ed7167ce7f2cf11d22a71127d7872 DIST rails-5.1.3.tgz 6130089 BLAKE2B f61c016af6f5336726127372c1dd3d85088e11c0b58998ce40155b09087dcdb341a15d3ff57692d744538b571337a2e1e278542590d82077a35dc1e336539f85 SHA512 5aa9f7e5211e8dd36b7bb54ab7dc0e88241253ab560355497da2eff9c5bae5dab877640ce8e066fd637e145752af7e1942743359ab8028e6376bc905a9b18236 diff --git a/dev-ruby/activesupport/activesupport-5.0.7.ebuild b/dev-ruby/activesupport/activesupport-5.0.7.ebuild new file mode 100644 index 000000000000..23d02efa9e08 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-5.0.7.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem versionator + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +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 ~hppa ~ppc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.0.2:1 + >=dev-ruby/i18n-0.7:* <dev-ruby/i18n-1:* + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5" + +# memcache-client, nokogiri, and builder are not strictly +# needed, but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-2.2.1 + >=dev-ruby/nokogiri-1.4.5 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.0.5:3 + dev-ruby/rack + dev-ruby/mocha:0.14 + <dev-ruby/minitest-5.4 + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # 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\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"; gem "rack"' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid test not working within portage + sed -i -e '/test_messing_with_either_encrypted_values_causes_failure/askip "gentoo"' test/message_encryptor_test.rb || die + sed -i -e '/test_filename_max_size/askip "gentoo"' test/caching_test.rb || die + + # Avoid tests failing since test_order cattr is also seen as a test + # method + rm -f test/xml_mini/libxml{,sax}_engine_test.rb || die + + # Avoid tests that seem to trigger race conditions. This might be + # fixed upstream in 7bd41994480c17db71fdc07e3447ade929eaa386 + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid tests which make network connections + rm -f test/multibyte_{grapheme_break,normalization}_conformance_test.rb || die +} |