summaryrefslogtreecommitdiff
path: root/dev-ruby/async-rspec
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-23 15:50:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-23 15:50:26 +0100
commit2e6d363c5e87569efc23848513e71f2233b7e9d9 (patch)
tree76344da7801a06cca9dfec533e1718289bc3e776 /dev-ruby/async-rspec
parentdd4e83dc96a7c8d12e5ecdfde7fb07196ded331b (diff)
gentoo auto-resync : 23:10:2022 - 15:50:25
Diffstat (limited to 'dev-ruby/async-rspec')
-rw-r--r--dev-ruby/async-rspec/Manifest2
-rw-r--r--dev-ruby/async-rspec/async-rspec-1.16.1.ebuild18
2 files changed, 12 insertions, 8 deletions
diff --git a/dev-ruby/async-rspec/Manifest b/dev-ruby/async-rspec/Manifest
index 40d9c0b4eb2a..875b1d8986c3 100644
--- a/dev-ruby/async-rspec/Manifest
+++ b/dev-ruby/async-rspec/Manifest
@@ -1,3 +1,3 @@
DIST async-rspec-1.16.1.tar.gz 7775 BLAKE2B a1ff314fbe3e42b9b25e1c891bf1a336644fa5183b6f504b06e0747c127e712a66a0fbb2f18695bd7cba91ec8a4e8af887a25fe3e9887f86fb5f17873e26f51f SHA512 5c2bc5cf5ff4ca25cad67e251b5e078ac9f6f2d0f5d50f67584d4a043040c4e9e9e51d3a9e2727f08de3eba39d46be66461e691af8b86e173d8b70b589161a29
-EBUILD async-rspec-1.16.1.ebuild 946 BLAKE2B 61ab59840ce19e6eccb9e5a68beaa2525183da67c4efa4d117dfe8f1ea7d1008db9b3a3821d7e4ea8359e09f371d4bcc8f18557bd242371fcb05d5612aa034f8 SHA512 91462ae9b56499dfb1c74f5ce5536770526cf0a16fcd08ac5ffcac8095a2b8a3d63c6f7ea23647706ef21ac93caf8217086d0401747ac7c6d6ef9a34bbe0a6fd
+EBUILD async-rspec-1.16.1.ebuild 918 BLAKE2B 39986a84eab1f61615fce44b1f7e8c183508704ed82a994fdf706e8da6bae4f66077e72c1527f7e1288dd75d9379ef6912592668cb06da725299e84c6d27f2d6 SHA512 26e603009693b697adb4967ac6c7774e0559aef67cdfb47131170b6a4cb5fb11cbaa50e55bd7bf508da4d87d94eb71d97497a834355b0d27362b6b243b57ccbe
MISC metadata.xml 347 BLAKE2B d18d791313af87bcb00267fa7886d513738c127ca281e4e3f2eca2d3a345748097016ee229ea663efae9980d5fee97d27b800923021e682a9a9bb28bd031c0a5 SHA512 6396202046253385c58f6b5d1762800d596027e1d7ad7e95d69695023dacffa0bd32f2d0efa396fafd5e65bafd55376018f27e127752d5109f537339ac06584f
diff --git a/dev-ruby/async-rspec/async-rspec-1.16.1.ebuild b/dev-ruby/async-rspec/async-rspec-1.16.1.ebuild
index c920dff8061b..12f48d519fe1 100644
--- a/dev-ruby/async-rspec/async-rspec-1.16.1.ebuild
+++ b/dev-ruby/async-rspec/async-rspec-1.16.1.ebuild
@@ -3,24 +3,26 @@
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31"
+
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
inherit ruby-fakegem
DESCRIPTION="Helpers for writing specs against the async gem"
HOMEPAGE="https://github.com/socketry/async-rspec"
-SRC_URI="https://github.com/socketry/async-rspec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/socketry/async-rspec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
-SLOT="$(ver_cut 1)/$(ver_cut 1-2)"
+SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~sparc"
IUSE=""
-ruby_add_rdepend ">=dev-ruby/rspec-3.0:3
- >=dev-ruby/rspec-files-1.0:1
- >=dev-ruby/rspec-memory-1.0:1
+ruby_add_rdepend "dev-ruby/rspec:3
+ dev-ruby/rspec-files:1
+ dev-ruby/rspec-memory:1
"
ruby_add_bdepend "test? (
@@ -30,5 +32,7 @@ ruby_add_bdepend "test? (
all_ruby_prepare() {
sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
- sed -i -E 's/require '"'"'covered\/rspec'"'"'//g' "spec/spec_helper.rb" || die
+
+ # Avoid dependency on unpackaged covered
+ sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die
}