summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-09-14 02:08:00 +0200
committerManuel Rüger <mrueg@gentoo.org>2015-09-14 02:08:00 +0200
commit08cd33c60b729f45869e5f6fd6e3a45ee739f4fc (patch)
treeb92b37d14490aef1119e0143e3a7bca171e98490
parentapp-backup/bareos: fix ncurses slot deps (diff)
downloadgentoo-08cd33c60b729f45869e5f6fd6e3a45ee739f4fc.tar.gz
gentoo-08cd33c60b729f45869e5f6fd6e3a45ee739f4fc.tar.bz2
gentoo-08cd33c60b729f45869e5f6fd6e3a45ee739f4fc.zip
dev-ruby/hitimes: Version bump
Package-Manager: portage-2.2.20.1
-rw-r--r--dev-ruby/hitimes/Manifest1
-rw-r--r--dev-ruby/hitimes/hitimes-1.2.3.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest
index d0895cdc451b..f390da916ae5 100644
--- a/dev-ruby/hitimes/Manifest
+++ b/dev-ruby/hitimes/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/hitimes/hitimes-1.2.3.ebuild b/dev-ruby/hitimes/hitimes-1.2.3.ebuild
new file mode 100644
index 000000000000..bfce40db091a
--- /dev/null
+++ b/dev-ruby/hitimes/hitimes-1.2.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 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 ~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
+}