diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-03 00:00:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-03 00:00:22 +0100 |
commit | a98588cfddf3d6e88a5f17d7f399b695163c7a85 (patch) | |
tree | 9f786257ac4bfd6be23a0d585c4b6c17361d37d2 /dev-ruby/hitimes | |
parent | f5ef7f2371babf22c2c3fad17108692b09e4c98e (diff) |
gentoo auto-resync : 03:05:2024 - 00:00:22
Diffstat (limited to 'dev-ruby/hitimes')
-rw-r--r-- | dev-ruby/hitimes/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/hitimes/hitimes-3.0.0.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest index 23d9d4b26ed6..aef314800479 100644 --- a/dev-ruby/hitimes/Manifest +++ b/dev-ruby/hitimes/Manifest @@ -1,3 +1,5 @@ DIST hitimes-2.0.0.gem 27136 BLAKE2B e2bab57b70d63f3b2bbe29584b7051f6c829f7957da483fd83b38ffee4d5f6a8c1af16c2ee8aa71d56ee71160e7df87a46e420d70d0430e514ead6576453fc7e SHA512 06f1c17d9914054bc17244f1a22761c98f7409cb401136e582deec18bbee07358b339ddd49ddfbc01cf9eb46bf84fbf5e2dccd6c77eb36e98c357e99687e8201 +DIST hitimes-3.0.0.tar.gz 28269 BLAKE2B 3ff4299484cc859763e4e25bb1bb25293cc2e956e48469f87a517da86313fc92912f2dab4174ac0474c0226bdb76d4dd9b4a3a88f480eb3325eaeee19a7d1dd9 SHA512 e2311b58d5b44d45e754b4a9116fd371a4435356c207bea3484b2eff8d3f06f8ceb13fc51eb76e2bd040febfe75f8ce1c1b78135a351a5f7d93ad28f1f129b33 EBUILD hitimes-2.0.0-r1.ebuild 671 BLAKE2B b83e514a2beb4b1a3893dbeef9f6f3fe8557404e01c3b292269acecfa23f4de9b9849d3854cffed5c9d5bf4727d1df8a2188158ecfed7b8f7454a9ede0f355d7 SHA512 516b6350946603a590581bab57ed79ebee774f674cef159500e7b1f448796b4212dac44c779d75e6ef2ceb14050ae295e58f3942f5e5638c9d90e82bde1b1584 +EBUILD hitimes-3.0.0.ebuild 863 BLAKE2B 66e5a3b946ef699d33e5fd1d7ee82e1c3d6cbe9c1d383f0e60bb4eb4011574475adc590de231e500a93109ffda36ef845716252e39ec81abc2d79763967a18ba SHA512 ed3ee7dea6e4f8c5b55b6862700efba93bd6f5f0f1c3836f4bb26fefdea30531a5fd473e0aa7456813f715f8d9524407dbc0c7ee8cbf34614ce4e998107f5321 MISC metadata.xml 350 BLAKE2B 9c59e0715c5cf61cca3ab31eec1d3094f00e3e534a6ee3fad8e7c51375cd99607d11db4efa5704505b81ba1d8a91e607c55f391cf058b637b7abe31f922df90b SHA512 50ca33269b5d44cbfa209ccfeaed2c92faa4224397f2d535c243674ea39289610b6d1976ac89cbee318a0cbfa7a3cdab6f78c040a0c48c4fdf83af914b08470c 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 +} |