diff options
author | 2024-08-19 07:29:50 +0200 | |
---|---|---|
committer | 2024-08-19 07:46:35 +0200 | |
commit | a3e42864feb3ec7de7f57404faba2eb4fc57df7c (patch) | |
tree | cdd064b134cacbd897941849a9d8b9610ab78b7a | |
parent | dev-python/cachetools: Bump to 5.5.0 (diff) | |
download | gentoo-a3e42864feb3ec7de7f57404faba2eb4fc57df7c.tar.gz gentoo-a3e42864feb3ec7de7f57404faba2eb4fc57df7c.tar.bz2 gentoo-a3e42864feb3ec7de7f57404faba2eb4fc57df7c.zip |
dev-ruby/sus-fixtures-async: add 0.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/sus-fixtures-async/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sus-fixtures-async/sus-fixtures-async-0.2.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sus-fixtures-async/Manifest b/dev-ruby/sus-fixtures-async/Manifest index 9f409f5a982e..b55b701b10b0 100644 --- a/dev-ruby/sus-fixtures-async/Manifest +++ b/dev-ruby/sus-fixtures-async/Manifest @@ -2,3 +2,4 @@ DIST sus-fixtures-async-0.1.1.tar.gz 5017 BLAKE2B f293d9fe336b05e510a82c4337250f DIST sus-fixtures-async-0.1.2.tar.gz 4988 BLAKE2B da9bfec59489ad1a2fdf0e86a75083e36826d0bb73d6fd482bdae0e842421c59db943669eb101ed4488f963130c387e4b5eed88b4388b4b4ea19cefd2ab1b9db SHA512 effc602b6ea4b3ed56fe9c578a621195ef19cc6e7e858fa06b4a9ecfbc1d27db6b302a7f6567d8b711165eff3ab0f750971eef0c02262855ee35b9eaf4448c1e DIST sus-fixtures-async-0.1.3.tar.gz 4991 BLAKE2B a2e8d5ff1974e0f69d7f821194fa1386efc8fc1e4592c97da99863f32d0d6002c9659ec2e8341d64e13a388807c16b0b816170c60d4f1efa985a58cf7baa58bb SHA512 1361de64829f242bcef47fc152e7a18e4b261ad5ed54be7a83111781b6f9ed196385303387f155a02a7628a91c7560654dc0c1c214419a7256133ce559627dbc DIST sus-fixtures-async-0.1.4.tar.gz 6622 BLAKE2B 8dad4dbc634c1b41f10197146bbf59e491333b0dcbb095feba82cbc2bdfc648822dc0e4ffe7d08fbf26e9e113ee4e039680ae96e6178ad32ad13afbd08b24b92 SHA512 bd3741ce31a48f578f0eba6af172f4d870cb6f8f2f0ac2a42e41fb6c95bacbbfa89322b8f9442722e7ba91fab879609262c0a775bc9a7ea72c454b847f46ef5f +DIST sus-fixtures-async-0.2.0.tar.gz 6898 BLAKE2B 38612be4c645628179fbcc95c9fdbac6b3f5bf97e9ba43e7b8e69d45b00d029d91241ca482c014ed03f8f077aeff35b132d39f58bac47ded5520757b62133aa9 SHA512 0ef78b4f8edb1d48ac0e4af81d91c287b7752bc8c5b92db94227f5d0937f40ea4c84b57ca0b1bfeba77c7bda114e4387c490dc4ce67f23daa4afe13ae9994fb6 diff --git a/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.2.0.ebuild b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.2.0.ebuild new file mode 100644 index 000000000000..5f05f9d2a608 --- /dev/null +++ b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="Convenient fixture for testing async components in a reactor" +HOMEPAGE="https://github.com/socketry/sus-fixtures-async" +SRC_URI="https://github.com/socketry/sus-fixtures-async/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +ruby_add_rdepend " + dev-ruby/async + >=dev-ruby/sus-0.10:0 +" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Remove the sus configuration which enabled coverage checks. + # Its dependency is not packaged. + rm -f config/sus.rb || die +} |