summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-07-13 07:42:25 +0200
committerHans de Graaff <graaff@gentoo.org>2016-07-13 07:43:19 +0200
commitd447713377a0c0bd6018cda98e1eac8b97399b97 (patch)
tree103f70fe785d5517b0e1c9f21cb58b2172fbee90 /dev-ruby/railties
parentdev-ruby/activerecord: add rails 4.1.16 (diff)
downloadgentoo-d447713377a0c0bd6018cda98e1eac8b97399b97.tar.gz
gentoo-d447713377a0c0bd6018cda98e1eac8b97399b97.tar.bz2
gentoo-d447713377a0c0bd6018cda98e1eac8b97399b97.zip
dev-ruby/railties: add rails 4.1.16
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/railties')
-rw-r--r--dev-ruby/railties/Manifest1
-rw-r--r--dev-ruby/railties/railties-4.1.16.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest
index d2398e05a050..c1bf85fdc3ee 100644
--- a/dev-ruby/railties/Manifest
+++ b/dev-ruby/railties/Manifest
@@ -1,4 +1,5 @@
DIST rails-3.2.22.2.tgz 3571822 SHA256 6aaef5723f3a409d057ace5500f1743168bde8f45114d9b5d861bb6e05444356 SHA512 b0c1817164168e2b8ae5b748dd1dd88097c2047d2e2eb31e403a5b865a1e50c43f8841a0e60ccdda6d5a859bba9acdfb06462cb8ba93a3e9ecc57dc349f8be13 WHIRLPOOL 8f5e674020a4c00a9a5da6e2e25aceb408ccb01f8adce74128a99cbb602d08da31de44b496a42d86bbf3887830785bfb961c95231d98bb1ce5d17755741dd3e1
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
DIST rails-4.1.15.tgz 3729946 SHA256 df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c WHIRLPOOL 75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
+DIST rails-4.1.16.tgz 3730763 SHA256 fd17ccacee3a61c17d2cfa36db36f583ed3d05eac504e4bb06ec65629965f499 SHA512 d342ab0ede9f4642d809114fb8518d09a63da8bda66f866f2f81646b247d7da2235e81f818793ae86c4c2365624d5b35898d4f1693093019d3639a1dcb872ac1 WHIRLPOOL fe1bc9866c5005f8232a3d339811afe183aef53c1f1d8a8a9250b447e941309cb415592309d8bb3367add028a98c5cdb4cc6180d0f49e1c76337668763460536
DIST rails-4.2.6.tgz 4179056 SHA256 68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0 WHIRLPOOL 1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe
diff --git a/dev-ruby/railties/railties-4.1.16.ebuild b/dev-ruby/railties/railties-4.1.16.ebuild
new file mode 100644
index 000000000000..dc2b98c67517
--- /dev/null
+++ b/dev-ruby/railties/railties-4.1.16.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+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.20"
+
+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
+}