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: Tue, 07 Dec 2021 06:42:47
Message-Id: 1638859229.531679a61824d487e30f98cbfbe832d8b877bd95.graaff@gentoo
1 commit: 531679a61824d487e30f98cbfbe832d8b877bd95
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 06:40:29 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 06:40:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531679a6
7
8 dev-ruby/regexp_property_values: add 1.1.0
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/regexp_property_values/Manifest | 1 +
14 .../regexp_property_values-1.1.0.ebuild | 36 ++++++++++++++++++++++
15 2 files changed, 37 insertions(+)
16
17 diff --git a/dev-ruby/regexp_property_values/Manifest b/dev-ruby/regexp_property_values/Manifest
18 index 711c6c00dd6a..bcce9c2637b7 100644
19 --- a/dev-ruby/regexp_property_values/Manifest
20 +++ b/dev-ruby/regexp_property_values/Manifest
21 @@ -1 +1,2 @@
22 DIST regexp_property_values-1.0.0.tar.gz 12884 BLAKE2B 82f63d21a1e1508cef79afc2f1b5cca842c1e5bc96b197efa90ec0d02e7bd213cc67ae99f4f71cae6e632e0804fa2d6e935c7d30f27a940c767f5a83dd9edd21 SHA512 f51946d93c255c3b51bfb8055d2c0548c9656db9f208de74b569df8799fa97712a76b509546e149f71e3176ae0e979f295b225c171cedc687e1871f204c1e0d3
23 +DIST regexp_property_values-1.1.0.tar.gz 13637 BLAKE2B c274dbe0a1168af8de4f3180ba48d3332b1b4425aefa7be33074465120568aca4fc3c3ffe5caa27042139495d1d6ce80e660da4239be8455f41f7e0a97f8f357 SHA512 196b29de3d41502b1f26fb3a64ecf6135ca917b85edb633bee015fde1dfac86e00f9565509973f64842a24542740cb4a887a754b4688f47fc32b0650fc80feca
24
25 diff --git a/dev-ruby/regexp_property_values/regexp_property_values-1.1.0.ebuild b/dev-ruby/regexp_property_values/regexp_property_values-1.1.0.ebuild
26 new file mode 100644
27 index 000000000000..e3d040fdc586
28 --- /dev/null
29 +++ b/dev-ruby/regexp_property_values/regexp_property_values-1.1.0.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +USE_RUBY="ruby26 ruby27 ruby30"
36 +
37 +RUBY_FAKEGEM_EXTRADOC="README.md"
38 +
39 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
40 +
41 +RUBY_FAKEGEM_BINWRAP=""
42 +
43 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
44 +
45 +RUBY_FAKEGEM_EXTENSIONS=(ext/regexp_property_values/extconf.rb)
46 +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/regexp_property_values"
47 +
48 +inherit ruby-fakegem
49 +
50 +DESCRIPTION="See which property values are supported by the regular expression engine"
51 +HOMEPAGE="https://github.com/janosch-x/regexp_property_values"
52 +SRC_URI="https://github.com/janosch-x/regexp_property_values/archive/v${PV}.tar.gz -> ${P}.tar.gz"
53 +
54 +LICENSE="MIT"
55 +SLOT="1"
56 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
57 +IUSE=""
58 +
59 +all_ruby_prepare() {
60 + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
61 + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
62 +
63 + # Avoid dependency on character_set which would lead to circular
64 + # dependencies.
65 + sed -i -e '/returns a CharacterSet/askip "gentoo circular dependencies"' spec/regexp_property_values/value_spec.rb || die
66 +}