mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/hitimes: add 3.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST hitimes-2.0.0.gem 27136 BLAKE2B e2bab57b70d63f3b2bbe29584b7051f6c829f7957da483fd83b38ffee4d5f6a8c1af16c2ee8aa71d56ee71160e7df87a46e420d70d0430e514ead6576453fc7e SHA512 06f1c17d9914054bc17244f1a22761c98f7409cb401136e582deec18bbee07358b339ddd49ddfbc01cf9eb46bf84fbf5e2dccd6c77eb36e98c357e99687e8201
|
||||
DIST hitimes-3.0.0.tar.gz 28269 BLAKE2B 3ff4299484cc859763e4e25bb1bb25293cc2e956e48469f87a517da86313fc92912f2dab4174ac0474c0226bdb76d4dd9b4a3a88f480eb3325eaeee19a7d1dd9 SHA512 e2311b58d5b44d45e754b4a9116fd371a4435356c207bea3484b2eff8d3f06f8ceb13fc51eb76e2bd040febfe75f8ce1c1b78135a351a5f7d93ad28f1f129b33
|
||||
|
||||
31
dev-ruby/hitimes/hitimes-3.0.0.ebuild
Normal file
31
dev-ruby/hitimes/hitimes-3.0.0.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32 ruby33"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="hitimes.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A fast, high resolution timer library"
|
||||
HOMEPAGE="https://github.com/copiousfreetime/hitimes"
|
||||
SRC_URI="https://github.com/copiousfreetime/hitimes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '/\(focus\|pride\)/ s:^:#:' \
|
||||
-i spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:spec:. -rminitest/autorun -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die
|
||||
}
|
||||
Reference in New Issue
Block a user