mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
29 lines
774 B
Bash
29 lines
774 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
|
|
|
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 ~sparc ~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
|
|
|
|
sed -i -e '2irequire "forwardable"' test/helper.rb || die
|
|
}
|