summaryrefslogtreecommitdiff
path: root/dev-ruby/bogus
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
commit2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch)
tree8c816148bcbd22757d892089c989ae614eae4f5a /dev-ruby/bogus
parent0f558761aa2dee1017b4751e4017205e015a9560 (diff)
gentoo resync : 09.07.2022
Diffstat (limited to 'dev-ruby/bogus')
-rw-r--r--dev-ruby/bogus/Manifest1
-rw-r--r--dev-ruby/bogus/bogus-0.1.6-r1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/bogus/Manifest b/dev-ruby/bogus/Manifest
index 369fb32906eb..dc9ba54972df 100644
--- a/dev-ruby/bogus/Manifest
+++ b/dev-ruby/bogus/Manifest
@@ -1,3 +1,4 @@
DIST bogus-0.1.6.gem 56320 BLAKE2B 1c314e3ca9aa270162e4deba87912901c3291f9765de2dfb8f50f43dde47bd8794ca64c2e1ea55a752afb3d1997161e08adee27638d952c035212e47896ab493 SHA512 c65a8b8c6f19c6ef07c4330035e05abc47a63176ec1899e0d9cf611d5a195e0e2fe53b25110e0d2fe5e61c3d3325b79b71c7b42870cb4bfedb25d459f6f90e25
+EBUILD bogus-0.1.6-r1.ebuild 785 BLAKE2B 4428eeb977fba1ac92d9a7dae35bc1c0cc5b79940e00a76f5787ba2205cc650b989d394c00efc0f8814f904f04fe1c7ec1296ca2e083ef91c6d203a380b2faed SHA512 c55044d8f1abcbd150a556be5de94395b7ebeaa6c5abb5f3380a7f5fc05061167c84c0dcba67352ce41fa64ea004ff5dfefc76d0f6222f2b8a505f7415480a25
EBUILD bogus-0.1.6.ebuild 703 BLAKE2B 2852411c11d313ebf46752856797ff91877725d131270a389fb952cbfdedb413e4595c038a0bfa81bf1a5311aa2979b894560e706c1878755ae61983c09922b8 SHA512 18c95fab1b4baf80eb90e902a40bf01829c38bd7de3081cefe8c7c0db2479eeae46c977926264c120afc5f30773080c695359d20fd8be98d9f8e7a747bcc2b3e
MISC metadata.xml 338 BLAKE2B 88d8dd6b9eeedebd2e47ad3efe59c99f6275fb34386f084aa66a7f6d0dba8a54d113ee24504d6bf39d45f03c546d0b10bc1bad490955513f1047f0b35af98b9e SHA512 0a7f7da3ace7810fb626136570636230ddcdc052bb0785df079f13011cc2a109273a9c0b4a6a1a77e952198985473dc39536a6e6c03faf715af06c35ba23db0e
diff --git a/dev-ruby/bogus/bogus-0.1.6-r1.ebuild b/dev-ruby/bogus/bogus-0.1.6-r1.ebuild
new file mode 100644
index 000000000000..8b9cc6da1531
--- /dev/null
+++ b/dev-ruby/bogus/bogus-0.1.6-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ensuring that the things you stub or mock actually exist"
+HOMEPAGE="https://github.com/psyho/bogus"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/dependor-0.0.4"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' \
+ -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+
+ # Avoid dependency on unpackaged nulldb
+ rm -f spec/bogus/fakes/fake_ar_attributes_spec.rb || die
+
+ # Avoid keyword specs failing on ruby30
+ rm -r spec/bogus/ruby_2* || die
+}