summaryrefslogtreecommitdiff
path: root/dev-ruby/sus-fixtures-async
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-27 09:59:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-27 09:59:33 +0100
commitfdfde9fd41778789aaab6711adb9e4cc31c28360 (patch)
treeec3cf38d18dc8f9661b8914caec46bde349cab9d /dev-ruby/sus-fixtures-async
parenteb90394012a5d0ba3c13992fb861eb3387728c92 (diff)
gentoo auto-resync : 27:08:2023 - 09:59:33
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.2.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 254f7494b772..0f18079fa62e 100644
--- a/dev-ruby/sus-fixtures-async/Manifest
+++ b/dev-ruby/sus-fixtures-async/Manifest
@@ -1,4 +1,6 @@
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
EBUILD sus-fixtures-async-0.1.1.ebuild 963 BLAKE2B 64ed722afe6e91257013b2474f6409dcd3c7fff39bfc37cb358dd8afcd813c2070f93029f73f771e3ac28dec8d582736d96e549511c46651e290fbe9d4d22b8f SHA512 e262e9cc3f1fc3d28f349748498ba37502b9cef702599006c3e109875b7e99586a333c19b836a845608aab6445173ed1423d7fcb83bbcc1af479e371c2e69bfc
+EBUILD sus-fixtures-async-0.1.2.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.2.ebuild b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.2.ebuild
new file mode 100644
index 000000000000..1e28b846551a
--- /dev/null
+++ b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.1.2.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
+}