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/ffi/
Date: Sat, 02 Apr 2022 08:58:05
Message-Id: 1648889868.d0a62e873304df3e07903219a1c1cdbb8cd20ea7.graaff@gentoo
1 commit: d0a62e873304df3e07903219a1c1cdbb8cd20ea7
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 08:56:11 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 08:57:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a62e87
7
8 dev-ruby/ffi: drop 1.15.1-r1, 1.15.3-r1, 1.15.4-r1
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/ffi/Manifest | 3 --
13 dev-ruby/ffi/ffi-1.15.1-r1.ebuild | 71 ---------------------------------------
14 dev-ruby/ffi/ffi-1.15.3-r1.ebuild | 71 ---------------------------------------
15 dev-ruby/ffi/ffi-1.15.4-r1.ebuild | 71 ---------------------------------------
16 4 files changed, 216 deletions(-)
17
18 diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest
19 index 44e7fbcb908b..c42bc5e908b8 100644
20 --- a/dev-ruby/ffi/Manifest
21 +++ b/dev-ruby/ffi/Manifest
22 @@ -1,5 +1,2 @@
23 DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5
24 -DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a
25 -DIST ffi-git-1.15.3.tgz 167804 BLAKE2B a0d040cd87a0606ebf618bb1e5bf5189e03fa30d2a3681c8dcf2b075b8cba40fbc5d130d78bae0f31d1c20319299f106653576cdb89f355090df5de0c10d916b SHA512 25cf025aa51c5389c99f47043443d33859ce91e50d057dbd49b376b81b2d81c0d158785e9d7d8efba53b9ff450e49d43b475ad2c870822635d8350592f3bb3ce
26 -DIST ffi-git-1.15.4.tgz 167917 BLAKE2B 0694bc5baed1a902a444d75ca534f38c61e56db17e542311f78edad07cc40566aaced5849766b2cce2fdbb531a7ae5ccc3d2506d5871f15c382bbdb3a8302af3 SHA512 3278dd217669b5467e3e0b92b5879fea745c955be52de4096ee490efbfac4ad887018c07ecb5dcd8b0fefd8a02144740c2aba74a1e545d798e73f64f69c7cd79
27 DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707
28
29 diff --git a/dev-ruby/ffi/ffi-1.15.1-r1.ebuild b/dev-ruby/ffi/ffi-1.15.1-r1.ebuild
30 deleted file mode 100644
31 index 76ba9f8c1a8d..000000000000
32 --- a/dev-ruby/ffi/ffi-1.15.1-r1.ebuild
33 +++ /dev/null
34 @@ -1,71 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -USE_RUBY="ruby25 ruby26 ruby27 ruby30"
41 -
42 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
43 -
44 -RUBY_FAKEGEM_DOCDIR="doc"
45 -RUBY_FAKEGEM_EXTRADOC="README.md"
46 -
47 -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec"
48 -
49 -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb)
50 -
51 -inherit multilib ruby-fakegem toolchain-funcs
52 -
53 -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
54 -HOMEPAGE="https://wiki.github.com/ffi/ffi"
55 -
56 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
57 -
58 -IUSE=""
59 -LICENSE="BSD"
60 -SLOT="0"
61 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
62 -
63 -RDEPEND+=" dev-libs/libffi:="
64 -DEPEND+=" dev-libs/libffi:="
65 -
66 -ruby_add_bdepend "dev-ruby/rake"
67 -
68 -PATCHES=(
69 - "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch
70 -)
71 -
72 -all_ruby_prepare() {
73 - sed -i -e '/tasks/ s:^:#:' \
74 - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
75 -
76 - sed -e '/require/c\require "./lib/ffi/version"' \
77 - -e 's/git ls-files -z/find * -print0/' \
78 - -e '/^ lfs/,/^ end/ s:^:#:' \
79 - -i ${RUBY_FAKEGEM_GEMSPEC} || die
80 -
81 - # Fix Makefile for tests
82 - sed -i -e '/CCACHE :=/ s:^:#:' \
83 - -e 's/-O2//' \
84 - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die
85 -
86 - # Remove bundled version of libffi.
87 - rm -rf ext/ffi_c/libffi || die
88 -}
89 -
90 -each_ruby_compile() {
91 - each_fakegem_compile
92 -
93 - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
94 -}
95 -
96 -each_ruby_test() {
97 - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die
98 -}
99 -
100 -all_ruby_install() {
101 - all_fakegem_install
102 -
103 - docinto examples
104 - dodoc samples/*
105 -}
106
107 diff --git a/dev-ruby/ffi/ffi-1.15.3-r1.ebuild b/dev-ruby/ffi/ffi-1.15.3-r1.ebuild
108 deleted file mode 100644
109 index 67d86c924a08..000000000000
110 --- a/dev-ruby/ffi/ffi-1.15.3-r1.ebuild
111 +++ /dev/null
112 @@ -1,71 +0,0 @@
113 -# Copyright 1999-2021 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=7
117 -
118 -USE_RUBY="ruby25 ruby26 ruby27 ruby30"
119 -
120 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
121 -
122 -RUBY_FAKEGEM_DOCDIR="doc"
123 -RUBY_FAKEGEM_EXTRADOC="README.md"
124 -
125 -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec"
126 -
127 -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb)
128 -
129 -inherit multilib ruby-fakegem toolchain-funcs
130 -
131 -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
132 -HOMEPAGE="https://wiki.github.com/ffi/ffi"
133 -
134 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
135 -
136 -IUSE=""
137 -LICENSE="BSD"
138 -SLOT="0"
139 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
140 -
141 -RDEPEND+=" dev-libs/libffi:="
142 -DEPEND+=" dev-libs/libffi:="
143 -
144 -ruby_add_bdepend "dev-ruby/rake"
145 -
146 -PATCHES=(
147 - "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch
148 -)
149 -
150 -all_ruby_prepare() {
151 - sed -i -e '/tasks/ s:^:#:' \
152 - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
153 -
154 - sed -e '/require/c\require "./lib/ffi/version"' \
155 - -e 's/git ls-files -z/find * -print0/' \
156 - -e '/^ lfs/,/^ end/ s:^:#:' \
157 - -i ${RUBY_FAKEGEM_GEMSPEC} || die
158 -
159 - # Fix Makefile for tests
160 - sed -i -e '/CCACHE :=/ s:^:#:' \
161 - -e 's/-O2//' \
162 - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die
163 -
164 - # Remove bundled version of libffi.
165 - rm -rf ext/ffi_c/libffi || die
166 -}
167 -
168 -each_ruby_compile() {
169 - each_fakegem_compile
170 -
171 - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
172 -}
173 -
174 -each_ruby_test() {
175 - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die
176 -}
177 -
178 -all_ruby_install() {
179 - all_fakegem_install
180 -
181 - docinto examples
182 - dodoc samples/*
183 -}
184
185 diff --git a/dev-ruby/ffi/ffi-1.15.4-r1.ebuild b/dev-ruby/ffi/ffi-1.15.4-r1.ebuild
186 deleted file mode 100644
187 index dc92b96f4e08..000000000000
188 --- a/dev-ruby/ffi/ffi-1.15.4-r1.ebuild
189 +++ /dev/null
190 @@ -1,71 +0,0 @@
191 -# Copyright 1999-2021 Gentoo Authors
192 -# Distributed under the terms of the GNU General Public License v2
193 -
194 -EAPI=8
195 -
196 -USE_RUBY="ruby26 ruby27 ruby30"
197 -
198 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
199 -
200 -RUBY_FAKEGEM_DOCDIR="doc"
201 -RUBY_FAKEGEM_EXTRADOC="README.md"
202 -
203 -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec"
204 -
205 -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb)
206 -
207 -inherit multilib ruby-fakegem toolchain-funcs
208 -
209 -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
210 -HOMEPAGE="https://wiki.github.com/ffi/ffi"
211 -
212 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
213 -
214 -IUSE=""
215 -LICENSE="BSD"
216 -SLOT="0"
217 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
218 -
219 -RDEPEND+=" dev-libs/libffi:="
220 -DEPEND+=" dev-libs/libffi:="
221 -
222 -ruby_add_bdepend "dev-ruby/rake"
223 -
224 -PATCHES=(
225 - "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch
226 -)
227 -
228 -all_ruby_prepare() {
229 - sed -i -e '/tasks/ s:^:#:' \
230 - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
231 -
232 - sed -e '/require/c\require "./lib/ffi/version"' \
233 - -e 's/git ls-files -z/find * -print0/' \
234 - -e '/^ lfs/,/^ end/ s:^:#:' \
235 - -i ${RUBY_FAKEGEM_GEMSPEC} || die
236 -
237 - # Fix Makefile for tests
238 - sed -i -e '/CCACHE :=/ s:^:#:' \
239 - -e 's/-O2//' \
240 - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die
241 -
242 - # Remove bundled version of libffi.
243 - rm -rf ext/ffi_c/libffi || die
244 -}
245 -
246 -each_ruby_compile() {
247 - each_fakegem_compile
248 -
249 - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
250 -}
251 -
252 -each_ruby_test() {
253 - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die
254 -}
255 -
256 -all_ruby_install() {
257 - all_fakegem_install
258 -
259 - docinto examples
260 - dodoc samples/*
261 -}