diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-05-02 07:47:00 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-05-02 07:52:33 +0200 |
commit | 7f1b0dd973e5d3307afdc85cef2c8016dea66a14 (patch) | |
tree | 96c6212b4df681ccb926fe170e83608ebe68a95a /dev-ruby | |
parent | dev-perl/App-cpanminus: Stabilize 1.704.700 arm64, #930428 (diff) | |
download | gentoo-7f1b0dd973e5d3307afdc85cef2c8016dea66a14.tar.gz gentoo-7f1b0dd973e5d3307afdc85cef2c8016dea66a14.tar.bz2 gentoo-7f1b0dd973e5d3307afdc85cef2c8016dea66a14.zip |
dev-ruby/hitimes: add 3.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/hitimes/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/hitimes/hitimes-3.0.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest index 658c6261a3b8..61e0e656a617 100644 --- a/dev-ruby/hitimes/Manifest +++ b/dev-ruby/hitimes/Manifest @@ -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 diff --git a/dev-ruby/hitimes/hitimes-3.0.0.ebuild b/dev-ruby/hitimes/hitimes-3.0.0.ebuild new file mode 100644 index 000000000000..86f6462d64f3 --- /dev/null +++ b/dev-ruby/hitimes/hitimes-3.0.0.ebuild @@ -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 +} |