diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-12-06 08:05:04 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-12-07 07:44:49 +0100 |
commit | 4b9043b5b4543a475ac2c9f52c80dc309a157a36 (patch) | |
tree | 3e8d3b917c97daa1fdac15f6a750e3a76a796bd1 /dev-ruby | |
parent | dev-ruby/filesize: drop 0.2.0 (diff) | |
download | gentoo-4b9043b5b4543a475ac2c9f52c80dc309a157a36.tar.gz gentoo-4b9043b5b4543a475ac2c9f52c80dc309a157a36.tar.bz2 gentoo-4b9043b5b4543a475ac2c9f52c80dc309a157a36.zip |
dev-ruby/ffi: drop 1.14.2-r1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ffi/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ffi/ffi-1.14.2-r1.ebuild | 68 |
2 files changed, 0 insertions, 69 deletions
diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index c42bc5e908b8..4152e676f9a4 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,2 +1 @@ -DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 diff --git a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild deleted file mode 100644 index 10c95ec49b55..000000000000 --- a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi" - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -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" - -RDEPEND+=" dev-libs/libffi:=" -DEPEND+=" dev-libs/libffi:=" - -ruby_add_bdepend "dev-ruby/rake" - -PATCHES=( - "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch -) - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - sed -i -e '/require/c\require "./lib/ffi/version"' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_compile() { - each_fakegem_compile - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -} |