From df63a440a4537737eb05af2c5406c0989e58ed47 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 1 Mar 2017 07:25:53 +0100 Subject: [PATCH] app-eselect/eselect-rails: add version with Rails 5.1 support Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- app-eselect/eselect-rails/Manifest | 1 + .../eselect-rails/eselect-rails-0.23.ebuild | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 app-eselect/eselect-rails/eselect-rails-0.23.ebuild diff --git a/app-eselect/eselect-rails/Manifest b/app-eselect/eselect-rails/Manifest index 8be01cab5d83..ce5e0930a27f 100644 --- a/app-eselect/eselect-rails/Manifest +++ b/app-eselect/eselect-rails/Manifest @@ -1,2 +1,3 @@ DIST eselect-rails-0.21.tar.xz 1592 SHA256 28def0916dbcf94290adf877a962595748a9501d659adb66534ebb8495c8c59f SHA512 8d72d1abdb0bf767a71a518ff390dcd676fc05a35652d6a727d2d5f2029f26d2df8e56da3c4e611267d92505cc9217da0a53712bcaabff03f0f2422e1c9d9658 WHIRLPOOL 7dd89b8bf3daffa09cc150a8db1c3fc8e117f577e7a8fdfb7c6f1bf92d14f298aff63cce2b1f3bf029cbc2c6a115c3ad90bafbd456f31463b49dce5d0f4242b4 DIST eselect-rails-0.22.tar.xz 1596 SHA256 043f3065dbfbaec24af1b06c5e4fa57aa642e02b7ef40460fd2b3a7176e9e1bb SHA512 ff563520c68352d529f213f5a63cfac9acf4bda2ef0fe01626636669718997be8f4b749c98de1746b8b22cf45fc43042bfc485e1e8998175d8a15b9048a81cc5 WHIRLPOOL ddd83510cbde3d1c7f5c36e371786b25afcca39f52b2889fdcbc03db9ec90726b59efb0418b38d5e72faf7064988405501e19cb19ca4f97df74b57d02638cbca +DIST eselect-rails-0.23.tar.xz 1596 SHA256 53f2bb92bb87cb41d789a3999aff93b0ff605ebd64e1b2f113c7d355fb9c27d5 SHA512 34a2d8a2b613eb3a3e20515fdf916c4b7e862322816d78a32a9243fcc56bea1c154892df7f27eb5e640560b1e63b273b02807669155184ad28f085d2f84dd3b8 WHIRLPOOL ef0eb6bf5f3b5f8cbf3fdf422dec823fb5a17f28170b2effade1fdfd2d65f4176cb220261b91f8b9534f9a0e2adc61ab8569d34c1c2a2e06e846f4ae7522c73e diff --git a/app-eselect/eselect-rails/eselect-rails-0.23.ebuild b/app-eselect/eselect-rails/eselect-rails-0.23.ebuild new file mode 100644 index 000000000000..1499c810b92c --- /dev/null +++ b/app-eselect/eselect-rails/eselect-rails-0.23.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages Ruby on Rails symlinks" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.0" + +S=${WORKDIR} + +src_prepare() { + default + + # Fix/Add Prefix support + sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die +} + +src_install() { + insinto /usr/share/eselect/modules + doins *.eselect || die "doins failed" +} -- 2.26.2