summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-05-04 13:58:06 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-05-04 13:58:06 +0200
commit69938dfcafb9584d776ff16fe04dff1fa606a2ee (patch)
treec09308b4a59e6e14ac8586f9c1c976baa6ecb917 /dev-ruby/hitimes
parentdev-util/pycharm-community: Remove old (diff)
downloadgentoo-69938dfcafb9584d776ff16fe04dff1fa606a2ee.tar.gz
gentoo-69938dfcafb9584d776ff16fe04dff1fa606a2ee.tar.bz2
gentoo-69938dfcafb9584d776ff16fe04dff1fa606a2ee.zip
dev-ruby/hitimes: Version bump to 1.2.4
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/hitimes')
-rw-r--r--dev-ruby/hitimes/Manifest1
-rw-r--r--dev-ruby/hitimes/hitimes-1.2.4.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest
index f390da916ae5..d649ef9acc55 100644
--- a/dev-ruby/hitimes/Manifest
+++ b/dev-ruby/hitimes/Manifest
@@ -1,2 +1,3 @@
DIST hitimes-1.2.2.gem 32256 SHA256 c44a808cafedd9a3571a1990668ce1f5f60b7e1ab6bd8b5feaa60edaf17bc39f SHA512 c12ae48444c22b90f7ca264c8a8a80917b605de03832a9ced9a03c442461dfa3f33dd67129ff512ee196af97895491a7f378fff5a26bfa09a8c50cf6feadb9ac WHIRLPOOL 8b7d66ab263fd58b000e29948209795361451fc5721d083fe86291233726616df9ddefa34c82e9b16bc7991859dbfc8b65ebc6c2e12f7e48a2be7f7fdc282f79
DIST hitimes-1.2.3.gem 31744 SHA256 644f56f7646a234d74c2b0bc08a8d5bd714b9bf494b604bab54b1473beca29bb SHA512 42b922d098dd2f5c6e4c698d9bb34e7b25ac94d36f339b29abea3c99c1be80ee0d31994ad39152bc914ea5d8bf5d92e5f506f8fba6d6d795b8febf7b03381566 WHIRLPOOL da8b7f326d7bbc45759e725d841e925cf66731aee86b5ade7c8e5a4cbdedf68001452b0105a0d4063e96d2bbc974876637a6e1326a66b7668d8a74cc8e97e162
+DIST hitimes-1.2.4.gem 32256 SHA256 9f026a767ccd2c50654d5772de3f3fc57aeba72ee4a7e481e8afdc7d24749ea8 SHA512 a4da8590297f4472ec6e98db0083e5fb5923284fea15e9c2da62476c1200f9cb6d12b77f369c374706457b5ce260dd1d9bfc93bf4c256cb1fbc63a4c463185c3 WHIRLPOOL f4a76a8e4ec2b48d2fd06f818410b1ceef3218c1d4c3c6666711d6f34841e728531b4c65e2a4f507fef225ac4e49132f8c4de2a48398ddaf72a243552f0d31fc
diff --git a/dev-ruby/hitimes/hitimes-1.2.4.ebuild b/dev-ruby/hitimes/hitimes-1.2.4.ebuild
new file mode 100644
index 000000000000..fdb7caed29df
--- /dev/null
+++ b/dev-ruby/hitimes/hitimes-1.2.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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
+}