dev-ruby/globalid: add ruby24
authorHans de Graaff <graaff@gentoo.org>
Sun, 2 Jul 2017 05:37:00 +0000 (07:37 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 2 Jul 2017 05:41:34 +0000 (07:41 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-ruby/globalid/globalid-0.4.0-r1.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/globalid/globalid-0.4.0-r1.ebuild b/dev-ruby/globalid/globalid-0.4.0-r1.ebuild
new file mode 100644 (file)
index 0000000..93864e5
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Reference models by URI"
+HOMEPAGE="https://github.com/rails/globalid"
+SRC_URI="https://github.com/rails/globalid/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~amd64-linux"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/activemodel-4.2.0 >=dev-ruby/railties-4.2.0 )"
+ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*"
+
+all_ruby_prepare() {
+       rm -f Gemfile.lock || die
+}