diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-10-29 15:55:55 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-10-29 15:55:55 +0000 |
commit | 3ba0375556432df7015a3e10730d85cdb255e4fe (patch) | |
tree | 463f7c5df0a96d093f0d0cd3fec97bfb146a7f51 /dev-ruby/ffi | |
parent | Add ruby20 target. (diff) | |
download | gentoo-2-3ba0375556432df7015a3e10730d85cdb255e4fe.tar.gz gentoo-2-3ba0375556432df7015a3e10730d85cdb255e4fe.tar.bz2 gentoo-2-3ba0375556432df7015a3e10730d85cdb255e4fe.zip |
Version bump. Add ruby20. Drop ree18. Drop alpha,ia64,ppc64,sparc keywords for bug 465948.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/ffi')
-rw-r--r-- | dev-ruby/ffi/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/ffi/ffi-1.9.1.ebuild | 52 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-ruby/ffi/ChangeLog b/dev-ruby/ffi/ChangeLog index 19bdb56ec4b6..322eb2166e2e 100644 --- a/dev-ruby/ffi/ChangeLog +++ b/dev-ruby/ffi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/ffi # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.51 2013/10/20 22:25:17 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.52 2013/10/29 15:55:55 graaff Exp $ + +*ffi-1.9.1 (29 Oct 2013) + + 29 Oct 2013; Hans de Graaff <graaff@gentoo.org> +ffi-1.9.1.ebuild: + Version bump. Add ruby20. Drop ree18. Drop alpha,ia64,ppc64,sparc keywords + for bug 465948. 20 Oct 2013; Tony Vroon <chainsaw@gentoo.org> ffi-1.4.0.ebuild: Marked stable on AMD64 based on arch testing by Elijah "Armageddon" El diff --git a/dev-ruby/ffi/ffi-1.9.1.ebuild b/dev-ruby/ffi/ffi-1.9.1.ebuild new file mode 100644 index 000000000000..d4d97c2db9d2 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.9.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-1.9.1.ebuild,v 1.1 2013/10/29 15:55:55 graaff Exp $ + +EAPI=5 + +# jruby → unneeded, this is part of the standard JRuby distribution, and +# would just install a dummy. +USE_RUBY="ruby18 ruby19 ruby20" + +RUBY_FAKEGEM_TASK_TEST="specs" + +RUBY_FAKEGEM_TASK_DOC="doc:yard" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="http://wiki.github.com/ffi/ffi" + +SRC_URI="http://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" + +RDEPEND="${RDEPEND} virtual/libffi" +DEPEND="${DEPEND} virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake-compiler dev-ruby/yard + test? ( dev-ruby/rspec:2 )" + +ruby_add_rdepend "virtual/ruby-threads" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake compile || die "compile failed" + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} |