diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2012-03-14 18:05:54 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2012-03-14 18:05:54 +0000 |
commit | 82902d88668ceb146426be36c25f346fac3b9827 (patch) | |
tree | 7f41c0d43b8960eb61479341d79fdf88622629ab /dev-ruby | |
parent | Add patch to fix bug 407299. (diff) | |
download | gentoo-2-82902d88668ceb146426be36c25f346fac3b9827.tar.gz gentoo-2-82902d88668ceb146426be36c25f346fac3b9827.tar.bz2 gentoo-2-82902d88668ceb146426be36c25f346fac3b9827.zip |
Fixed HOMEPAGE. Fixed SRC_URI. Added test.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/iobuffer/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/iobuffer/ChangeLog b/dev-ruby/iobuffer/ChangeLog index 2e28987d52c1..589ef223fc38 100644 --- a/dev-ruby/iobuffer/ChangeLog +++ b/dev-ruby/iobuffer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/iobuffer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.6 2012/03/14 15:06:42 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.7 2012/03/14 18:05:54 matsuu Exp $ + +*iobuffer-1.1.2-r1 (14 Mar 2012) + + 14 Mar 2012; MATSUU Takuto <matsuu@gentoo.org> +iobuffer-1.1.2-r1.ebuild: + Fixed HOMEPAGE. Fixed SRC_URI. Added test. *iobuffer-1.1.2 (14 Mar 2012) diff --git a/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild b/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild new file mode 100644 index 000000000000..10974c7addf8 --- /dev/null +++ b/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild,v 1.1 2012/03/14 18:05:54 matsuu Exp $ + +EAPI="4" +# jruby: mkmf +# rbx: Kernel(Autoload)#allocate (method_missing) +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem + +GITHUB_USER="tarcieri" + +DESCRIPTION="IO::Buffer is a fast byte queue which is primarily intended for non-blocking I/O applications" +HOMEPAGE="http://github.com/tarcieri/iobuffer" +SRC_URI="http://github.com/${GITHUB_USER}/iobuffer/tarball/v${PV} -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~x86-macos" +SLOT="0" +IUSE="" + +RUBY_S="${GITHUB_USER}-${PN}-*" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rspec )" + +all_ruby_prepare() { + rm .rspec || die +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "Failed to configure the extension." + sed -i -e 's:-Wl,--no-undefined::' \ + -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" ext/Makefile || die +} + +each_ruby_compile() { + emake -C ext || die "Failed to compile the extension." + cp ext/iobuffer_ext.so lib/ || die +} |