Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rb-gsl/
Date: Thu, 08 Feb 2018 18:30:51
Message-Id: 1518114138.9f830ebfcb525b4ea0fea8ef14dac9839a74158d.graaff@gentoo
1 commit: 9f830ebfcb525b4ea0fea8ef14dac9839a74158d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 8 18:22:18 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 8 18:22:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f830ebf
7
8 dev-ruby/rb-gsl: cleanup
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-ruby/rb-gsl/Manifest | 2 --
13 dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild | 45 -------------------------------
14 dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild | 49 ----------------------------------
15 3 files changed, 96 deletions(-)
16
17 diff --git a/dev-ruby/rb-gsl/Manifest b/dev-ruby/rb-gsl/Manifest
18 index 7c62f136804..cdf1eadc348 100644
19 --- a/dev-ruby/rb-gsl/Manifest
20 +++ b/dev-ruby/rb-gsl/Manifest
21 @@ -1,3 +1 @@
22 -DIST gsl-1.16.0.6.gem 594944 BLAKE2B 2e14c4721ed22de6ec6c289e849c390c824739dc9722b19b0c6a75d04abab125f9d62c4f76d4f36e3d92959c3d89de8aa063ab9e4c75b1a727112e98c3a1fd53 SHA512 99610ef7e9b57c29f1972c4cb2853642157660b885a0a9761876c649badeb02dace7f0191453ce63d1a7f59bc3ee89fb61a73ae71522b5430f7916a60c4d1490
23 -DIST gsl-2.1.0.1.gem 729600 BLAKE2B 6b1046ea226f18de687fbe7dcc517df7e35bcd30f49c6b7cc1abb366645735110e30bd6ab2c31c89a497a3c1c94a1b62648300dd98f6b4a7c59c0cb300a0fd17 SHA512 e07056b9989f5dd8ee06df02cf548607ae06af1e347eec7c5a50ad69bac51ab642b10d5b7e8bbd8d77666aba9cf6985145ac3b23d02489ed616bfa884dbf96f4
24 DIST gsl-2.1.0.2.gem 735232 BLAKE2B bb8aa488b5d3bf7c2f3facf34093c985c63bfe692933b21eb8273af38e6788691593bdcc6fd52b9e22635d1b8195f81d1302edab7c2915a19ce9574cab184d84 SHA512 c07adfb44980ca813e114db2b0917f6b2dcb7d3bbe0ccfd9561519b4e574991f3c72f3e7115218f473154690f9284bf89c968d3c6d52d29fa0a232a1160d2704
25
26 diff --git a/dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild b/dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild
27 deleted file mode 100644
28 index 58ba4fa9cdf..00000000000
29 --- a/dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild
30 +++ /dev/null
31 @@ -1,45 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -USE_RUBY="ruby20 ruby21 ruby22 ruby23"
37 -
38 -RUBY_FAKEGEM_NAME="gsl"
39 -inherit ruby-fakegem multilib
40 -
41 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
42 -RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md"
43 -
44 -RUBY_FAKEGEM_TASK_TEST="test:libs"
45 -DESCRIPTION="Ruby interface to GNU Scientific Library"
46 -HOMEPAGE="https://github.com/SciRuby/rb-gsl"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64"
51 -IUSE="doc"
52 -
53 -DEPEND+=" >=sci-libs/gsl-1.15 <sci-libs/gsl-2.1"
54 -RDEPEND+=" >=sci-libs/gsl-1.15 <sci-libs/gsl-2.1"
55 -
56 -RUBY_S="${PN}-${P}"
57 -
58 -ruby_add_bdepend "dev-ruby/narray"
59 -ruby_add_rdepend "dev-ruby/narray"
60 -
61 -all_ruby_prepare() {
62 - sed -i -e '/LOCAL_LIBS/ s: -l: -L#{path.gsub("src", "lib")} -l:' ext/gsl_native/extconf.rb || die
63 -}
64 -
65 -each_ruby_configure() {
66 - ${RUBY} -Cext/gsl_native extconf.rb || die
67 -}
68 -
69 -each_ruby_compile() {
70 - emake -Cext/gsl_native V=1
71 - cp ext/gsl_native/*$(get_modname) lib/ || die
72 -}
73 -
74 -each_ruby_test() {
75 - ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
76 -}
77
78 diff --git a/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild b/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild
79 deleted file mode 100644
80 index 9b2217b3757..00000000000
81 --- a/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild
82 +++ /dev/null
83 @@ -1,49 +0,0 @@
84 -# Copyright 1999-2017 Gentoo Foundation
85 -# Distributed under the terms of the GNU General Public License v2
86 -
87 -EAPI=5
88 -USE_RUBY="ruby22 ruby23"
89 -
90 -RUBY_FAKEGEM_NAME="gsl"
91 -inherit ruby-fakegem multilib
92 -
93 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
94 -RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md"
95 -
96 -DESCRIPTION="Ruby interface to GNU Scientific Library"
97 -HOMEPAGE="https://github.com/SciRuby/rb-gsl"
98 -
99 -LICENSE="GPL-2"
100 -SLOT="0"
101 -KEYWORDS="~amd64"
102 -IUSE="doc"
103 -
104 -DEPEND+=" >=sci-libs/gsl-2.3[deprecated]"
105 -RDEPEND+=" >=sci-libs/gsl-2.3[deprecated]"
106 -
107 -RUBY_S="${PN}-${P}"
108 -
109 -RUBY_PATCHES=( "${FILESDIR}"/${P}-narray-superclass.patch )
110 -
111 -ruby_add_bdepend "dev-ruby/narray"
112 -ruby_add_rdepend "dev-ruby/narray"
113 -
114 -all_ruby_prepare() {
115 - sed -i -e '/LOCAL_LIBS/ s: -l: -L#{path.gsub("ext", "lib")} -l:' ext/gsl_native/extconf.rb || die
116 - # nmatrix only tests
117 - rm -r test/gsl/nmatrix_tests || die
118 -}
119 -
120 -each_ruby_configure() {
121 - NARRAY=1 ${RUBY} -Cext/gsl_native extconf.rb || die
122 - sed -i -e 's:-Wl,--no-undefined::' ext/gsl_native/Makefile || die
123 -}
124 -
125 -each_ruby_compile() {
126 - NARRAY=1 emake -Cext/gsl_native V=1
127 - cp ext/gsl_native/*$(get_modname) lib/ || die
128 -}
129 -
130 -each_ruby_test() {
131 - NARRAY=1 ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
132 -}