commit: 53dcc6114b5a06181e630bea6e2ae7f1d0003a15 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Dec 24 06:44:01 2017 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Dec 24 06:44:01 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53dcc611
dev-ruby/ffi: cleanup Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-ruby/ffi/Manifest | 1 - dev-ruby/ffi/ffi-1.9.6-r2.ebuild | 66 ---------------------------------------- 2 files changed, 67 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 45bd3ce7149..c3de3d8dcb3 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,2 +1 @@ DIST ffi-git-1.9.18.tgz 901805 BLAKE2B b04715095858d461e4a0a904185dbd603e391611ef446de385deb533d8fcbff0ada3f1865599fb51e3446df629c16d491c476e179cfa356c7d8c84e1827b2729 SHA512 49c52e5e42e436b7969c35a34b28bd7929d75372638ac5373486a1d624026c12dc682009bc101e4a2c8f1442ed6f1ba17b438cda2e02d4256622b489c4bd9945 -DIST ffi-git-1.9.6.tgz 895468 BLAKE2B a64b6f9504726c87d4564fef01bba2f0bae79b76e94a4464b954e54f29c70ccc51a26bed3a2c9efae80597b6344bda3f319585b67cd77f4e7f00bd8afd40f1ee SHA512 4b690b70db41642be679f13b33a67e27e1a4b14ca56d6ce355ea0a300c793a63e1081fb19d4c4bd395c1bea55a1669b96e3405932fffeebd328809a410fe3e8f diff --git a/dev-ruby/ffi/ffi-1.9.6-r2.ebuild b/dev-ruby/ffi/ffi-1.9.6-r2.ebuild deleted file mode 100644 index 70bd141ed0a..00000000000 --- a/dev-ruby/ffi/ffi-1.9.6-r2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# jruby → unneeded, this is part of the standard JRuby distribution, and -# would just install a dummy. -USE_RUBY="ruby22" - -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi" - -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" - -RDEPEND+=" virtual/libffi" -DEPEND+=" virtual/libffi" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' libtest/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_configure() { - ${RUBY} -Cext/ffi_c extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ffi_c V=1 - cp ext/ffi_c/ffi_c.so lib/ || die - - ${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/* -}