Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/regexp_property_values/
Date: Fri, 08 Apr 2022 09:15:48
Message-Id: 1649409338.4e0c85b200ac230d7a0cebbd10c9dd33611cd0e2.graaff@gentoo
1 commit: 4e0c85b200ac230d7a0cebbd10c9dd33611cd0e2
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 8 05:33:43 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 09:15:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0c85b2
7
8 dev-ruby/regexp_property_values: add 1.3.0
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/regexp_property_values/Manifest | 1 +
13 .../regexp_property_values-1.3.0.ebuild | 36 ++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-ruby/regexp_property_values/Manifest b/dev-ruby/regexp_property_values/Manifest
17 index 60ae6a4272c0..4b58dfc09204 100644
18 --- a/dev-ruby/regexp_property_values/Manifest
19 +++ b/dev-ruby/regexp_property_values/Manifest
20 @@ -1 +1,2 @@
21 DIST regexp_property_values-1.2.0.tar.gz 13713 BLAKE2B eaf96fea2fcaca3156f87271f772e03c07c447e7876333b7fa3f11f9bbf267d3e93d69c17601e8fa35004aa8fdb35b05829490ba86906fc4b460281ed29da561 SHA512 01add1c7ededb8a48b42d3c24b5de6d539774656bd59b666e6088b20a495e1936b547ec903678bbb8e49af35f7c72e3dbd35a7750ecba91a04c751d5900bed8a
22 +DIST regexp_property_values-1.3.0.tar.gz 13626 BLAKE2B 795446b5a51ef59085b73b38211b67b8eadcc51d3707fc69a78e7540fabab0cf1bcf49ce2358c5273006939fe722538f7e4eb02f3f47b1b8de49d232496a1ec1 SHA512 d5195e2e898478696527e266b05b39704aa55cf8d46d6dfe76985064484e5bdbb5c362552a960f6347a00efaed46eaaa0bcef9daf869fd476aea959a035dd98f
23
24 diff --git a/dev-ruby/regexp_property_values/regexp_property_values-1.3.0.ebuild b/dev-ruby/regexp_property_values/regexp_property_values-1.3.0.ebuild
25 new file mode 100644
26 index 000000000000..0f060d480bce
27 --- /dev/null
28 +++ b/dev-ruby/regexp_property_values/regexp_property_values-1.3.0.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +USE_RUBY="ruby26 ruby27 ruby30 ruby31"
35 +
36 +RUBY_FAKEGEM_EXTRADOC="README.md"
37 +
38 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
39 +
40 +RUBY_FAKEGEM_BINWRAP=""
41 +
42 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
43 +
44 +RUBY_FAKEGEM_EXTENSIONS=(ext/regexp_property_values/extconf.rb)
45 +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/regexp_property_values"
46 +
47 +inherit ruby-fakegem
48 +
49 +DESCRIPTION="See which property values are supported by the regular expression engine"
50 +HOMEPAGE="https://github.com/janosch-x/regexp_property_values"
51 +SRC_URI="https://github.com/janosch-x/regexp_property_values/archive/v${PV}.tar.gz -> ${P}.tar.gz"
52 +
53 +LICENSE="MIT"
54 +SLOT="1"
55 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
56 +IUSE=""
57 +
58 +all_ruby_prepare() {
59 + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
60 + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
61 +
62 + # Avoid dependency on character_set which would lead to circular
63 + # dependencies.
64 + sed -i -e '/returns a CharacterSet/askip "gentoo circular dependencies"' spec/regexp_property_values/value_spec.rb || die
65 +}