1 |
commit: 4457fa04dc4954e8fe3e0a968421c2671d02bf38 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 2 05:57:59 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 06:25:15 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4457fa04 |
7 |
|
8 |
dev-ruby/nio4r: add 1.2.1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-ruby/nio4r/Manifest | 1 + |
13 |
dev-ruby/nio4r/nio4r-1.2.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/nio4r/Manifest b/dev-ruby/nio4r/Manifest |
17 |
index e1d7b0c..fcfb769 100644 |
18 |
--- a/dev-ruby/nio4r/Manifest |
19 |
+++ b/dev-ruby/nio4r/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST nio4r-1.1.1.gem 91648 SHA256 5d86fd9f8872982fd4fa623bdaafe45efe21353b64fd09632e486f1b4d40959e SHA512 3163fd7efe05200ff88d284e932244f9a8f2e3b0145c6e732cdf8cd253ca334e1ade5b7d9c61a2d69ce193fa86501f1756ab3602181754426c7a268996537ff6 WHIRLPOOL 29501589d7eac09717c898dfdf80107653e68dcf5e84a9f96d1609c377d371447f17c8119313de99e4a9b3d0d984dbf44ab8ce3cdf3358ce99667266aabbd8a9 |
22 |
DIST nio4r-1.2.0.gem 93696 SHA256 3427522115c07a9326c5859ca3cb261d0d7075f4289e27dd3982806902de6cbc SHA512 6d51195658f32873ce7698ccf30b1b8852d1e5cd4fdaba46533dbb56a3a999df0d22badf7504193d5f8458b362f147f3a9768b5d981b2c696246e1f21c6f1579 WHIRLPOOL ce492b96af9ae27e90f501a900097ba75209a2afc3d7e18737ce3c01b3238fec7647a89fb453c19ecc83416791d2b81efd2004f4d7f8265f63d48957f9d190be |
23 |
+DIST nio4r-1.2.1.gem 94208 SHA256 0a5a93676c7c116c51f00366800a7c039d67393dadb4b873059375d7cfa9b6a9 SHA512 3136863955bd6f4d489955bae9baf2fb527447c0e71dade1a05402f3e7c8570bf1dd9b8335d70d7303ec4df0a236b13e4ede74ce9154be00a108afcd7c6b7f40 WHIRLPOOL acb063c6a5e9cb4df6096ecd5bebc9e5d1b2968d35899f05b7110b0037bb37862942e01c44fcbd2731bcb492f9e7fd9acd70a23aee375dae93406688ac7ff593 |
24 |
|
25 |
diff --git a/dev-ruby/nio4r/nio4r-1.2.1.ebuild b/dev-ruby/nio4r/nio4r-1.2.1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..171f9b7 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/nio4r/nio4r-1.2.1.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+USE_RUBY="ruby20 ruby21 ruby22" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
+ |
41 |
+RUBY_FAKEGEM_TASK_DOC="" |
42 |
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="A high performance selector API for monitoring IO objects" |
47 |
+HOMEPAGE="https://github.com/celluloid/nio4r" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
+IUSE="" |
53 |
+ |
54 |
+# Note that nio4r bundles a patched copy of libev, and without these |
55 |
+# patches the tests fail: https://github.com/celluloid/nio4r/issues/15 |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' spec/spec_helper.rb || die |
59 |
+ sed -e '/extension/ s:^:#:' -i Rakefile || die |
60 |
+} |
61 |
+ |
62 |
+each_ruby_configure() { |
63 |
+ ${RUBY} -Cext/${PN} extconf.rb || die |
64 |
+} |
65 |
+ |
66 |
+each_ruby_compile() { |
67 |
+ emake V=1 -Cext/${PN} |
68 |
+ cp ext/${PN}/*$(get_modname) lib/ || die |
69 |
+} |