commit:     a332ed6be19bfac3d06b275c378479661743b5ee
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 12 06:18:14 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 06:18:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a332ed6b

dev-ruby/regexp_property_values: add 1.4.0

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

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

diff --git a/dev-ruby/regexp_property_values/Manifest 
b/dev-ruby/regexp_property_values/Manifest
index 8c3d0500804e..0b0b4289b192 100644
--- a/dev-ruby/regexp_property_values/Manifest
+++ b/dev-ruby/regexp_property_values/Manifest
@@ -1 +1,2 @@
 DIST regexp_property_values-1.3.0.tar.gz 13626 BLAKE2B 
795446b5a51ef59085b73b38211b67b8eadcc51d3707fc69a78e7540fabab0cf1bcf49ce2358c5273006939fe722538f7e4eb02f3f47b1b8de49d232496a1ec1
 SHA512 
d5195e2e898478696527e266b05b39704aa55cf8d46d6dfe76985064484e5bdbb5c362552a960f6347a00efaed46eaaa0bcef9daf869fd476aea959a035dd98f
+DIST regexp_property_values-1.4.0.tar.gz 13719 BLAKE2B 
e0569e5387d5186829e40a8fdeec1fbd8534356ec73cce5525b6259938534fe8d1e3a15664faa7903a93e5a7330e6cbc6281b79be74cd4d1b13865084e1f42a4
 SHA512 
f8b425f001f4b9f6b373d9b47d7b87baf369719c2ae1385d68932f31d0a392086d3ed8b48461cbf59568668722975a98935c56fa470ce7ba466c29a30442bf6e

diff --git 
a/dev-ruby/regexp_property_values/regexp_property_values-1.4.0.ebuild 
b/dev-ruby/regexp_property_values/regexp_property_values-1.4.0.ebuild
new file mode 100644
index 000000000000..b719cff38731
--- /dev/null
+++ b/dev-ruby/regexp_property_values/regexp_property_values-1.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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"
+IUSE=""
+
+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