dev-ruby/hitimes: cleanup

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2020-08-20 00:23:43 +02:00
parent 070351ef07
commit d7450c7fe1
2 changed files with 0 additions and 38 deletions

View File

@@ -1,2 +1 @@
DIST hitimes-1.3.1.gem 32768 BLAKE2B 8eb1d45896b52e51fe01fadbc3373be8a0a6262d872ee584ec94cd240a42770381fe0e355c2898df245885b4009f3684ea152d124ebb30faf8eccb7ced1bfc8d SHA512 47a276d9ca26e6ea5612b73638f9a46965123a0040fe8d4ec5559edaccbdb72d3ec7f9e9bf6aebb3f0595107f941fa88501578fd3b8a3bd79b937538aeadd5d4
DIST hitimes-2.0.0.gem 27136 BLAKE2B e2bab57b70d63f3b2bbe29584b7051f6c829f7957da483fd83b38ffee4d5f6a8c1af16c2ee8aa71d56ee71160e7df87a46e420d70d0430e514ead6576453fc7e SHA512 06f1c17d9914054bc17244f1a22761c98f7409cb401136e582deec18bbee07358b339ddd49ddfbc01cf9eb46bf84fbf5e2dccd6c77eb36e98c357e99687e8201

View File

@@ -1,37 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
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="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_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
}