commit:     7f88f684566221940c9e7fad58dc897ec1fc27de
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 07:19:31 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 07:19:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f88f684

dev-ruby/regexp_property_values: add 1.5.1

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

 dev-ruby/regexp_property_values/Manifest           |  1 +
 .../regexp_property_values-1.5.1.ebuild            | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-ruby/regexp_property_values/Manifest 
b/dev-ruby/regexp_property_values/Manifest
index da7638e427fd..f4fb3307ca6c 100644
--- a/dev-ruby/regexp_property_values/Manifest
+++ b/dev-ruby/regexp_property_values/Manifest
@@ -1 +1,2 @@
 DIST regexp_property_values-1.4.0.tar.gz 13719 BLAKE2B 
e0569e5387d5186829e40a8fdeec1fbd8534356ec73cce5525b6259938534fe8d1e3a15664faa7903a93e5a7330e6cbc6281b79be74cd4d1b13865084e1f42a4
 SHA512 
f8b425f001f4b9f6b373d9b47d7b87baf369719c2ae1385d68932f31d0a392086d3ed8b48461cbf59568668722975a98935c56fa470ce7ba466c29a30442bf6e
+DIST regexp_property_values-1.5.1.tar.gz 13901 BLAKE2B 
32236b67ff4fc932fc30638a8fc85745d2c74445d4009c06de94652b82238599dd90e73d9ebd63690604fd1c3d413cddba3290a732150726126dcd3361f5eb47
 SHA512 
0787105195c22cfb499d37e5a2adb7ca52d23d291280ed9b5dcc38e6b03d260e341bdf56ba1bf643cc6cdf9436fe2287e5f139cdbd11cf4c71da256767f75754

diff --git 
a/dev-ruby/regexp_property_values/regexp_property_values-1.5.1.ebuild 
b/dev-ruby/regexp_property_values/regexp_property_values-1.5.1.ebuild
new file mode 100644
index 000000000000..dd0be2885d42
--- /dev/null
+++ b/dev-ruby/regexp_property_values/regexp_property_values-1.5.1.ebuild
@@ -0,0 +1,36 @@
+# 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="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/regexp_property_values/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/regexp_property_values"
+
+inherit ruby-fakegem
+
+DESCRIPTION="See which property values are supported by the regular expression 
engine"
+HOMEPAGE="https://github.com/jaynetics/regexp_property_values";
+SRC_URI="https://github.com/jaynetics/regexp_property_values/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+all_ruby_prepare() {
+       sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+       sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+
+       # Avoid dependency on character_set which would lead to circular
+       # dependencies.
+       sed -e '/returns a CharacterSet/askip "gentoo circular dependencies"' \
+               -i spec/regexp_property_values/value_spec.rb || die
+}

Reply via email to