summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-29 07:55:38 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-29 11:06:49 +0200
commit1b90a39f67f70d56a5e15fc8c4f1005da0c69317 (patch)
tree94d964556c20c4abfd8b61a5069c6278a2a87bd8 /dev-ruby
parentdev-ruby/did_you_mean: add 1.3.1 (diff)
downloadgentoo-1b90a39f67f70d56a5e15fc8c4f1005da0c69317.tar.gz
gentoo-1b90a39f67f70d56a5e15fc8c4f1005da0c69317.tar.bz2
gentoo-1b90a39f67f70d56a5e15fc8c4f1005da0c69317.zip
dev-ruby/hitimes: add 2.0.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/hitimes/Manifest1
-rw-r--r--dev-ruby/hitimes/hitimes-2.0.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest
index 179ce012bf76..f17d6d8b635d 100644
--- a/dev-ruby/hitimes/Manifest
+++ b/dev-ruby/hitimes/Manifest
@@ -1,3 +1,4 @@
DIST hitimes-1.2.6.gem 32256 BLAKE2B 8e8b2338e43776256d3c4c208dc178f9594461b53d03e2101e199bc588f5aed85826f25e5133082a861ac45118a041680e27e53d74a3eb86545ca6e724b5ef95 SHA512 41954000f38f4671b8ac7b5e408aa4a8d36756cee7807a5fc8b1584ecd463c38c36e9ac06966e2302730042193faea1a1a35dbb06f7c53bc594af8420f687257
DIST hitimes-1.3.0.gem 32768 BLAKE2B 2b9158c661b2f885ba043990a0d8df51bedf35cbaff24f9a420a5a4572270eb30b16cd7d115ab73387c1f0b31bf7ca24659c1dea61e935e6245994ec10a03b71 SHA512 09c7d15be681d85c5ab89235909ad5680b171315e0883b636eb26459d2ad7a876fe1bd79b261a8bd80c22e01b42e04b5992e311655b6179c8dce559b48750c03
DIST hitimes-1.3.1.gem 32768 BLAKE2B 8eb1d45896b52e51fe01fadbc3373be8a0a6262d872ee584ec94cd240a42770381fe0e355c2898df245885b4009f3684ea152d124ebb30faf8eccb7ced1bfc8d SHA512 47a276d9ca26e6ea5612b73638f9a46965123a0040fe8d4ec5559edaccbdb72d3ec7f9e9bf6aebb3f0595107f941fa88501578fd3b8a3bd79b937538aeadd5d4
+DIST hitimes-2.0.0.gem 27136 BLAKE2B e2bab57b70d63f3b2bbe29584b7051f6c829f7957da483fd83b38ffee4d5f6a8c1af16c2ee8aa71d56ee71160e7df87a46e420d70d0430e514ead6576453fc7e SHA512 06f1c17d9914054bc17244f1a22761c98f7409cb401136e582deec18bbee07358b339ddd49ddfbc01cf9eb46bf84fbf5e2dccd6c77eb36e98c357e99687e8201
diff --git a/dev-ruby/hitimes/hitimes-2.0.0.ebuild b/dev-ruby/hitimes/hitimes-2.0.0.ebuild
new file mode 100644
index 000000000000..077a13c814b0
--- /dev/null
+++ b/dev-ruby/hitimes/hitimes-2.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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="test"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ sed -i -e "/RUBY_VERSION >= '1.9.2'/,+4d" spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:spec:. -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die
+}