summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-24 11:57:03 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-24 13:46:09 +0100
commit44114902153aa9af84500e3dacebb830369657f5 (patch)
tree16284807113c336da32936679c3e671968947ac1 /dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild
parentdev-ruby/erubis: all arches stable (diff)
downloadgentoo-44114902153aa9af84500e3dacebb830369657f5.tar.gz
gentoo-44114902153aa9af84500e3dacebb830369657f5.tar.bz2
gentoo-44114902153aa9af84500e3dacebb830369657f5.zip
dev-ruby/childlabor: EAPI 8
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild')
-rw-r--r--dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild
new file mode 100644
index 000000000000..1f85f3021ea9
--- /dev/null
+++ b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="childlabor.gemspec"
+
+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="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~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
+}