From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/racc/
Date: Wed, 31 Jul 2024 06:03:20 +0000 (UTC) [thread overview]
Message-ID: <1722405781.afc0a14c872db0e99399642b85048985b8847c3a.graaff@gentoo> (raw)
commit: afc0a14c872db0e99399642b85048985b8847c3a
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 05:34:16 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 06:03:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc0a14c
dev-ruby/racc: add 1.8.1
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/racc/Manifest | 1 +
dev-ruby/racc/racc-1.8.1.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/dev-ruby/racc/Manifest b/dev-ruby/racc/Manifest
index 78ce1773bdaf..1aa03a9458e9 100644
--- a/dev-ruby/racc/Manifest
+++ b/dev-ruby/racc/Manifest
@@ -1,2 +1,3 @@
DIST racc-1.7.3.tar.gz 455515 BLAKE2B c2eea87b804ae8675ff253682c1720b006d1edd7c08b2f34dfb731f787aede88175f478c8afdd7d6c28fb1f59d6ec460a1d365e5c282d10c370b78f45c76f7a0 SHA512 8412c021d3fc7f25ccf3a61d56c11df0d8c0b09852d99cc314c8b4931f9c22939dc43ef599801de9a64a69acbd897fb6f215f56702634f2c8b6d69ae3bdfa2b3
DIST racc-1.8.0.tar.gz 456741 BLAKE2B 47c4ca1963f97af3eea1673c1d7bbc5ff24924750cb016f2b7239476f1c3dc932fb468677488c6a61edba9d4d4b563040bc2fd409d7a44d379de0a92bfa3fe25 SHA512 0bfdbe52371561ff83cf1f8670888914f6b89b4eab8f48138195c4e5b8d97176df8037fb7891ca1bb4f1a99e98ec78ea80157f5393694eea2ffb8aa40b92bb7a
+DIST racc-1.8.1.tar.gz 459259 BLAKE2B b518b1e63acbb5434e2e73afdbdc2f76785e3f1bf612e93a9dede166d3f7b42e695a80f1c982b4d393787ad7a9b825b36485552266024bda21af3827af479fa9 SHA512 69ba66d4cd324922bdace64c6475d3218f94483b08c9f3cfcba1e32f252b198f96d10aaa999b4c9cb3a9d41591710d6aa4b74137b2910b350d407f5ff77a849c
diff --git a/dev-ruby/racc/racc-1.8.1.ebuild b/dev-ruby/racc/racc-1.8.1.ebuild
new file mode 100644
index 000000000000..f340d892f19e
--- /dev/null
+++ b/dev-ruby/racc/racc-1.8.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog"
+
+RUBY_FAKEGEM_GEMSPEC="racc.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/racc/cparse/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/racc/cparse"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A LALR(1) parser generator for Ruby"
+HOMEPAGE="https://github.com/ruby/racc"
+SRC_URI="https://github.com/ruby/racc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend "virtual/ruby-ssl"
+
+ruby_add_bdepend "dev-ruby/rake
+ test? ( dev-ruby/minitest dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+ sed -i -e 's/, :isolate//' Rakefile || die
+ sed -e '/bundler/ s:^:#:' \
+ -e '/require.*rdoc/ s:^:#:' \
+ -e '/RDoc/,/^end/ s:^:#:' \
+ -i Rakefile || die
+
+ # Avoid depending on rake-compiler since we don't use it to compile
+ # the extension.
+ sed -i -e '/rake-compiler/ s:^:#:' -e '/require.*extensiontask/ s:^:#:' Rakefile || die
+ sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile || die
+
+ # ...which means we need to generate the parser file here
+ for ruby in $(ruby_get_use_implementations) ; do
+ if has_version -b "virtual/rubygems[ruby_targets_${ruby}(-)]" &&
+ has_version -b "dev-ruby/rake[ruby_targets_${ruby}(-)]" ; then
+ ${ruby} -S rake lib/racc/parser-text.rb || die
+ break
+ fi
+ done
+
+ sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ dodoc -r doc
+
+ docinto examples
+ dodoc -r sample
+}
next reply other threads:[~2024-07-31 6:03 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 6:03 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-11 9:56 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/racc/ Arthur Zamarin
2024-10-10 12:20 Arthur Zamarin
2024-10-09 2:53 Jakov Smolić
2024-10-06 18:39 Arthur Zamarin
2024-10-06 14:27 Sam James
2024-10-06 13:30 Arthur Zamarin
2024-10-06 11:18 Sam James
2024-07-17 4:38 Viorel Munteanu
2024-07-11 16:19 Hans de Graaff
2024-05-25 17:31 Arthur Zamarin
2024-05-20 8:17 Sam James
2024-05-20 8:17 Sam James
2024-05-20 8:17 Sam James
2024-05-20 8:17 Sam James
2024-05-20 8:17 Sam James
2024-05-20 8:17 Sam James
2024-05-20 7:07 Hans de Graaff
2024-05-20 7:07 Hans de Graaff
2023-12-16 7:58 Hans de Graaff
2023-10-12 5:19 Hans de Graaff
2023-10-12 5:19 Hans de Graaff
2023-08-04 23:15 Sam James
2023-08-02 4:27 Sam James
2023-07-24 8:54 Jakov Smolić
2023-06-08 16:17 Hans de Graaff
2023-05-16 7:20 Sven Wegener
2023-04-10 9:04 Sam James
2023-03-29 0:11 Sam James
2023-03-28 22:13 Sam James
2023-03-28 22:12 Sam James
2023-03-28 21:53 Sam James
2023-03-28 21:51 Sam James
2023-03-28 21:44 Sam James
2023-03-28 21:44 Sam James
2023-03-04 10:25 Hans de Graaff
2022-12-24 15:00 Hans de Graaff
2022-12-24 15:00 Hans de Graaff
2022-12-18 12:45 Sam James
2022-12-11 6:27 Hans de Graaff
2022-12-04 17:56 Arthur Zamarin
2022-12-03 18:27 Arthur Zamarin
2022-12-03 15:12 Arthur Zamarin
2022-12-03 15:01 Arthur Zamarin
2022-12-03 10:55 Sam James
2022-12-03 10:54 Sam James
2022-12-03 10:54 Sam James
2022-12-03 9:14 Hans de Graaff
2022-04-23 5:14 Hans de Graaff
2022-03-12 7:21 Hans de Graaff
2021-08-07 9:58 Hans de Graaff
2021-08-06 13:34 Sam James
2021-08-03 23:37 Sam James
2021-07-30 15:17 Agostino Sarubbo
2021-07-30 15:14 Agostino Sarubbo
2021-07-21 10:27 Marek Szuba
2021-07-19 21:37 Sergei Trofimovich
2021-07-19 6:27 Agostino Sarubbo
2021-07-19 6:26 Agostino Sarubbo
2021-07-19 6:25 Agostino Sarubbo
2021-02-07 8:24 Hans de Graaff
2020-12-31 9:05 Hans de Graaff
2020-12-28 10:26 Hans de Graaff
2020-12-28 9:21 Hans de Graaff
2020-12-28 7:46 Hans de Graaff
2020-05-10 8:46 Hans de Graaff
2019-12-26 11:06 Hans de Graaff
2019-12-22 6:18 Hans de Graaff
2019-12-20 7:21 Hans de Graaff
2019-04-27 19:48 Aaron Bauman
2019-01-29 13:43 Mikle Kolyada
2018-12-26 8:20 Hans de Graaff
2018-04-13 8:04 Hans de Graaff
2018-04-08 22:11 Matt Turner
2018-03-21 1:38 Matt Turner
2018-03-18 19:59 Markus Meier
2018-03-14 21:29 Sergei Trofimovich
2018-03-14 8:03 Sergei Trofimovich
2018-02-18 11:28 Sergei Trofimovich
2018-02-15 21:48 Michał Górny
2018-01-23 23:01 Sergei Trofimovich
2018-01-21 20:30 Thomas Deutschmann
2018-01-21 15:47 Hans de Graaff
2017-12-25 17:02 Hans de Graaff
2017-06-28 9:35 Alexis Ballier
2017-05-09 19:20 Hans de Graaff
2017-05-09 19:20 Hans de Graaff
2017-03-01 13:05 Michael Weber
2016-12-26 19:17 Hans de Graaff
2016-12-09 6:59 Hans de Graaff
2016-04-16 21:22 Manuel Rüger
2015-12-27 9:22 Hans de Graaff
2015-11-25 6:21 Hans de Graaff
2015-10-17 5:47 Hans de Graaff
2015-10-03 8:35 Hans de Graaff
2015-08-24 5:03 Jeroen Roovers
2015-08-09 16:03 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1722405781.afc0a14c872db0e99399642b85048985b8847c3a.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox