summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-10-11 07:27:16 +0200
committerHans de Graaff <graaff@gentoo.org>2023-10-11 07:37:47 +0200
commit4384146c341ae8d3b7a4a0dab01aba6fd830a542 (patch)
tree49a99198c84c623b7981a2dea6c4007fe203c1a1 /dev-ruby/regexp_parser
parentdev-ruby/loofah: add 2.21.4 (diff)
downloadgentoo-4384146c341ae8d3b7a4a0dab01aba6fd830a542.tar.gz
gentoo-4384146c341ae8d3b7a4a0dab01aba6fd830a542.tar.bz2
gentoo-4384146c341ae8d3b7a4a0dab01aba6fd830a542.zip
dev-ruby/regexp_parser: add 2.8.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/regexp_parser')
-rw-r--r--dev-ruby/regexp_parser/Manifest1
-rw-r--r--dev-ruby/regexp_parser/regexp_parser-2.8.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest
index 2e5d529aab01..75798b07bf31 100644
--- a/dev-ruby/regexp_parser/Manifest
+++ b/dev-ruby/regexp_parser/Manifest
@@ -1,2 +1,3 @@
DIST regexp_parser-2.7.0.tar.gz 97494 BLAKE2B 676829775c73939f981758ce36b8ad40bf94ba91a75514a6446730abe256fb47877455f973ded2b5a5e6b92ce8adf46e4553231fc8d21579fd08a4acd7273e28 SHA512 850cdc4c1f51e14f7cd704900ded9e82f827a9a26c979113e17bd316bd6a21038fa4f23b3791c6a50b9a675a8524f21504526e40da14fe74baae566d267b9d7c
DIST regexp_parser-2.8.1.tar.gz 102383 BLAKE2B a23df1637f40e1184476bc5511f5e87fba7a3ce398cc725b9a8b2b13fc10dc75a232c62fe7304969334ff4e3dd88a47f47fa6c2749bd3ca09b3036a0c53836fc SHA512 161a3922eef18f7c91a095dcff436c22d090c779bec89407a4bea4a051f0baf76e7f1639f2b534cbf62d9fec9e577170489e8fb961263458960ca45adcd97eee
+DIST regexp_parser-2.8.2.tar.gz 102450 BLAKE2B ff932e91dfa01226e4b528f5d4bd9aeb42a04f52fe067879d54c05bbdad8dd26ab442e64e9f439d0466a4654057805f0073463f7498929205030eed940bf9afd SHA512 78a76fe3d049e840f8539ad013c682c58f6cac11305579a8e11601f20d4cd7f6a4de86e4da16109b6f95fd86c084ddf02ed67e6fe706fb8f023ec535c0944e30
diff --git a/dev-ruby/regexp_parser/regexp_parser-2.8.2.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.8.2.ebuild
new file mode 100644
index 000000000000..d15b440fc543
--- /dev/null
+++ b/dev-ruby/regexp_parser/regexp_parser-2.8.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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"
+IUSE=""
+
+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
+}