From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-909345-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B6821395E1 for <garchives@archives.gentoo.org>; Wed, 2 Nov 2016 05:52:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E3BBE0C28; Wed, 2 Nov 2016 05:52:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E994CE0C28 for <gentoo-commits@lists.gentoo.org>; Wed, 2 Nov 2016 05:52:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1842A34108B for <gentoo-commits@lists.gentoo.org>; Wed, 2 Nov 2016 05:52:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 242F524B0 for <gentoo-commits@lists.gentoo.org>; Wed, 2 Nov 2016 05:52:28 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org> Message-ID: <1478065897.b3368bbf5a5c7566fe178cf7a23427c9b5c30b51.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/yajl-ruby/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/yajl-ruby/Manifest dev-ruby/yajl-ruby/yajl-ruby-1.3.0.ebuild X-VCS-Directories: dev-ruby/yajl-ruby/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b3368bbf5a5c7566fe178cf7a23427c9b5c30b51 X-VCS-Branch: master Date: Wed, 2 Nov 2016 05:52:28 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9eee724a-bf35-41f4-95a9-9efa9c963bc3 X-Archives-Hash: da1ee1d7ff14420129bd3820f10fd5f0 commit: b3368bbf5a5c7566fe178cf7a23427c9b5c30b51 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Nov 2 05:51:37 2016 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Nov 2 05:51:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3368bbf dev-ruby/yajl-ruby: add 1.3.0 Package-Manager: portage-2.3.0 dev-ruby/yajl-ruby/Manifest | 1 + dev-ruby/yajl-ruby/yajl-ruby-1.3.0.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/yajl-ruby/Manifest b/dev-ruby/yajl-ruby/Manifest index c69fc24..f0437e2 100644 --- a/dev-ruby/yajl-ruby/Manifest +++ b/dev-ruby/yajl-ruby/Manifest @@ -1,2 +1,3 @@ DIST yajl-ruby-1.1.0.gem 557056 SHA256 95b85940c96c0745e780f363170b8bd1b7b66d36073a061b1461b1788834446a SHA512 bde81b5fbe467c6403d27b49075822ff07b5cf356c05f711757fea5162543af36846f1f1da36acd5da359133f05e2cb3186215dc5597f3255da74c76cc8bf3ec WHIRLPOOL baa8f6ec2bfe70cd8f3441c971b2854a99b9f132eb2cae22f9fe6a9de7c7ccbf84f0f3ec982296d4cbc998051529b464aaf16b268049193aa4170ec7ec1ca11b DIST yajl-ruby-1.2.1.gem 549888 SHA256 6e27d8d37744e346004af7d8e23d133703acd54edde636ff9828d115e2597b7f SHA512 32722b7c8a8408752716654f91b50aad98fd24ef72438d69531553ece4f63ffd3f78d7745a9e053e297f2c4a96af7638eea6271893b586a6a01482f71ab27fe6 WHIRLPOOL 3ecc638e17b4fb5727bbfb05cae628d79545dca41bff73fe6694e1ca9f3a89a9467c5cfb59963c4ae9959f4a5e2cea6f9335c6fd2623590acb82589d3dd3727d +DIST yajl-ruby-1.3.0.gem 550912 SHA256 f1941b3606aa8da0800ab0a5560929454a1ba9c7ec41cb5a2905eabb2f155069 SHA512 351e46fb7037541096172bac5c3dcadaa6ac9650ac6aae46de2b4ba31b82427f596bade2b233d0d8e916927800e83b7930b5ceeb9d7340edd02c323f9c0b3116 WHIRLPOOL 8de8b6575f3972dbb2503315d33f5701f6141b0ce11f9f3b027a7c15ab257823e772d14400dc3db94b41135e90b25c89a89931fb2670a7e0de72a0ee40d885dc diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.3.0.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.3.0.ebuild new file mode 100644 index 00000000..8e221ac --- /dev/null +++ b/dev-ruby/yajl-ruby/yajl-ruby-1.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library" +HOMEPAGE="https://github.com/brianmario/yajl-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~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" +IUSE="" + +RDEPEND="${RDEPEND} dev-libs/yajl" +DEPEND="${DEPEND} dev-libs/yajl" + +each_ruby_prepare() { + # Make sure the right ruby interpreter is used + sed -e '/capture/ s:ruby:'${RUBY}':' -i spec/parsing/large_number_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/yajl extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/yajl CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/yajl/yajl$(get_modname) lib/yajl/ || die +} + +each_ruby_test() { + # Set RUBYLIB to pass search path on to additional interpreters that + # are started. + RUBYLIB=lib ruby-ng_rspec || die +}