summaryrefslogtreecommitdiff
path: root/dev-ruby/sus-fixtures-async
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/sus-fixtures-async')
-rw-r--r--dev-ruby/sus-fixtures-async/Manifest2
-rw-r--r--dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.3.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/sus-fixtures-async/Manifest b/dev-ruby/sus-fixtures-async/Manifest
index b5d749d0bc31..054f90bcd0e8 100644
--- a/dev-ruby/sus-fixtures-async/Manifest
+++ b/dev-ruby/sus-fixtures-async/Manifest
@@ -1,6 +1,8 @@
AUX sus-fixtures-async-0.1.1-tests-require.patch 1988 BLAKE2B f07df7e49fef9b3c27125c0f08c81c95b8357a2f61b78355d4b85b30304d19ea697016e70337784b901fccdc51ad217bf34b096eb8fe2e1e48baff377c69945f SHA512 3d8857421b3e278cda79d085af52c1c70e6d7a215bf52f446b5f9160e007a754f29e41ff6304882a97d601abb7b06c3c0a14b86bfef459bfeb62b1e9f3ae4030
DIST sus-fixtures-async-0.1.1.tar.gz 5017 BLAKE2B f293d9fe336b05e510a82c4337250f48b871eab8c38b7d9587a6402d19689197eb6a2b1f7f14e7b5823246b6f14d104e7e49f14f84a980392dd545543ffcd733 SHA512 cca073491d143b0ceaff34ada08d416ea43a035bc887c6dec02f62372724d891f47e9dfa8d749f6e485e7d14da8c395dc67185ed0a91d9ea0eb5466d3164c378
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
EBUILD sus-fixtures-async-0.1.1.ebuild 962 BLAKE2B e4b83ec9c2c7bed493cb2ae2f39fe97218e8560aa9e59b1519163ac406ea02fe90d79ba75e0ee5cf3e0b25c6a4aa1b5411f1aa4ee40b153b17ee154c93427f90 SHA512 3ccaf45e5c0b1afa66c07b793227b7843f6b8986eb25b0310b63b693848af6b8f98c41a4533315b29808b72091ade6b45fcdf50eb83f7fceb55594c65d6de551
EBUILD sus-fixtures-async-0.1.2.ebuild 959 BLAKE2B 61576b66ac541f61baafc7612d555e956e379ca9055c911aebb44087aa1e824b847c783ccd6bad18c2d6d0b9d7c5aa1872f7973323ec7fcc782a04977baa53e8 SHA512 3d3900857e44306f1017b0899d14d56ab0e2cf7518087c7347b97f73c9bc8e4b3299faaaf5416e9f8e4e2bf8748baeaf06d7909c5b2b3b5e2973d2ebecc26e43
+EBUILD sus-fixtures-async-0.1.3.ebuild 959 BLAKE2B 61576b66ac541f61baafc7612d555e956e379ca9055c911aebb44087aa1e824b847c783ccd6bad18c2d6d0b9d7c5aa1872f7973323ec7fcc782a04977baa53e8 SHA512 3d3900857e44306f1017b0899d14d56ab0e2cf7518087c7347b97f73c9bc8e4b3299faaaf5416e9f8e4e2bf8748baeaf06d7909c5b2b3b5e2973d2ebecc26e43
MISC metadata.xml 354 BLAKE2B 2ee34480d520d59ceeb669e41cd1ee41d0723efb47099fbfea640ef1c051c0c3cfe81763b2d0a3c59097b27a30c04f6000e19f6536fb3bfbb2fdc9077217557f SHA512 3be0ebf3c83c72884674a512375a691ba9663e0216b1f0912616f5e8b3d814eb1eafa757c0444b925355e407e60c779400728041c6b12a43801e4df802c42172
diff --git a/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.3.ebuild b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.3.ebuild
new file mode 100644
index 000000000000..1e28b846551a
--- /dev/null
+++ b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+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
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.1.1-tests-require.patch
+)
+
+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
+}