From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 9AE73139694 for ; Fri, 26 May 2017 06:19:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBEB221C092; Fri, 26 May 2017 06:19:45 +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 A78F121C092 for ; Fri, 26 May 2017 06:19:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A8B333416A1 for ; Fri, 26 May 2017 06:19:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A55A7466 for ; Fri, 26 May 2017 06:19:43 +0000 (UTC) From: "Hans de Graaff" 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" Message-ID: <1495779043.d130e5492fc05cacd68af2b59aa0a7a4c9a7f9a5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/hitimes/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/hitimes/Manifest dev-ruby/hitimes/hitimes-1.2.5.ebuild X-VCS-Directories: dev-ruby/hitimes/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d130e5492fc05cacd68af2b59aa0a7a4c9a7f9a5 X-VCS-Branch: master Date: Fri, 26 May 2017 06:19:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fb90e76b-8c33-426e-8505-f868d8d3e7a3 X-Archives-Hash: 885326060c1d3f62895c778aebfde12a commit: d130e5492fc05cacd68af2b59aa0a7a4c9a7f9a5 Author: Hans de Graaff gentoo org> AuthorDate: Fri May 26 06:10:43 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri May 26 06:10:43 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d130e549 dev-ruby/hitimes: add 1.2.5 Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-ruby/hitimes/Manifest | 1 + dev-ruby/hitimes/hitimes-1.2.5.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest index 31259b517db..853501e1e60 100644 --- a/dev-ruby/hitimes/Manifest +++ b/dev-ruby/hitimes/Manifest @@ -1 +1,2 @@ DIST hitimes-1.2.4.gem 32256 SHA256 9f026a767ccd2c50654d5772de3f3fc57aeba72ee4a7e481e8afdc7d24749ea8 SHA512 a4da8590297f4472ec6e98db0083e5fb5923284fea15e9c2da62476c1200f9cb6d12b77f369c374706457b5ce260dd1d9bfc93bf4c256cb1fbc63a4c463185c3 WHIRLPOOL f4a76a8e4ec2b48d2fd06f818410b1ceef3218c1d4c3c6666711d6f34841e728531b4c65e2a4f507fef225ac4e49132f8c4de2a48398ddaf72a243552f0d31fc +DIST hitimes-1.2.5.gem 32256 SHA256 01a86a5bf571a6787877347226aa36e18d81b48cdc25c014e92ddfaeece542b5 SHA512 b59915b96076bb229213710bfe21a8efb1602ea01a7b7559e91ae770b1051300901b572655c0c030ad543632b57443fd0ff34296b9018376cdc40d460198c5e3 WHIRLPOOL 25abc1b7f95bfda45ce9fc9370e952e3251d3c6054deb28277ce056e5e4823c77ed68681a9319ffc3b76f835bc97dc96cd9b9aa8c9d012c1d06e533b8d4c19a8 diff --git a/dev-ruby/hitimes/hitimes-1.2.5.ebuild b/dev-ruby/hitimes/hitimes-1.2.5.ebuild new file mode 100644 index 00000000000..2c939425fb9 --- /dev/null +++ b/dev-ruby/hitimes/hitimes-1.2.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A fast, high resolution timer library" +HOMEPAGE="https://github.com/copiousfreetime/hitimes" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/RUBY_VERSION >= '1.9.2'/,+4d" spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/hitimes/c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/hitimes/c V=1 + cp ext/hitimes/c/hitimes$(get_modname) lib/hitimes || die +} + +each_ruby_test() { + ${RUBY} -Ilib:spec:. -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die +}