1 |
commit: 2be5be227858a8e113cf52cf463ef953b6a27c61 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 3 05:38:21 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 3 05:45:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be5be22 |
7 |
|
8 |
dev-ruby/regexp_property_values: add 0.3.5 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/regexp_property_values/Manifest | 1 + |
14 |
.../regexp_property_values-0.3.5.ebuild | 43 ++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/regexp_property_values/Manifest b/dev-ruby/regexp_property_values/Manifest |
18 |
index efb4558098e..994f22a41b4 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-0.3.4.tar.gz 11273 BLAKE2B a52ab11676b58a752741240912da5fa312661a583dd74a4321f8184fef2864c74e0d5f709cb68e3ce64a3e19e9320305e80bf7614a40142c4855ccec1c40b5a5 SHA512 01ca50f831bf3364e38559e06cb54faef59fdb0b995a6bfa0aaa3943591d98f97939a47911bf8b075b34b3c401b5de51e42a71088400112ee8afd8d39f164465 |
23 |
+DIST regexp_property_values-0.3.5.tar.gz 11410 BLAKE2B adcf7848af9df53707a878ee35443583b03f96f60f9b23fd5f146e81b4b12a4e3ada2c48d6509b15c848b15c668d9430ef93b34f08491ce13249ec458b2be0eb SHA512 5ac91331deb12fd77ee6a5ca8f942c2b2ea0ccb42bc63548444ecfe85c3a60bad385831b408f21c848f0c0ac2db3c68f8391fd68074acb0187ae9de51ca76e47 |
24 |
|
25 |
diff --git a/dev-ruby/regexp_property_values/regexp_property_values-0.3.5.ebuild b/dev-ruby/regexp_property_values/regexp_property_values-0.3.5.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..63a944fef5e |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/regexp_property_values/regexp_property_values-0.3.5.ebuild |
30 |
@@ -0,0 +1,43 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
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 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="See which property values are supported by the regular expression engine" |
49 |
+HOMEPAGE="https://github.com/janosch-x/regexp_property_values" |
50 |
+SRC_URI="https://github.com/janosch-x/regexp_property_values/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~arm ~x86" |
55 |
+IUSE="" |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
59 |
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die |
60 |
+ |
61 |
+ # Avoid dependency on character_set which would lead to circular |
62 |
+ # dependencies. |
63 |
+ sed -i -e '/returns a CharacterSet/askip "gentoo circular dependencies"' spec/regexp_property_values/extension_spec.rb || die |
64 |
+} |
65 |
+ |
66 |
+each_ruby_configure() { |
67 |
+ ${RUBY} -Cext/regexp_property_values extconf.rb || die |
68 |
+} |
69 |
+ |
70 |
+each_ruby_compile() { |
71 |
+ emake -Cext/regexp_property_values V=1 |
72 |
+ cp ext/regexp_property_values/regexp_property_values.so lib/regexp_property_values/ || die |
73 |
+} |