summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-13 21:20:03 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-13 21:20:03 +0000
commitcf1dcdd464e383c16bd3069d2fdeb441df9831cc (patch)
treecaaebf2a3dade01408ef88bf829b46c687386756 /dev-ruby/ffi
parentUpdated to latest upstream release; closes bug #294740. (diff)
downloadgentoo-2-cf1dcdd464e383c16bd3069d2fdeb441df9831cc.tar.gz
gentoo-2-cf1dcdd464e383c16bd3069d2fdeb441df9831cc.tar.bz2
gentoo-2-cf1dcdd464e383c16bd3069d2fdeb441df9831cc.zip
Version bump, fix dependencies, drop patch.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ffi')
-rw-r--r--dev-ruby/ffi/ChangeLog8
-rw-r--r--dev-ruby/ffi/ffi-0.6.0.ebuild (renamed from dev-ruby/ffi/ffi-0.5.4.ebuild)14
-rw-r--r--dev-ruby/ffi/files/ffi-0.5.4-rakefile.patch31
3 files changed, 14 insertions, 39 deletions
diff --git a/dev-ruby/ffi/ChangeLog b/dev-ruby/ffi/ChangeLog
index fba908d71e3f..f23c47fbebb4 100644
--- a/dev-ruby/ffi/ChangeLog
+++ b/dev-ruby/ffi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ffi
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.1 2010/01/31 14:35:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.2 2010/02/13 21:20:02 flameeyes Exp $
+
+*ffi-0.6.0 (13 Feb 2010)
+
+ 13 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org> -ffi-0.5.4.ebuild,
+ -files/ffi-0.5.4-rakefile.patch, +ffi-0.6.0.ebuild:
+ Version bump, fix dependencies, drop patch.
*ffi-0.5.4 (31 Jan 2010)
diff --git a/dev-ruby/ffi/ffi-0.5.4.ebuild b/dev-ruby/ffi/ffi-0.6.0.ebuild
index 017b9eb66761..f7d857ac9a06 100644
--- a/dev-ruby/ffi/ffi-0.5.4.ebuild
+++ b/dev-ruby/ffi/ffi-0.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-0.5.4.ebuild,v 1.1 2010/01/31 14:35:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-0.6.0.ebuild,v 1.1 2010/02/13 21:20:02 flameeyes Exp $
EAPI=2
@@ -19,18 +19,18 @@ inherit ruby-fakegem
DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
HOMEPAGE="http://wiki.github.com/ffi/ffi"
-SRC_URI="http://github.com/ffi/ffi/tarball/0.5.4 -> ${PN}-git-${PV}.tgz"
-
-S="${WORKDIR}/ffi-ffi-57b5d81"
+SRC_URI="http://github.com/${PN}/${PN}/tarball/${PV} -> ${PN}-git-${PV}.tgz"
+S="${WORKDIR}/${PN}-${PN}-09d594e"
IUSE=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-all_ruby_prepare() {
- epatch "${FILESDIR}"/${P}-rakefile.patch
-}
+RDEPEND="dev-libs/libffi"
+DEPEND="${RDEPEND}"
+
+ruby_add_bdepend dev-ruby/rake-compiler
each_ruby_compile() {
${RUBY} -S rake compile || die "compile failed"
diff --git a/dev-ruby/ffi/files/ffi-0.5.4-rakefile.patch b/dev-ruby/ffi/files/ffi-0.5.4-rakefile.patch
deleted file mode 100644
index 7f418c6ea959..000000000000
--- a/dev-ruby/ffi/files/ffi-0.5.4-rakefile.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: ffi-ffi-57b5d81/Rakefile
-===================================================================
---- ffi-ffi-57b5d81.orig/Rakefile
-+++ ffi-ffi-57b5d81/Rakefile
-@@ -12,16 +12,7 @@ require 'date'
- require 'fileutils'
- require 'rbconfig'
-
--begin
-- require 'bones'
-- Bones.setup
--rescue LoadError
-- begin
-- load 'tasks/setup.rb'
-- rescue LoadError
-- raise RuntimeError, '### please install the "bones" gem ###'
-- end
--end
-+load 'tasks/setup.rb'
-
- LIBEXT = case Config::CONFIG['host_os'].downcase
- when /darwin/
-@@ -130,7 +121,7 @@ if RUBY_PLATFORM == "java"
- sh %{#{Gem.ruby} -S spec #{Dir["spec/ffi/rbx/*_spec.rb"].join(" ")} -fs --color}
- end
- else
-- TEST_DEPS.unshift :compile
-+# TEST_DEPS.unshift :compile
- desc "Run all specs"
- task :specs => TEST_DEPS do
- ENV["MRI_FFI"] = "1"