summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-07-07 07:36:14 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-07 08:29:18 +0200
commitd8c1f28708a2f8c11dd99b52d07b130913041b8f (patch)
tree60a9143a2ef73e3c07ac5b0a484d0030d28dbf9a
parentwww-apps/nanoc-core: add 4.11.6 (diff)
downloadgentoo-d8c1f28708a2f8c11dd99b52d07b130913041b8f.tar.gz
gentoo-d8c1f28708a2f8c11dd99b52d07b130913041b8f.tar.bz2
gentoo-d8c1f28708a2f8c11dd99b52d07b130913041b8f.zip
dev-ruby/minitest-power_assert: initial import of 0.3.0
Test dependency for dev-ruby/rouge. Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
-rw-r--r--dev-ruby/minitest-power_assert/Manifest1
-rw-r--r--dev-ruby/minitest-power_assert/metadata.xml11
-rw-r--r--dev-ruby/minitest-power_assert/minitest-power_assert-0.3.0.ebuild34
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/minitest-power_assert/Manifest b/dev-ruby/minitest-power_assert/Manifest
new file mode 100644
index 000000000000..2726f6fd06fe
--- /dev/null
+++ b/dev-ruby/minitest-power_assert/Manifest
@@ -0,0 +1 @@
+DIST minitest-power_assert-0.3.0.gem 8192 BLAKE2B 063bb33a29abc72ebc5a0efeed83b0ffe02864f41d25adc59d7e923469f3b690f5cbbca462107036d5678236c17c697215dd51ad1f0823ece428dd52e0b18e80 SHA512 570c54960682b33f27cc6046177142ea76a8910d9b977788e96594c1b746b642e13a4e4f824722d15f7dbe61e3c08784ea6266ab03031e54343940ee4c75e560
diff --git a/dev-ruby/minitest-power_assert/metadata.xml b/dev-ruby/minitest-power_assert/metadata.xml
new file mode 100644
index 000000000000..e221b61da84d
--- /dev/null
+++ b/dev-ruby/minitest-power_assert/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">hsbt/minitest-power_assert</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.0.ebuild b/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.0.ebuild
new file mode 100644
index 000000000000..7e1acbfd5439
--- /dev/null
+++ b/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Power Assert for Minitest"
+HOMEPAGE="https://github.com/hsbt/minitest-power_assert"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ dev-ruby/minitest:*
+ >=dev-ruby/power_assert-1.1
+"
+
+# ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/minitest-pretty_diff )"
+
+# all_ruby_prepare() {
+# sed -i -e '/\(bisect\|focus\|moar\)/ s:^:#:' test/minitest_config.rb || die
+# }
+
+# each_ruby_test() {
+# ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+# }