summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-01-12 08:21:07 +0100
committerHans de Graaff <graaff@gentoo.org>2019-01-12 08:21:07 +0100
commitb59ac57f29d7b507c2de2ca1f9dcc7c3457ab7c8 (patch)
treea5f94f9cbacd248025d103d3295386302b67bf55 /dev-ruby/globalid/globalid-0.4.2.ebuild
parentdev-perl/B-Debug: Keyword ~arm64 (diff)
downloadgentoo-b59ac57f29d7b507c2de2ca1f9dcc7c3457ab7c8.tar.gz
gentoo-b59ac57f29d7b507c2de2ca1f9dcc7c3457ab7c8.tar.bz2
gentoo-b59ac57f29d7b507c2de2ca1f9dcc7c3457ab7c8.zip
dev-ruby/globalid: add 0.4.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/globalid/globalid-0.4.2.ebuild')
-rw-r--r--dev-ruby/globalid/globalid-0.4.2.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/globalid/globalid-0.4.2.ebuild b/dev-ruby/globalid/globalid-0.4.2.ebuild
new file mode 100644
index 000000000000..e4d0332567fa
--- /dev/null
+++ b/dev-ruby/globalid/globalid-0.4.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~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
+}