30 lines
744 B
Bash
30 lines
744 B
Bash
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/state_machine/state_machine-1.2.0.ebuild,v 1.1 2013/06/13 05:28:46 graaff Exp $
|
||
|
|
||
|
EAPI=4
|
||
|
USE_RUBY="ruby18 ruby19 jruby"
|
||
|
|
||
|
RUBY_FAKEGEM_TASK_TEST="test"
|
||
|
RUBY_FAKEGEM_TASK_DOC=""
|
||
|
|
||
|
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||
|
|
||
|
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||
|
|
||
|
inherit ruby-fakegem
|
||
|
|
||
|
DESCRIPTION="Adds support for creating state machines for attributes on any Ruby class"
|
||
|
HOMEPAGE="http://www.pluginaweek.org"
|
||
|
IUSE="test"
|
||
|
SLOT="0"
|
||
|
|
||
|
LICENSE="MIT"
|
||
|
KEYWORDS="~amd64"
|
||
|
|
||
|
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
|
||
|
|
||
|
each_ruby_test() {
|
||
|
ruby-ng_testrb-2 -Ilib test/{unit,functional}/*_test.rb
|
||
|
}
|