summaryrefslogtreecommitdiff
path: root/dev-ruby/treetop
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/treetop')
-rw-r--r--dev-ruby/treetop/Manifest1
-rw-r--r--dev-ruby/treetop/treetop-1.6.11-r1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/treetop/Manifest b/dev-ruby/treetop/Manifest
index 4ea0ffcf07db..bf88342c7967 100644
--- a/dev-ruby/treetop/Manifest
+++ b/dev-ruby/treetop/Manifest
@@ -1,3 +1,4 @@
DIST treetop-1.6.11.tar.gz 103827 BLAKE2B ccc73373f2e44a95b872ae9f2f32f090363b218eb139d65a4e72c5595d99d5cc3ea7071527f0954aa6b63bc8d5562b0e932ecadec3de962269b3031d1f449b6c SHA512 649310b5c69bb963fc04a597d7aad6bb45deec34c3a46a193ee16203a07aff1d221732b6c7343d68fc772be44522db5f445a45e64bee5ac385ac2eb70abde14a
+EBUILD treetop-1.6.11-r1.ebuild 974 BLAKE2B 0a6674968e95072fcd26b07c9de02a5cb9b3082f91d8d0ffd9f0e49f4386381d19632e088a70defb4a1efb434caf06c23ca96028244c6c28eb9da138008ff634 SHA512 2fa2205b8c8f2e1b7c2e73da74b47c0c3705ff01590ba7580c222ce6f8f40c77b3a749e3687d40edf61ab242a9d572f21ea1c54b321598cbdbe95d0a8f85d34d
EBUILD treetop-1.6.11.ebuild 974 BLAKE2B be28dc63487a4cb059e5368a8dcc395bdd0e2e22de196a1b5adf50abd0c8d0ab41b905f1518b35916c2e8e7c8190405fce8d6831d6f4686cf403bfc2bb14c096 SHA512 a23906d84f6c7c892717223e7a3e66eba712e1c50c7f07ce6b01e0a339ed0514fb4e06bab1e915d0034752191c5e2cbb53d11ee1f81c8e257172e9d26794b6a9
MISC metadata.xml 342 BLAKE2B ed50be281e510f8067c9eb56e3fa25137604148fc85d33b985960bac2e448d6ed9284346380916ea570fe7ce68cb3937c25ebdd73b5b53234baddd45daaccc84 SHA512 240a97d8d731d3a1d6939a32d3f92b9af48773c8a70049f2a6247405db316bd9cb788026c8e1265def0efe36fd13ebb2e4a9e7499da4606fd34ce773b8bcf086
diff --git a/dev-ruby/treetop/treetop-1.6.11-r1.ebuild b/dev-ruby/treetop/treetop-1.6.11-r1.ebuild
new file mode 100644
index 000000000000..4eb6fb5a2f01
--- /dev/null
+++ b/dev-ruby/treetop/treetop-1.6.11-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="treetop.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Treetop is a language for describing languages"
+HOMEPAGE="https://github.com/cjheath/treetop"
+SRC_URI="https://github.com/cjheath/treetop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Ruby"
+
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/rr-1.0 dev-ruby/activesupport )"
+ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1:0"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ dodoc -r examples
+}