summaryrefslogtreecommitdiff
path: root/dev-ruby/railties
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
commit463397cf1e064185110fe57c568d73f99a06f5d1 (patch)
tree9aa75eefc5154eaf0e3c33658b830fc54dc68052 /dev-ruby/railties
parentc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff)
gentoo resync : 17.02.2021
Diffstat (limited to 'dev-ruby/railties')
-rw-r--r--dev-ruby/railties/Manifest1
-rw-r--r--dev-ruby/railties/railties-6.1.2.1-r1.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest
index 23db18f54ff4..e86cca9e7830 100644
--- a/dev-ruby/railties/Manifest
+++ b/dev-ruby/railties/Manifest
@@ -9,5 +9,6 @@ EBUILD railties-5.2.4.4.ebuild 1677 BLAKE2B d601f23359cdf576011977ff20c04163a201
EBUILD railties-5.2.4.5.ebuild 1678 BLAKE2B fd4ff8c44c6f49f573de3ce5f4a92b3e0d1e863d0bf23e33c4399e302fe0f1c492b234de879c28d3f75840ab1171744b90e5de7530d3989af4ef8bdd168f1eef SHA512 57aae1f1414d90f2bd1ec2c6462c48bdba9672b901e1452eb2b957b086155f3215c84b1265bae491b47afebd55d9b83049390c218d85b82ed5219e221596e2cf
EBUILD railties-6.0.3.4.ebuild 1644 BLAKE2B 3e67b4f6f883620d2a763ce7fcb7eed2d80cdfaef418ef48457024832e07764d42183dbb96c86674be1f54e92e8c08779ecc7f880f317292fa5a3985236a30ee SHA512 2a00fb68fb7e3908048e97722f8000c5263226e2b64f6aec9d900147ee3720b1e30e55d44dab9291234e3fb440ed491c5d64e6bf8fc4379aa1680ecd82e76d5a
EBUILD railties-6.0.3.5.ebuild 1644 BLAKE2B 68c7a591e1d878187527a47971fb5b9b9aeeed214cae78306ec2fb025fe085385cc873596dc9ea40546c69ea62efe835f4bf440d6f15d4081d278d8733914eb7 SHA512 e3cb33817af6e18781f4e80ee3cb68cab35f50852bca0cc8f658a7f2d84c456f445d22b9fd3b994766c61478a103bc0c1613603c805bb84130d3fa6ec96388f3
+EBUILD railties-6.1.2.1-r1.ebuild 1612 BLAKE2B 2282f8266ec199411356c3e2885cba3bf8cfd57f196c23fcddcee8b73e6a4e8016e7006b906262ddd7d8ec03bf538cf0bc7c7bc169297e4e922578a40beb9148 SHA512 420246895bdb137ca40b6f3dc64d6695201fa1b5fc34b15d352951a83d69a39bd4de5084aa1b847e752a7e37d4fc8d635f8bceef95fe82be8df0b6b6fd47361c
EBUILD railties-6.1.2.1.ebuild 1644 BLAKE2B 68c7a591e1d878187527a47971fb5b9b9aeeed214cae78306ec2fb025fe085385cc873596dc9ea40546c69ea62efe835f4bf440d6f15d4081d278d8733914eb7 SHA512 e3cb33817af6e18781f4e80ee3cb68cab35f50852bca0cc8f658a7f2d84c456f445d22b9fd3b994766c61478a103bc0c1613603c805bb84130d3fa6ec96388f3
MISC metadata.xml 337 BLAKE2B f2b57aeb9ea63b3cba576df9bed58bc86577ddfb1707d3a183a8536c71c797aca25ca61b22eb50ea54368fac052518f889db0503b816767e05978c803e204351 SHA512 ad52f0a3bf101472aa80ce4b516349ac090620aba4afecde872585bf1ff11f55cffaf762df123910a16d70aaf67ef59dcbdec728816f611a2d5bde90d2b6d09f
diff --git a/dev-ruby/railties/railties-6.1.2.1-r1.ebuild b/dev-ruby/railties/railties-6.1.2.1-r1.ebuild
new file mode 100644
index 000000000000..47607fc99d82
--- /dev/null
+++ b/dev-ruby/railties/railties-6.1.2.1-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test:regular"
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
+
+RUBY_FAKEGEM_BINDIR="exe"
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+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="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~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.24"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ ~dev-ruby/actionpack-${PV}
+ dev-ruby/thor:1
+ >=dev-ruby/rake-0.8.7
+ dev-ruby/method_source
+"
+
+ruby_add_bdepend "
+ test? (
+ ~dev-ruby/actionview-${PV}
+ dev-ruby/mocha:0.14
+ )"
+
+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
+}
+
+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
+}