1 |
commit: 52d8dc2d928c7b0c6edec15cb2447a8f6042d2ae |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 31 11:35:48 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 11:35:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d8dc2d |
7 |
|
8 |
dev-ruby/rb-gsl: cleanup |
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/rb-gsl/rb-gsl-2.1.0.2.ebuild | 47 ----------------------------------- |
14 |
1 file changed, 47 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild b/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 32eee106ee3..00000000000 |
19 |
--- a/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,47 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
27 |
- |
28 |
-RUBY_FAKEGEM_NAME="gsl" |
29 |
-inherit ruby-fakegem multilib |
30 |
- |
31 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
32 |
-RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" |
33 |
- |
34 |
-DESCRIPTION="Ruby interface to GNU Scientific Library" |
35 |
-HOMEPAGE="https://github.com/SciRuby/rb-gsl" |
36 |
- |
37 |
-LICENSE="GPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~arm64" |
40 |
-IUSE="doc" |
41 |
- |
42 |
-DEPEND+=" >=sci-libs/gsl-2.3[deprecated]" |
43 |
-RDEPEND+=" >=sci-libs/gsl-2.3[deprecated]" |
44 |
- |
45 |
-RUBY_S="${PN}-${P}" |
46 |
- |
47 |
-ruby_add_bdepend "dev-ruby/narray" |
48 |
-ruby_add_rdepend "dev-ruby/narray" |
49 |
- |
50 |
-all_ruby_prepare() { |
51 |
- sed -i -e '/LOCAL_LIBS/ s: -l: -L#{path.gsub("ext", "lib")} -l:' ext/gsl_native/extconf.rb || die |
52 |
- # nmatrix only tests |
53 |
- rm -r test/gsl/nmatrix_tests || die |
54 |
-} |
55 |
- |
56 |
-each_ruby_configure() { |
57 |
- NARRAY=1 ${RUBY} -Cext/gsl_native extconf.rb || die |
58 |
- sed -i -e 's:-Wl,--no-undefined::' ext/gsl_native/Makefile || die |
59 |
-} |
60 |
- |
61 |
-each_ruby_compile() { |
62 |
- NARRAY=1 emake -Cext/gsl_native V=1 |
63 |
- cp ext/gsl_native/*$(get_modname) lib/ || die |
64 |
-} |
65 |
- |
66 |
-each_ruby_test() { |
67 |
- NARRAY=1 ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die |
68 |
-} |