1 |
commit: 6a9f4db5f968fa5e6e74f405b95e17749012e8c1 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 9 07:11:52 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 9 07:11:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9f4db5 |
7 |
|
8 |
dev-ruby/regexp_property_values: add 1.2.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.2.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 bcce9c2637b7..da806e51321b 100644 |
19 |
--- a/dev-ruby/regexp_property_values/Manifest |
20 |
+++ b/dev-ruby/regexp_property_values/Manifest |
21 |
@@ -1,2 +1,3 @@ |
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 |
+DIST regexp_property_values-1.2.0.tar.gz 13713 BLAKE2B eaf96fea2fcaca3156f87271f772e03c07c447e7876333b7fa3f11f9bbf267d3e93d69c17601e8fa35004aa8fdb35b05829490ba86906fc4b460281ed29da561 SHA512 01add1c7ededb8a48b42d3c24b5de6d539774656bd59b666e6088b20a495e1936b547ec903678bbb8e49af35f7c72e3dbd35a7750ecba91a04c751d5900bed8a |
25 |
|
26 |
diff --git a/dev-ruby/regexp_property_values/regexp_property_values-1.2.0.ebuild b/dev-ruby/regexp_property_values/regexp_property_values-1.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..485ecbe3e2ea |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/regexp_property_values/regexp_property_values-1.2.0.ebuild |
31 |
@@ -0,0 +1,36 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+USE_RUBY="ruby26 ruby27 ruby30" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
41 |
+ |
42 |
+RUBY_FAKEGEM_BINWRAP="" |
43 |
+ |
44 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
45 |
+ |
46 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/regexp_property_values/extconf.rb) |
47 |
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/regexp_property_values" |
48 |
+ |
49 |
+inherit ruby-fakegem |
50 |
+ |
51 |
+DESCRIPTION="See which property values are supported by the regular expression engine" |
52 |
+HOMEPAGE="https://github.com/janosch-x/regexp_property_values" |
53 |
+SRC_URI="https://github.com/janosch-x/regexp_property_values/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="1" |
57 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
58 |
+IUSE="" |
59 |
+ |
60 |
+all_ruby_prepare() { |
61 |
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
62 |
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die |
63 |
+ |
64 |
+ # Avoid dependency on character_set which would lead to circular |
65 |
+ # dependencies. |
66 |
+ sed -i -e '/returns a CharacterSet/askip "gentoo circular dependencies"' spec/regexp_property_values/value_spec.rb || die |
67 |
+} |