1 |
commit: 08521d258fe1bcd5bebd9b079485ba2ae556304b |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 24 06:31:47 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 06:37:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08521d25 |
7 |
|
8 |
dev-ruby/stamp: EAPI 8 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/stamp/stamp-0.6.0-r1.ebuild | 41 ++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/stamp/stamp-0.6.0-r1.ebuild b/dev-ruby/stamp/stamp-0.6.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..57d0cf49d992 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/stamp/stamp-0.6.0-r1.ebuild |
21 |
@@ -0,0 +1,41 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+USE_RUBY="ruby26 ruby27" |
28 |
+ |
29 |
+RUBY_FAKEGEM_RECIPE_TEST="cucumber" |
30 |
+RUBY_FAKEGEM_TASK_DOC="" |
31 |
+ |
32 |
+RUBY_FAKEGEM_RECIPE_DOC="yard" |
33 |
+RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" |
34 |
+RUBY_FAKEGEM_DOCDIR="doc" |
35 |
+ |
36 |
+RUBY_FAKEGEM_GEMSPEC="stamp.gemspec" |
37 |
+ |
38 |
+inherit ruby-fakegem |
39 |
+ |
40 |
+DESCRIPTION="Date and time formatting for humans" |
41 |
+HOMEPAGE="https://github.com/jeremyw/stamp" |
42 |
+SRC_URI="https://github.com/jeremyw/stamp/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="doc" |
48 |
+ |
49 |
+DEPEND="" |
50 |
+RDEPEND="" |
51 |
+ |
52 |
+ruby_add_bdepend "doc? ( dev-ruby/redcarpet )" |
53 |
+ |
54 |
+all_ruby_prepare() { |
55 |
+ sed -i -e '/bundler/d' Rakefile || die "sed failed" |
56 |
+ sed -i -e '/bundler/,+7d' features/support/env.rb || die "sed failed" |
57 |
+ |
58 |
+ # Remove obsolete and unneeded cucumber settings |
59 |
+ rm -f cucumber.yml || die |
60 |
+ |
61 |
+ sed -i -e 's/git ls-files --/find/; s/git ls-files/find */' ${RUBY_FAKEGEM_GEMSPEC} || die |
62 |
+} |