diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-04-03 10:52:58 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-04-03 10:52:58 +0000 |
commit | 305cbb06a6430bc571c588ab8df4037d5d00e69f (patch) | |
tree | 936c710f5d3899c307ad0b3fd6bfa4bcd6e65183 /dev-ruby/coolio | |
parent | keyword arm64, tested on cortex-a53 hardware (diff) | |
download | gentoo-2-305cbb06a6430bc571c588ab8df4037d5d00e69f.tar.gz gentoo-2-305cbb06a6430bc571c588ab8df4037d5d00e69f.tar.bz2 gentoo-2-305cbb06a6430bc571c588ab8df4037d5d00e69f.zip |
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/coolio')
-rw-r--r-- | dev-ruby/coolio/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/coolio/coolio-1.3.0.ebuild | 51 |
2 files changed, 58 insertions, 2 deletions
diff --git a/dev-ruby/coolio/ChangeLog b/dev-ruby/coolio/ChangeLog index 462058f821b8..da945846cb7b 100644 --- a/dev-ruby/coolio/ChangeLog +++ b/dev-ruby/coolio/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/coolio -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coolio/ChangeLog,v 1.10 2014/10/11 00:39:27 mrueg Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coolio/ChangeLog,v 1.11 2015/04/03 10:52:58 graaff Exp $ + +*coolio-1.3.0 (03 Apr 2015) + + 03 Apr 2015; Hans de Graaff <graaff@gentoo.org> +coolio-1.3.0.ebuild: + Version bump. 11 Oct 2014; Manuel Rüger <mrueg@gentoo.org> coolio-1.2.1.ebuild: Add ruby21 target. diff --git a/dev-ruby/coolio/coolio-1.3.0.ebuild b/dev-ruby/coolio/coolio-1.3.0.ebuild new file mode 100644 index 000000000000..61ce9fec7cf7 --- /dev/null +++ b/dev-ruby/coolio/coolio-1.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coolio/coolio-1.3.0.ebuild,v 1.1 2015/04/03 10:52:58 graaff Exp $ + +EAPI=5 + +# iobuffer: -rbx +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec2" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_NAME="cool.io" + +RUBY_FAKEGEM_GEMSPEC="cool.io.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A high performance event framework for Ruby which uses the libev C library" +HOMEPAGE="http://coolio.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND+=" >=dev-libs/libev-4.19" +RDEPEND+=" >=dev-libs/libev-4.19" + +RUBY_PATCHES=( "${PN}-1.1.0-libev.patch" "${PN}-1.1.0-rubyio.patch" ) + +ruby_add_rdepend ">=dev-ruby/iobuffer-1" + +all_ruby_prepare() { + rm -r Gemfile* ext/libev ext/cool.io/libev.c lib/.gitignore || die + + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '28i s.add_dependency "iobuffer"' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove specs that require network connectivity + rm spec/dns_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/cool.io extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/cool.io + cp ext/cool.io/cool.io_ext$(get_modname) lib/ || die +} |