From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CEA8B1388C1 for ; Tue, 1 Mar 2016 05:49:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E19DEE083C; Tue, 1 Mar 2016 05:49:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 395D5E083C for ; Tue, 1 Mar 2016 05:49:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39086340A7D for ; Tue, 1 Mar 2016 05:49:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37F0D2091 for ; Tue, 1 Mar 2016 05:49:29 +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: <1456811328.9731af928cd9ea401fe022ae6aec57e9376951ce.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/railties/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/railties/Manifest dev-ruby/railties/railties-4.2.5.2.ebuild X-VCS-Directories: dev-ruby/railties/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 9731af928cd9ea401fe022ae6aec57e9376951ce X-VCS-Branch: master Date: Tue, 1 Mar 2016 05:49:29 +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-Archives-Salt: fff64f32-776d-42f5-8de9-9394b33cc46d X-Archives-Hash: 0c2c9b99e06e50716d03610fea34ba22 commit: 9731af928cd9ea401fe022ae6aec57e9376951ce Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 1 05:45:35 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Mar 1 05:48:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9731af92 dev-ruby/railties: add rails 4.2.5.2, bug 576068 Package-Manager: portage-2.2.26 dev-ruby/railties/Manifest | 1 + dev-ruby/railties/railties-4.2.5.2.ebuild | 72 +++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest index 1b70cb2..0054c63 100644 --- a/dev-ruby/railties/Manifest +++ b/dev-ruby/railties/Manifest @@ -2,3 +2,4 @@ DIST rails-3.2.22.1.tgz 3570617 SHA256 0678ec5677e6f70a20aa398b323a3d926531e1da2 DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01 DIST rails-4.1.14.1.tgz 3728574 SHA256 1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a WHIRLPOOL 31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d DIST rails-4.2.5.1.tgz 4175926 SHA256 713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d WHIRLPOOL dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f +DIST rails-4.2.5.2.tgz 4174380 SHA256 c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3 WHIRLPOOL 4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6 diff --git a/dev-ruby/railties/railties-4.2.5.2.ebuild b/dev-ruby/railties/railties-4.2.5.2.ebuild new file mode 100644 index 0000000..6e83eef --- /dev/null +++ b/dev-ruby/railties/railties-4.2.5.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem versionator + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +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 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.21" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/thor-0.18.1 + >=dev-ruby/rake-0.8.7" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.13 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die + + # Also allow rdoc 4.x + sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +}