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 107E1139694 for ; Sat, 5 Aug 2017 06:14:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43B79E0D6F; Sat, 5 Aug 2017 06:14:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12C43E0D47 for ; Sat, 5 Aug 2017 06:14:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C0E393418AF for ; Sat, 5 Aug 2017 06:14:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F51875EE for ; Sat, 5 Aug 2017 06:14:02 +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: <1501912365.b1b385eb50047606ca80af8f886a99013b28ee4c.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.6.ebuild X-VCS-Directories: dev-ruby/hitimes/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b1b385eb50047606ca80af8f886a99013b28ee4c X-VCS-Branch: master Date: Sat, 5 Aug 2017 06:14:02 +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: c6d44fde-9c58-44c1-a413-9feb5f90b95f X-Archives-Hash: 817d73f514bbab9e8bf4cce3e603a32f commit: b1b385eb50047606ca80af8f886a99013b28ee4c Author: Hans de Graaff gentoo org> AuthorDate: Sat Aug 5 05:52:45 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Aug 5 05:52:45 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1b385eb dev-ruby/hitimes: add 1.2.6 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/hitimes/Manifest | 1 + dev-ruby/hitimes/hitimes-1.2.6.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest index 853501e1e60..9c70e69f87d 100644 --- a/dev-ruby/hitimes/Manifest +++ b/dev-ruby/hitimes/Manifest @@ -1,2 +1,3 @@ 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 +DIST hitimes-1.2.6.gem 32256 SHA256 5939da5baf4bed890b481d77dc37d481297d0f06f1d2569f4c5c9a2112144218 SHA512 41954000f38f4671b8ac7b5e408aa4a8d36756cee7807a5fc8b1584ecd463c38c36e9ac06966e2302730042193faea1a1a35dbb06f7c53bc594af8420f687257 WHIRLPOOL f60be9b82dbfd73705016c70cc1ff1a9ca47c2874c689d2658725f26bfa8cb1e97a420696768e02e18209a6909c6bc52365b8157d32b4f42efff7874c120fdb4 diff --git a/dev-ruby/hitimes/hitimes-1.2.6.ebuild b/dev-ruby/hitimes/hitimes-1.2.6.ebuild new file mode 100644 index 00000000000..2c939425fb9 --- /dev/null +++ b/dev-ruby/hitimes/hitimes-1.2.6.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 +}