1 |
commit: c24d574d7a5edb11169fa7b84e7e287c3b834cfc |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 26 05:16:01 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 26 05:41:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24d574d |
7 |
|
8 |
dev-ruby/minitest-around: import 0.5.0 from graaff overlay |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/minitest-around/Manifest | 1 + |
14 |
dev-ruby/minitest-around/metadata.xml | 11 +++++++ |
15 |
.../minitest-around/minitest-around-0.5.0.ebuild | 34 ++++++++++++++++++++++ |
16 |
3 files changed, 46 insertions(+) |
17 |
|
18 |
diff --git a/dev-ruby/minitest-around/Manifest b/dev-ruby/minitest-around/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..b2daff26380 |
21 |
--- /dev/null |
22 |
+++ b/dev-ruby/minitest-around/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST minitest-around-0.5.0.gem 11776 BLAKE2B 1b1bacc229252e41412380d95e50ad05f918c13d37e7939f96fa19e4254c7f5222482d0f080355e5a900ff8ef89f768cc527c9b1c2644817e4d46842cbf83140 SHA512 8e57d436d39a41c5a08df6006a5cd46f92550844f01f9b6662918b9ba9536b74f6c83fcaea64180c7e025a1a14d4e037e1b17b84ae395a2b745e58f21ba5c752 |
25 |
|
26 |
diff --git a/dev-ruby/minitest-around/metadata.xml b/dev-ruby/minitest-around/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000000..4cbe1280bf7 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/minitest-around/metadata.xml |
31 |
@@ -0,0 +1,11 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="project"> |
36 |
+ <email>ruby@g.o</email> |
37 |
+ <name>Gentoo Ruby Project</name> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <remote-id type="github">splattael/minitest-around</remote-id> |
41 |
+ </upstream> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/dev-ruby/minitest-around/minitest-around-0.5.0.ebuild b/dev-ruby/minitest-around/minitest-around-0.5.0.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..286620470fb |
47 |
--- /dev/null |
48 |
+++ b/dev-ruby/minitest-around/minitest-around-0.5.0.ebuild |
49 |
@@ -0,0 +1,34 @@ |
50 |
+# Copyright 1999-2019 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=6 |
54 |
+USE_RUBY="ruby24 ruby25 ruby26" |
55 |
+ |
56 |
+RUBY_FAKEGEM_TASK_DOC="" |
57 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
58 |
+ |
59 |
+inherit ruby-fakegem |
60 |
+ |
61 |
+DESCRIPTION="Alternative for setup/teardown dance" |
62 |
+HOMEPAGE="https://github.com/splattael/minitest-around" |
63 |
+ |
64 |
+LICENSE="MIT" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64" |
67 |
+IUSE="" |
68 |
+ |
69 |
+ruby_add_rdepend "dev-ruby/minitest:5" |
70 |
+ |
71 |
+ruby_add_bdepend "test? ( dev-ruby/bundler dev-util/cucumber )" |
72 |
+ |
73 |
+all_ruby_prepare() { |
74 |
+ sed -i -e '/bump/ s:^:#:' \ |
75 |
+ -e '/ls-files/d' \ |
76 |
+ -e '/cucumber/ s/,.*$//' minitest-around.gemspec Rakefile || die |
77 |
+} |
78 |
+ |
79 |
+each_ruby_test() { |
80 |
+ for f in test/*_{test,spec}.rb ; do |
81 |
+ ${RUBY} -S rake test:isolated TEST="${f}" || die |
82 |
+ done |
83 |
+} |