1 |
commit: 13e285caca92c2540a62153c5303920f34a37a97 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 27 07:52:06 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 06:56:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e285ca |
7 |
|
8 |
dev-ruby/fast_xs: fix extension install; ruby30 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild | 35 ++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild b/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..1d561300495 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild |
21 |
@@ -0,0 +1,35 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+USE_RUBY="ruby25 ruby26 ruby27 ruby30" |
28 |
+ |
29 |
+RUBY_FAKEGEM_DOCDIR="doc" |
30 |
+ |
31 |
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" |
32 |
+ |
33 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/fast_xs/extconf.rb ext/fast_xs_extra/extconf.rb) |
34 |
+ |
35 |
+inherit ruby-fakegem |
36 |
+ |
37 |
+DESCRIPTION="fast_xs text escaping library ruby bindings" |
38 |
+HOMEPAGE="https://github.com/brianmario/fast_xs" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris" |
43 |
+IUSE="" |
44 |
+ |
45 |
+ruby_add_bdepend "test? ( dev-ruby/rack )" |
46 |
+ |
47 |
+PATCHES=( "${FILESDIR}/${P}+ruby-1.9.patch" ) |
48 |
+ |
49 |
+each_ruby_test() { |
50 |
+ # the Rakefile tries to run all the tests in a single process, but |
51 |
+ # this breaks the monkey-patchers, we're forced to run them one by |
52 |
+ # one. |
53 |
+ for tu in test/test_*.rb; do |
54 |
+ ${RUBY} -Ilib $tu || die "test $tu failed" |
55 |
+ done |
56 |
+} |