diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-21 07:41:51 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-21 07:42:05 +0100 |
commit | f16d075ecca4a91dee305fc29d7d2256b5ceda44 (patch) | |
tree | bc2387ff7617a408da85caafdc442606bd925aca /dev-ruby | |
parent | dev-ruby/rack: add 2.2.9, 3.0.10 (diff) | |
download | gentoo-f16d075ecca4a91dee305fc29d7d2256b5ceda44.tar.gz gentoo-f16d075ecca4a91dee305fc29d7d2256b5ceda44.tar.bz2 gentoo-f16d075ecca4a91dee305fc29d7d2256b5ceda44.zip |
dev-ruby/nio4r: add 2.7.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/nio4r/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/nio4r/nio4r-2.7.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/nio4r/Manifest b/dev-ruby/nio4r/Manifest index 3ac33138ca41..64efc36e79ed 100644 --- a/dev-ruby/nio4r/Manifest +++ b/dev-ruby/nio4r/Manifest @@ -1,3 +1,4 @@ DIST nio4r-2.5.9.gem 122368 BLAKE2B 4238e2963604539207e1adc7ee78430e4f501ea8b71d807ee4f3c44322d16612779777f11b76313aaad6d252321435854f5b4905f83a2fe03c9d71be20b7a718 SHA512 d1c52896f186d19eb089a94d74ccadb427e64c204af149aa83a5a4dda3f0edd1bd2bae94afd21fcd58e3c2b9e2c17278a18717c0905de80e45540d13eeefd9e5 DIST nio4r-2.6.1.gem 123904 BLAKE2B 5fbfe2a67fbd9fb6f49607358827391a56760c79435748f8fca0cbe6408f145cba224641b77afa8f6f49b1cd7e2fdd93e46e5aa3c75496f6539d66216ec3430b SHA512 bebf7f737f5e63107d77c4237a5750aa10f9bd1136deaa6bb1a8e5cab703d425a3a94a8f617df144e603f4f1f85ef62852740604a981e7dda41f0c43ae250406 DIST nio4r-2.7.0.gem 124416 BLAKE2B f02a16cf45dc2ea547dd8e036ddff5c37c24e9188db9ab4f817a55243f87f78264ed11bcd8d055e244c655aea08fa4922cd53dcae39e090031c87d0d78909c7b SHA512 aeb0bd3e727fa6999a314cd2b15a35035694f41294f7e9c406a72fd50a7a7a02311efec8c5795a116fd3793bf6b81e17d884e156b844722933e45d056f0cbeb9 +DIST nio4r-2.7.1.gem 124416 BLAKE2B 4ae03731b0ae51bc51cfd12049e4d9beb9141feeb4196edafb26dd5ea4cc88e3cecaf0b121cd28c142cb509f991d22af5befe593443f7ecc420eb403fa83c0a1 SHA512 acade5696fe343b92f35f4bcfb7fbda48c8d9bbacff8e0571cffa193ade48d0c8f184db3480084bf3d796e5bd9176b285be4a52e4470c406bf867f538f1bfd4a diff --git a/dev-ruby/nio4r/nio4r-2.7.1.ebuild b/dev-ruby/nio4r/nio4r-2.7.1.ebuild new file mode 100644 index 000000000000..71be4cfe731f --- /dev/null +++ b/dev-ruby/nio4r/nio4r-2.7.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="changes.md readme.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/nio4r/extconf.rb) + +inherit flag-o-matic ruby-fakegem + +DESCRIPTION="A high performance selector API for monitoring IO objects" +HOMEPAGE="https://github.com/socketry/nio4r" + +LICENSE="MIT || ( BSD GPL-2 )" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" + +# 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() { + # See bug #855869 and its large number of dupes in bundled libev copies. + filter-lto + append-flags -fno-strict-aliasing + + sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die + sed -e '/extension/ s:^:#:' -i Rakefile || die +} |