1 |
commit: cb0280b53d3f6d3ddccf9d9386eeef528c48e50f |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 19:58:38 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 19:58:38 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=cb0280b5 |
7 |
|
8 |
dev-ruby/minitest-around: Initial version. Based on version from graaff overlay |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/minitest-around/Manifest | 1 + |
13 |
dev-ruby/minitest-around/metadata.xml | 8 +++++++ |
14 |
.../minitest-around/minitest-around-0.3.2.ebuild | 28 ++++++++++++++++++++++ |
15 |
3 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/minitest-around/Manifest b/dev-ruby/minitest-around/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..6f01074 |
20 |
--- /dev/null |
21 |
+++ b/dev-ruby/minitest-around/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST minitest-around-0.3.2.gem 11776 SHA256 d8f02084bcea9bef6020ad3e2250581885de7ce669eb76c744dd5740cd622697 SHA512 545e7064f2e3341bba28d7c15016e6d0a5a0936e8cfbe5d7efb35fc139f9f68f8a3e9ea56db113ba3d29f4b0e1d7c11ae58ee7aabd59f232568bc45e7115f16b WHIRLPOOL 7d05fb949865801c977b1b99bad10946a26cdc6d7362e875a4456692f5cf2eccbafb9a95bc4a97c2fbb464feed5f3a5f16c100fd9d4eba056ab0e270db1126b3 |
24 |
|
25 |
diff --git a/dev-ruby/minitest-around/metadata.xml b/dev-ruby/minitest-around/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..bfcb697 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/minitest-around/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer> |
35 |
+ <email>mrueg@g.o</email> |
36 |
+ <name>Manuel Rüger</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-ruby/minitest-around/minitest-around-0.3.2.ebuild b/dev-ruby/minitest-around/minitest-around-0.3.2.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..5baee86 |
43 |
--- /dev/null |
44 |
+++ b/dev-ruby/minitest-around/minitest-around-0.3.2.ebuild |
45 |
@@ -0,0 +1,28 @@ |
46 |
+# Copyright 1999-2016 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Id$ |
49 |
+ |
50 |
+EAPI=5 |
51 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
52 |
+ |
53 |
+RUBY_FAKEGEM_TASK_DOC="" |
54 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
55 |
+ |
56 |
+inherit ruby-fakegem |
57 |
+ |
58 |
+DESCRIPTION="Alternative for setup/teardown dance" |
59 |
+HOMEPAGE="https://github.com/splattael/minitest-around" |
60 |
+ |
61 |
+LICENSE="MIT" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64" |
64 |
+IUSE="" |
65 |
+ |
66 |
+ruby_add_rdepend "dev-ruby/minitest:5" |
67 |
+ |
68 |
+all_ruby_prepare() { |
69 |
+ sed -i -e '/bump/ s:^:#:' -e '/ls-files/d' minitest-around.gemspec Rakefile || die |
70 |
+ sed -i -e "/bundler/d" Rakefile test/helper.rb || die |
71 |
+ sed -i -e "s/\"bundle\", \"exec\", //" -e "/cucumber/d" -e "/Cucumber/,+15d" Rakefile || die |
72 |
+ sed -i -e "/spawn_test(code)/,+10d" -e "/describe \"fail\"/,+13d" test/around_spec.rb || die |
73 |
+} |