1 |
commit: cb30e72149145e716f4ed738722060db15746aeb |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 10:35:10 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 10:39:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb30e721 |
7 |
|
8 |
dev-ruby/fast_xs: cleanup |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild | 51 -------------------------------- |
13 |
1 file changed, 51 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild b/dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index cd7fa6d..00000000 |
18 |
--- a/dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,51 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-USE_RUBY="ruby20" |
28 |
- |
29 |
-RUBY_FAKEGEM_TASK_DOC="docs" |
30 |
-RUBY_FAKEGEM_DOCDIR="doc" |
31 |
- |
32 |
-RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" |
33 |
- |
34 |
-inherit ruby-fakegem |
35 |
- |
36 |
-DESCRIPTION="fast_xs text escaping library ruby bindings" |
37 |
-HOMEPAGE="https://github.com/brianmario/fast_xs" |
38 |
- |
39 |
-LICENSE="MIT" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-solaris" |
42 |
-IUSE="" |
43 |
- |
44 |
-ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.3.2 )" |
45 |
-ruby_add_bdepend "test? ( |
46 |
- >=dev-ruby/hoe-2.3.2 |
47 |
- dev-ruby/rack |
48 |
-)" |
49 |
- |
50 |
-RUBY_PATCHES=( "${P}+ruby-1.9.patch" ) |
51 |
- |
52 |
-each_ruby_configure() { |
53 |
- ${RUBY} -Cext/fast_xs extconf.rb || die "extconf.rb failed" |
54 |
- ${RUBY} -Cext/fast_xs_extra extconf.rb || die "extconf.rb failed" |
55 |
-} |
56 |
- |
57 |
-each_ruby_compile() { |
58 |
- emake -Cext/fast_xs CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 |
59 |
- cp ext/fast_xs/fast_xs$(get_modname) lib/ || die |
60 |
- emake -Cext/fast_xs_extra CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 |
61 |
- cp ext/fast_xs_extra/fast_xs_extra$(get_modname) lib/ || die |
62 |
-} |
63 |
- |
64 |
-each_ruby_test() { |
65 |
- # the Rakefile tries to run all the tests in a single process, but |
66 |
- # this breaks the monkey-patchers, we're forced to run them one by |
67 |
- # one. |
68 |
- for tu in test/test_*.rb; do |
69 |
- ${RUBY} -Ilib $tu || die "test $tu failed" |
70 |
- done |
71 |
-} |