diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-01-14 07:27:21 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-01-14 07:35:57 +0100 |
commit | 82548eaeab22de1f9e34d10d4ae7ced29c3dc518 (patch) | |
tree | d36b653172f2d349a004413197473ecdf6704df0 /dev-ruby | |
parent | dev-ruby/builder: add 3.2.3 (diff) | |
download | gentoo-82548eaeab22de1f9e34d10d4ae7ced29c3dc518.tar.gz gentoo-82548eaeab22de1f9e34d10d4ae7ced29c3dc518.tar.bz2 gentoo-82548eaeab22de1f9e34d10d4ae7ced29c3dc518.zip |
dev-ruby/ffi: cleanup
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ffi/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ffi/ffi-1.9.10-r1.ebuild | 65 | ||||
-rw-r--r-- | dev-ruby/ffi/ffi-1.9.12.ebuild | 63 |
3 files changed, 0 insertions, 129 deletions
diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 9acf5c21bef8..46618d78654d 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,4 +1,3 @@ DIST ffi-git-1.9.10.tgz 897526 SHA256 3a9a9f6d36fe6a99a3e93865f9680a7578a01f2f52368c6e3c4eac94d3784c70 SHA512 6b47ec43bffdbed31607b8fdc32c26cce9af4eadf03d751cf61f5d2fdd06a281891b6f2ad5f9c9916790211331edf022e5889dae13982be1ad42d12af8186146 WHIRLPOOL ec8e816752c8ed35750dafe1146c2d371824154adfe5adf5c95846fa2a393d92eaaeee6e2a8052b2eea7513fbd9fa974b40bd788f7633068a4fcba26d4846d45 -DIST ffi-git-1.9.12.tgz 900761 SHA256 42bb77166cc4aa8eb3aad28cc16f5b6ce9db771101a5a0e39efa96062ae013e1 SHA512 dc2bf628649f33effab952f61e0db349b3e5fb57195a421d14136584bef47b1c87953104c28c0e7da0b4bb9848b3d597f804d567a0862661f5fc6864a0b5e682 WHIRLPOOL af0a9e8eb794929a20131d9e1c4cacd084a15ed760e2c3d2ad41b2fec8ad2a81443bd1cd165560a56e14b777d2e3899607a4b6c23d7e62fd530845dcb2409f4b DIST ffi-git-1.9.14.tgz 900791 SHA256 dc5488a9cf407b6da7485f7edbe51dc7e6404adcf902649d8473cbcbb7dd0245 SHA512 9ce000f878f5adfee6b286c4908e867ec829bc9212e8609b29ae816bdf400abec7c1fdebe674253270981545a96652cfcd6a163e060d8745c175ff7d599601a2 WHIRLPOOL c2d234637656d7ace85f5c34e61f8bba6be490f4aa1af3d8932205d4aed11670df983ed651992cf734d07e22ae63ec1fab6ea408598686921d9342fb988416af DIST ffi-git-1.9.6.tgz 895468 SHA256 b27a59bf2eddcc17abaf7063a64e527fa892ba95cdb6320aba6fa945c769c9c7 SHA512 4b690b70db41642be679f13b33a67e27e1a4b14ca56d6ce355ea0a300c793a63e1081fb19d4c4bd395c1bea55a1669b96e3405932fffeebd328809a410fe3e8f WHIRLPOOL 7f5ad8d7766b037e24cff4721db02f05b39604c1be5e07ddad9de4a5155124d2a05ebd43209dfc2491cdc50ea08e5cda856f7502bf1c12666fa19b77516c81f7 diff --git a/dev-ruby/ffi/ffi-1.9.10-r1.ebuild b/dev-ruby/ffi/ffi-1.9.10-r1.ebuild deleted file mode 100644 index 2534544906d6..000000000000 --- a/dev-ruby/ffi/ffi-1.9.10-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="yard" -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/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" virtual/libffi" -DEPEND+=" virtual/libffi" - -ruby_add_bdepend "doc? ( dev-ruby/yard )" - -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/* -} diff --git a/dev-ruby/ffi/ffi-1.9.12.ebuild b/dev-ruby/ffi/ffi-1.9.12.ebuild deleted file mode 100644 index 33c9ca2223b7..000000000000 --- a/dev-ruby/ffi/ffi-1.9.12.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -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/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" virtual/libffi" -DEPEND+=" virtual/libffi" - -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/* -} |