diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-01-02 10:51:20 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-01-02 10:51:20 +0000 |
commit | c4e5227763d636371fef4c9dcca5a9dd76da3627 (patch) | |
tree | 22d2696cc83aa9bbd73796623cc8f76e3232f257 /dev-ruby/iobuffer | |
parent | Version bump. (diff) | |
download | gentoo-2-c4e5227763d636371fef4c9dcca5a9dd76da3627.tar.gz gentoo-2-c4e5227763d636371fef4c9dcca5a9dd76da3627.tar.bz2 gentoo-2-c4e5227763d636371fef4c9dcca5a9dd76da3627.zip |
Version bump.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/iobuffer')
-rw-r--r-- | dev-ruby/iobuffer/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/iobuffer/iobuffer-1.0.0.ebuild | 41 |
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-ruby/iobuffer/ChangeLog b/dev-ruby/iobuffer/ChangeLog index e5e3c7b75457..18f9a339e6f0 100644 --- a/dev-ruby/iobuffer/ChangeLog +++ b/dev-ruby/iobuffer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/iobuffer -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.2 2010/12/26 14:03:25 graaff Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.3 2011/01/02 10:51:20 graaff Exp $ + +*iobuffer-1.0.0 (02 Jan 2011) + + 02 Jan 2011; Hans de Graaff <graaff@gentoo.org> +iobuffer-1.0.0.ebuild: + Version bump. 26 Dec 2010; Hans de Graaff <graaff@gentoo.org> iobuffer-0.1.3-r1.ebuild: Keyword ~x86-macos. diff --git a/dev-ruby/iobuffer/iobuffer-1.0.0.ebuild b/dev-ruby/iobuffer/iobuffer-1.0.0.ebuild new file mode 100644 index 000000000000..42c1e2e2c032 --- /dev/null +++ b/dev-ruby/iobuffer/iobuffer-1.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-1.0.0.ebuild,v 1.1 2011/01/02 10:51:20 graaff Exp $ + +EAPI="2" +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem + +DESCRIPTION="IO::Buffer is a fast byte queue which is primarily intended for non-blocking I/O applications" +HOMEPAGE="http://mynyml.com/ruby/flexible-continuous-testing" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86 ~x86-macos" +SLOT="0" +IUSE="" + +each_ruby_prepare() { + sed -i "s/lib\/iobuffer/ext\/iobuffer/" spec/buffer_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "Failed to configure the extension." +} + +each_ruby_compile() { + emake -C ext || die "Failed to compile the extension." +} + +each_ruby_test() { + ${RUBY} -Iext -S spec spec/buffer_spec.rb +} + +each_ruby_install() { + emake -C ext install DESTDIR="${D}" || die "Failed to install the extension." +} |