commit:     12fafaa4c9bed0d076a140ee89105f229861845b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 14 13:16:23 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Mar 14 13:17:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12fafaa4

dev-ruby/treetop: add 1.6.14

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/treetop/Manifest              |  1 +
 dev-ruby/treetop/treetop-1.6.14.ebuild | 37 ++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-ruby/treetop/Manifest b/dev-ruby/treetop/Manifest
index 1ea51b14530c..da43891e5270 100644
--- a/dev-ruby/treetop/Manifest
+++ b/dev-ruby/treetop/Manifest
@@ -1 +1,2 @@
 DIST treetop-1.6.12.tar.gz 104225 BLAKE2B 
c0748409d20231d075f7461ecc7b96922a100922a4db75265fd7f687d2212c020d24fbd3011459b48b8f786bff2c025579d5f0cacbc9c7d3694a5bf717cd9d35
 SHA512 
210a2225a83f10ce6d79f2eb4d5937e7fa805384767f4e2d1ca91fe8408436560ad062b8d6c69209651fdf304e6a850e14b9d0a509dc25fe13ab9225d2ca7bdc
+DIST treetop-1.6.14.tar.gz 104275 BLAKE2B 
9e5fc89e3de423cf572c24c5dccc25a869659b2afe4f9d53aaa0f6bfb0d7a761c19ae1522534a6715565ca3623a400214ef8f6da28aa0a42f34e371d8c976e55
 SHA512 
1a665f8adad353cad54af7774199f01b9b1208ca0094d9f06e9165db0deebdbb2c96ffd7212ee6e8e91b42f1585918efbb458d681b84c3410117a947e18edef5

diff --git a/dev-ruby/treetop/treetop-1.6.14.ebuild 
b/dev-ruby/treetop/treetop-1.6.14.ebuild
new file mode 100644
index 000000000000..cffde203c737
--- /dev/null
+++ b/dev-ruby/treetop/treetop-1.6.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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="MIT"
+
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-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
+}

Reply via email to