diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/coolio | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/coolio')
-rw-r--r-- | dev-ruby/coolio/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/coolio/coolio-1.5.3.ebuild | 57 | ||||
-rw-r--r-- | dev-ruby/coolio/metadata.xml | 8 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-ruby/coolio/Manifest b/dev-ruby/coolio/Manifest new file mode 100644 index 000000000000..62bef7c7849e --- /dev/null +++ b/dev-ruby/coolio/Manifest @@ -0,0 +1,3 @@ +DIST cool.io-1.5.3.gem 112128 BLAKE2B f343ee73e3796744ec21d3af13e92a0a462e10b262543c2d77ab0dd6c5250bbd6cf0d6579646d146983df1c2b288717f3d4e9f1d5d0cded58a9b1422e497dee5 SHA512 6ef61713acdccf951ebd64018a3d9ec83e2655895994fe23842e18cd2556f4d35ec42144577a83b30ef369a9047a58d1bba2224145653db0b7c203dfdca6c3c3 +EBUILD coolio-1.5.3.ebuild 1449 BLAKE2B fba86e6887dae5d42868a371c1268a3a55f519eb240cc6f49a5a2518d056e953817fc9a3e5ac6951ee5ee18351e87ab9614c02aa5982a77259ff18c421dcf94e SHA512 e9cdebbb5f1e0a5718102e0d6218f83ce09584b2f19a843566dbe7c74da7c2a4762c82880ac9d8820751c1a5262c36f52b65b4c50bbf5b6756b90d878a469083 +MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 diff --git a/dev-ruby/coolio/coolio-1.5.3.ebuild b/dev-ruby/coolio/coolio-1.5.3.ebuild new file mode 100644 index 000000000000..67d0237c3382 --- /dev/null +++ b/dev-ruby/coolio/coolio-1.5.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +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="https://coolio.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# cool.io includes a bundled version of libev that is patched to work correctly with ruby. + +ruby_add_rdepend ">=dev-ruby/iobuffer-1" + +all_ruby_prepare() { + rm -r Gemfile* 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 + + # Avoid dependency on rake-compiler + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die + + # Remove specs that require network connectivity + rm -f spec/dns_spec.rb || die + + # Use one address consistently + sed -i -e 's/localhost/127.0.0.1/' spec/{udp_socket,tcp_server,iobuffer}_spec.rb || die +} + +each_ruby_configure() { + pushd ext/cool.io || die + ${RUBY} extconf.rb || die + popd || die +} + +each_ruby_compile() { + pushd ext/cool.io || die + emake V=1 + popd || die + cp ext/cool.io/cool.io_ext$(get_modname) lib/ || die +} diff --git a/dev-ruby/coolio/metadata.xml b/dev-ruby/coolio/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/dev-ruby/coolio/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> +</maintainer> +</pkgmetadata> |