1 |
commit: 6143a75b1b0ec63de0027723a541539e82826cb8 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 7 05:18:03 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 7 05:20:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6143a75b |
7 |
|
8 |
dev-ruby/treetop: add 1.6.11 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/treetop/Manifest | 1 + |
14 |
dev-ruby/treetop/treetop-1.6.11.ebuild | 38 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/treetop/Manifest b/dev-ruby/treetop/Manifest |
18 |
index 681eff4c9b6..abce6b20ab8 100644 |
19 |
--- a/dev-ruby/treetop/Manifest |
20 |
+++ b/dev-ruby/treetop/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST treetop-1.6.10.gem 92160 BLAKE2B ff3b6f0a92bcd2ad279c186e3a3eea72aa8243a89d4a1382df6322d73a19b79bede6c9f5c443644a5011b755a673bc9592f964cf61ab68fdd9f2da2dfcc0be94 SHA512 adff1cf93d1ea071be948437e3fd2800c2e892d1dac49d4571a89336773e012007abb1b4e15f0a86031077c46a6667f8fca8e22920e5c29186e0c3227b4d82ee |
23 |
+DIST treetop-1.6.11.tar.gz 103827 BLAKE2B ccc73373f2e44a95b872ae9f2f32f090363b218eb139d65a4e72c5595d99d5cc3ea7071527f0954aa6b63bc8d5562b0e932ecadec3de962269b3031d1f449b6c SHA512 649310b5c69bb963fc04a597d7aad6bb45deec34c3a46a193ee16203a07aff1d221732b6c7343d68fc772be44522db5f445a45e64bee5ac385ac2eb70abde14a |
24 |
|
25 |
diff --git a/dev-ruby/treetop/treetop-1.6.11.ebuild b/dev-ruby/treetop/treetop-1.6.11.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4a52889a417 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/treetop/treetop-1.6.11.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+USE_RUBY="ruby25 ruby26" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+RUBY_FAKEGEM_TASK_DOC="" |
40 |
+RUBY_FAKEGEM_DOCDIR="doc" |
41 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="treetop.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="Treetop is a language for describing languages" |
48 |
+HOMEPAGE="https://github.com/cjheath/treetop" |
49 |
+SRC_URI="https://github.com/cjheath/treetop/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+LICENSE="Ruby" |
51 |
+ |
52 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
53 |
+SLOT="0" |
54 |
+IUSE="" |
55 |
+ |
56 |
+ruby_add_bdepend "test? ( >=dev-ruby/rr-1.0 dev-ruby/activesupport )" |
57 |
+ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1:0" |
58 |
+ |
59 |
+all_ruby_prepare() { |
60 |
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
61 |
+} |
62 |
+ |
63 |
+all_ruby_install() { |
64 |
+ all_fakegem_install |
65 |
+ |
66 |
+ insinto /usr/share/doc/${PF}/examples |
67 |
+ doins -r examples/* |
68 |
+} |