pentoo-overlay/dev-ruby/dm-validations/dm-validations-1.2.0.ebuild
2020-02-16 12:06:53 +08:00

31 lines
747 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_TASK_DOC="yard"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
RUBY_FAKEGEM_TASK_TEST="spec"
inherit ruby-fakegem
DESCRIPTION="DataMapper plugin for writing and specing migrations"
HOMEPAGE="https://github.com/datamapper/dm-validations"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Tests fail with load errors, possibly due to unfulfilled
# dependencies. Needs ot be investigated before moved to main tree.
RESTRICT="test"
#ruby_add_bdepend "doc? ( dev-ruby/yard )"
#ruby_add_bdepend "test? ( dev-ruby/rspec )"
ruby_add_rdepend ">=dev-ruby/dm-core-1.2.0"