1 |
commit: aded905d23652f250561889db541bf96949ba4c3 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 30 04:57:16 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 30 04:57:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aded905d |
7 |
|
8 |
dev-ruby/yajl-ruby: add 1.4.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-ruby/yajl-ruby/Manifest | 1 + |
13 |
dev-ruby/yajl-ruby/yajl-ruby-1.4.0.ebuild | 45 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/yajl-ruby/Manifest b/dev-ruby/yajl-ruby/Manifest |
17 |
index 173f184e5e4..2ea732ab4ee 100644 |
18 |
--- a/dev-ruby/yajl-ruby/Manifest |
19 |
+++ b/dev-ruby/yajl-ruby/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST yajl-ruby-1.3.0.gem 550912 BLAKE2B 1fe5fd43809fec2bf06d8db14cb6cc6ac5fe59dea8afc12d4c8ca6d0ba7c1095f307575c86cdd6954ce0b5756de3fc2232fbd60398bdf1902da005c6d8242031 SHA512 351e46fb7037541096172bac5c3dcadaa6ac9650ac6aae46de2b4ba31b82427f596bade2b233d0d8e916927800e83b7930b5ceeb9d7340edd02c323f9c0b3116 |
22 |
DIST yajl-ruby-1.3.1.gem 550912 BLAKE2B 809608b5c767c560cf40a0a8d4160f17092762788af9c66e729762ade50fbb0cccd266f1bbd411076ef4b2dc7a4cdfcdeeb552b6d86a58a0d9a38ebf1bad638c SHA512 f18b47f1fd0b039bfec01db0ee298296199fbf91b22a00042e1220a1d8471f72424c082b696829e48ce7dee7514510dd731c2bc36fe29bd08ba7246c820621f4 |
23 |
+DIST yajl-ruby-1.4.0.gem 556544 BLAKE2B 8eea447ef98cdd9b48fe6c91f2a385740339e78e6395b2f63add8757fe437dfd4ae721b604ca5b381c59e36412e1807c930730bcc1a7c7f921c50ccd7f03857b SHA512 63407542a58231305d1cf326de09e8fdb0f4f5bbf28d3b83a3d8f4099db2a425b7a310fc23c62a37681cb24b50d2ce9d10a6641e07be16b52783ea7401ec7ca5 |
24 |
|
25 |
diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.4.0.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..8c309083d19 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/yajl-ruby/yajl-ruby-1.4.0.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+USE_RUBY="ruby23 ruby24 ruby25" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
41 |
+ |
42 |
+RUBY_FAKEGEM_TASK_DOC="" |
43 |
+ |
44 |
+inherit multilib ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library" |
47 |
+HOMEPAGE="https://github.com/brianmario/yajl-ruby" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
+IUSE="" |
53 |
+ |
54 |
+RDEPEND="${RDEPEND} dev-libs/yajl" |
55 |
+DEPEND="${DEPEND} dev-libs/yajl" |
56 |
+ |
57 |
+each_ruby_prepare() { |
58 |
+ # Make sure the right ruby interpreter is used |
59 |
+ sed -e '/capture/ s:ruby:'${RUBY}':' -i spec/parsing/large_number_spec.rb || die |
60 |
+} |
61 |
+ |
62 |
+each_ruby_configure() { |
63 |
+ ${RUBY} -Cext/yajl extconf.rb || die "extconf.rb failed" |
64 |
+} |
65 |
+ |
66 |
+each_ruby_compile() { |
67 |
+ emake -Cext/yajl CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 |
68 |
+ cp ext/yajl/yajl$(get_modname) lib/yajl/ || die |
69 |
+} |
70 |
+ |
71 |
+each_ruby_test() { |
72 |
+ # Set RUBYLIB to pass search path on to additional interpreters that |
73 |
+ # are started. |
74 |
+ RUBYLIB=lib ruby-ng_rspec || die |
75 |
+} |