1 |
commit: 22540bc77964fda6f6260ccac99106972c9574f9 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 10 04:54:37 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 10 04:54:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22540bc7 |
7 |
|
8 |
dev-ruby/io-wait: add 0.2.3 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/io-wait/Manifest | 1 + |
13 |
dev-ruby/io-wait/io-wait-0.2.3.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/io-wait/Manifest b/dev-ruby/io-wait/Manifest |
17 |
index 25896ccd1cf2..145f709a1d06 100644 |
18 |
--- a/dev-ruby/io-wait/Manifest |
19 |
+++ b/dev-ruby/io-wait/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST io-wait-0.2.1.tar.gz 18944 BLAKE2B c77e0f839160d0129660003586f7785447e7b2e89df47d83ff6868bbdf1e667d432f0d84afb06b5bcc8f751c433da9c8bcd7b5fc0b701adbe2f10ae338dcacab SHA512 7e914ce7d6b66fabd1799567dd448124b7c1dd266bd1ce975b24a96f18c15b7dab20d2f68a7686aa8383d518783486370225b22a07fdb3c9fddae93278282427 |
22 |
+DIST io-wait-0.2.3.tar.gz 22171 BLAKE2B 359bf268aafcb2dcbdf59912a0973b96bf396801678a3aa2780e3bd20e8a01471404a269eaaced939e47e4e99c417eadb86f0f2bd6ccd11fc3256bb04ca05f4f SHA512 2fbea3419152cd83e411742dd074491bd78b6a077b68a2ea5d802bac671b839bb484a06654ca11f18f45deb1e33a9019dfae0a33eeda0696c1c14b05706a95ba |
23 |
|
24 |
diff --git a/dev-ruby/io-wait/io-wait-0.2.3.ebuild b/dev-ruby/io-wait/io-wait-0.2.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4def09c942da |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/io-wait/io-wait-0.2.3.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
35 |
+ |
36 |
+RUBY_FAKEGEM_BINWRAP="" |
37 |
+RUBY_FAKEGEM_EXTENSIONS="ext/io/wait/extconf.rb" |
38 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
39 |
+RUBY_FAKEGEM_GEMSPEC="io-wait.gemspec" |
40 |
+ |
41 |
+inherit ruby-fakegem |
42 |
+ |
43 |
+DESCRIPTION="Waits until IO is readable or writable without blocking" |
44 |
+HOMEPAGE="https://github.com/ruby/io-wait" |
45 |
+SRC_URI="https://github.com/ruby/io-wait/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="" |
51 |
+ |
52 |
+all_ruby_prepare() { |
53 |
+ sed -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ |
54 |
+ -e 's/git ls-files -z/find * -print0/' \ |
55 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die |
56 |
+ sed -e '/task :test/ s:^:#:' -i Rakefile || die |
57 |
+} |
58 |
+ |
59 |
+each_ruby_test() { |
60 |
+ ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die |
61 |
+} |