summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-08-04 06:22:16 +0200
committerHans de Graaff <graaff@gentoo.org>2021-08-04 08:41:51 +0200
commit0f5e0ae2ad6f9ee392bcea7252e4286db18bcd5a (patch)
tree02057637bc0cc6fc0c31961a86bc6d1ab4633071 /dev-ruby/nio4r
parentapp-arch/pbzip2: sparc stable wrt bug #756880 (diff)
downloadgentoo-0f5e0ae2ad6f9ee392bcea7252e4286db18bcd5a.tar.gz
gentoo-0f5e0ae2ad6f9ee392bcea7252e4286db18bcd5a.tar.bz2
gentoo-0f5e0ae2ad6f9ee392bcea7252e4286db18bcd5a.zip
dev-ruby/nio4r: add 2.5.8
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/nio4r')
-rw-r--r--dev-ruby/nio4r/Manifest1
-rw-r--r--dev-ruby/nio4r/nio4r-2.5.8.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/nio4r/Manifest b/dev-ruby/nio4r/Manifest
index 02fcf3becd88..a56605127109 100644
--- a/dev-ruby/nio4r/Manifest
+++ b/dev-ruby/nio4r/Manifest
@@ -1,3 +1,4 @@
DIST nio4r-2.5.4.gem 110080 BLAKE2B 9aaed6cd4d74cf6ff3fed114d7c0c9162afb646aa6eadf294e0a6710dfca1e6b4ccf1eb8850c8704f3792eb6695034612813db08fbf74814556455db6ab48b4a SHA512 f7e383516ac6b55fd49339280e624a4c35f9cd2d31915b3d117189506522d967fc53a43cde75e8601f3fe0530e1322aeaa8c94a09289ddbefb2afd8d067341ec
DIST nio4r-2.5.5.gem 121344 BLAKE2B 5e63c528055c4db6b52de7e3f1a0f32aa8b1776d21c303a16030376e1548860a72eae4c2fea09ee5dd458e49e2b4f0da50fe80e4e82f5dbba44b194dce4c35fc SHA512 e0d661b17f44aa5b469061a9b22c1cb565d01d1cf5318e4db39dcc4452bff99774c250853511c2b9742d61ccec123fec76d375069bad74ecb2f411c4495a4121
DIST nio4r-2.5.7.gem 121856 BLAKE2B 3fda3dfb199eb2db20e76e4c2b27dc29e5ff7f7433e30e2499f65d8c1578d57bfcca749e793990c276b3beca7b869dfddb2302d62be1c89da22c3b97d00b5fbb SHA512 0173fd034e5fbb538bb465cf10a6ca74106c522e75129645911acf064bd5dfc60880ced3cb21a7b6a6ffdb32aedfb283d1f0ff8f6d591d3fcb427fef03abdf85
+DIST nio4r-2.5.8.gem 121856 BLAKE2B be79548761f52abab632b8e4660ab8557946079a51fe7f30c346f4f656ed2f8d0c8f2f463ed76a89bd4278bdfc0a0646ff2b8e0a815f97750836cb0bb250b9ef SHA512 3942403147882380b86f42c54a6d4e92c4e85dd3c0b5b9f473a05fcf98c041853e21d11d0481d1973342b5a4bfb59e02cfd523a44e9e45c3740627a45f7f99c7
diff --git a/dev-ruby/nio4r/nio4r-2.5.8.ebuild b/dev-ruby/nio4r/nio4r-2.5.8.ebuild
new file mode 100644
index 000000000000..40f25d7abfe2
--- /dev/null
+++ b/dev-ruby/nio4r/nio4r-2.5.8.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/nio4r/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="A high performance selector API for monitoring IO objects"
+HOMEPAGE="https://github.com/socketry/nio4r"
+
+LICENSE="MIT || ( BSD GPL-2 )"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+# Note that nio4r bundles a patched copy of libev, and without these
+# patches the tests fail: https://github.com/celluloid/nio4r/issues/15
+
+all_ruby_prepare() {
+ sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' -e '1irequire "openssl"' spec/spec_helper.rb || die
+ sed -e '/extension/ s:^:#:' -i Rakefile || die
+}