diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild')
-rw-r--r-- | dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild b/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild new file mode 100644 index 000000000000..43443b66195a --- /dev/null +++ b/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A scripting framework that replaces rake and sake" +HOMEPAGE="https://github.com/carllerche/childlabor" +COMMIT_ID="6518b939dddbad20c7f05aa075d76e3ca6e70447" +SRC_URI="https://github.com/carllerche/childlabor/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="test" + +RUBY_S="${PN}-${COMMIT_ID}" + +ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" + +all_ruby_prepare() { + # Avoid failing spec. The signals work, but the stdout handling + # doesn't seem to play nice with portage. + sed -i -e '/can send signals/,/^ end/ s:^:#:' spec/task_spec.rb || die +} + +each_ruby_test() { + ruby-ng_rspec -I. spec/task_spec.rb || die +} |