diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-03-25 09:49:37 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-03-26 08:29:43 +0200 |
commit | 6cc72b669cda821cee682bde625628df5d1a822c (patch) | |
tree | dfe3ee2ea09eb7e20d11f2bd4785f9cdf5ecd139 /dev-ruby/timers | |
parent | eclass/ruby-fakegem.eclass: add support for sus test runner (diff) | |
download | gentoo-6cc72b669cda821cee682bde625628df5d1a822c.tar.gz gentoo-6cc72b669cda821cee682bde625628df5d1a822c.tar.bz2 gentoo-6cc72b669cda821cee682bde625628df5d1a822c.zip |
dev-ruby/timers: add 4.3.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/timers')
-rw-r--r-- | dev-ruby/timers/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/timers/metadata.xml | 3 | ||||
-rw-r--r-- | dev-ruby/timers/timers-4.3.5.ebuild | 29 |
3 files changed, 32 insertions, 1 deletions
diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest index 758f93e50a2c..b33d269e6bde 100644 --- a/dev-ruby/timers/Manifest +++ b/dev-ruby/timers/Manifest @@ -1 +1,2 @@ DIST timers-4.3.3.tar.gz 12928 BLAKE2B af64b44116565a8cb6b68349de6a46e8b67d22508e16e204af104ed7a59cc1db1dae0c36917ccde1932c33e53d9d71fc57cb317570cc24aaee82531ce178f37c SHA512 4a715e4a786f98ec429a250de53cfa67bed6b5a99b6298c21251e6dcf1315f1185d8c45bea01025832046381ebac462cd35415f7573d58c55c30b47c2567d4bf +DIST timers-4.3.5.tar.gz 15651 BLAKE2B 2dc34bb23a4971c673aff5120502714035fe31aed34854b5f7beb744ca46ad704b88d1403ad594ea49f71bb709db7942ed521d237e2477fe2e9d41cc3cd2b538 SHA512 fa5a25eda15628f5a17cd2e7acc4eb2819a766de7ffdba03d425a93cb3229f0f7b8083e9990b5308e65c2d8aab396e33dd4d152252888eff1cc0039cac6a5e46 diff --git a/dev-ruby/timers/metadata.xml b/dev-ruby/timers/metadata.xml index e299236a3f68..b93a94607cde 100644 --- a/dev-ruby/timers/metadata.xml +++ b/dev-ruby/timers/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Ruby Project</name> </maintainer> <upstream> - <remote-id type="github">tarcieri/timers</remote-id> + <remote-id type="github">socketry/timers</remote-id> + <remote-id type="rubygems">timers</remote-id> </upstream> </pkgmetadata> diff --git a/dev-ruby/timers/timers-4.3.5.ebuild b/dev-ruby/timers/timers-4.3.5.ebuild new file mode 100644 index 000000000000..61acdda238e4 --- /dev/null +++ b/dev-ruby/timers/timers-4.3.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="readme.md" + +RUBY_FAKEGEM_GEMSPEC="timers.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="Pure Ruby one-shot and periodic timers" +HOMEPAGE="https://github.com/socketry/timers" +SRC_URI="https://github.com/socketry/timers/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid performance-based tests since we cannot guarantee specific performance levels. + rm -f test/timers/performance.rb || die +} |