summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-30 08:41:25 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-30 08:41:52 +0100
commit72230a03ec641dcb33a4f91109ee00106d4fcfd4 (patch)
tree515a021136fa621ccfacbb2ae7ff2864f6da3da4 /dev-ruby
parentdistutils-r1.eclass: Disable setuptools trove-classifier validation (diff)
downloadgentoo-72230a03ec641dcb33a4f91109ee00106d4fcfd4.tar.gz
gentoo-72230a03ec641dcb33a4f91109ee00106d4fcfd4.tar.bz2
gentoo-72230a03ec641dcb33a4f91109ee00106d4fcfd4.zip
dev-ruby/regexp_parser: add 2.9.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/regexp_parser/Manifest1
-rw-r--r--dev-ruby/regexp_parser/regexp_parser-2.9.3.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest
index 07081d72a4b9..b4710124d7fa 100644
--- a/dev-ruby/regexp_parser/Manifest
+++ b/dev-ruby/regexp_parser/Manifest
@@ -3,3 +3,4 @@ DIST regexp_parser-2.8.3.tar.gz 102631 BLAKE2B 667a1bfb5cb71d84868d851686cda5601
DIST regexp_parser-2.9.0.tar.gz 103509 BLAKE2B 722dec7d2d98ee2773b0c109195e20e154fbbd7c2b8fb737a35e85c138e3372407c36c9e488f199345acb84d20768a71ced7334aa76fb09ee329f83e088a301b SHA512 e6c1cb75f90e23e8c43d0c53a4aa185b0f4dcc2e02d6c4e334fd9e5aadb875cf79966934b4c7e3a13fe16f9b1fa069d39ef90b307da731eb634bed27d0a1ba4d
DIST regexp_parser-2.9.1.tar.gz 103571 BLAKE2B 01eddeefebaf6e1f35842c386d65296b5724aa21728f49d9f0f58ae5c6f7a1dfb590c4353705815c2642ef9c24bc13cba4119cfc41c703ffb9c999e562b48bd9 SHA512 d61dbdb36e138c4c4f9fdca235fc31ebb354b3fc015c5735e7e851339028b29d6890ded12642dfd2d7242b1508bf4906dc51af63147e1103eb70f6a6b1355abc
DIST regexp_parser-2.9.2.tar.gz 103627 BLAKE2B 42ec7d1d7d863c476555d622263ca9f89f9046252fec3c9d2032205e9efe97aadb0257a0728932c565fe14e79af4f408c776e9646ca9b28ccb556077d1efa802 SHA512 153dd9d264ae39259c8d4689d4065861bf5b0a93f243205865c272b0654dbf26cab7f3e7d44e3ec6a7baa2669a21964109ed8dc7cb0f6c69335c646c72c79efc
+DIST regexp_parser-2.9.3.tar.gz 103753 BLAKE2B c7879dab3bdc932e33e0dba40ad77245229fa177610cab220492292861bff0fb3bb5d57e23d846c9504c41f62050b3cbab688df34a48d1b0b95e855326eb1277 SHA512 fd524e82547eb772be481e18c29e5e7cb4272e720b1ad137a03423ce7d25b1f8ee5b41576d18c45dfc1b64656d927ce2075fd33127ed5fe8ad6d0b6ef5bfd2b9
diff --git a/dev-ruby/regexp_parser/regexp_parser-2.9.3.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.9.3.ebuild
new file mode 100644
index 000000000000..24715aaf7a43
--- /dev/null
+++ b/dev-ruby/regexp_parser/regexp_parser-2.9.3.ebuild
@@ -0,0 +1,35 @@
+# 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_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="regexp_parser.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions"
+HOMEPAGE="https://github.com/ammar/regexp_parser"
+SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+DEPEND+=" =dev-util/ragel-6*"
+
+ruby_add_bdepend "dev-ruby/rake dev-ruby/rspec:3
+ test? ( dev-ruby/leto:2 dev-ruby/regexp_property_values dev-ruby/rspec:3 )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/I s:^:#:' Rakefile || die
+}
+
+each_ruby_compile() {
+ CI=true ${RUBY} -S rake ragel:rb || die
+}