summaryrefslogtreecommitdiff
path: root/dev-ruby/rspec-mocks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-08 12:15:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-08 12:15:59 +0000
commit6a57f9ee53dc794f3d47ea68f78d6ef76d00af47 (patch)
treedc9e574f3209abd88e91e2ee0d6093f4fe78e2d3 /dev-ruby/rspec-mocks
parent268f9f01921ccb921b794d43092c5f29c1e96c56 (diff)
gentoo auto-resync : 08:01:2023 - 12:15:59
Diffstat (limited to 'dev-ruby/rspec-mocks')
-rw-r--r--dev-ruby/rspec-mocks/Manifest2
-rw-r--r--dev-ruby/rspec-mocks/rspec-mocks-3.12.2.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/rspec-mocks/Manifest b/dev-ruby/rspec-mocks/Manifest
index 8756d987c7ee..49e594af3379 100644
--- a/dev-ruby/rspec-mocks/Manifest
+++ b/dev-ruby/rspec-mocks/Manifest
@@ -6,6 +6,7 @@ DIST rspec-mocks-3.11.1-git.tgz 198650 BLAKE2B bdf06f0614bb7b6c4eb6a0ff0af84d4f6
DIST rspec-mocks-3.11.2-git.tgz 202347 BLAKE2B 7db89badf2cd3a9bdb590260dfced05cc72ccb7b2a8f600969f17c2df0523ee602f728aef257e88876f5c3b283645cf7f3243bd6de67c5bd26d3d74d0349593a SHA512 a1053cb9604b01de99f79b18fea2c4b3818d950e83da642a8b3aa9dbdb397429f51d95efa84a603770d4db94a25758c1cef15ce1ba77a4c952e9ef5f43a21e4d
DIST rspec-mocks-3.12.0-git.tgz 202794 BLAKE2B 053c4b1504a369376cfef8411fd97304e56cd83be1b89296e4bf5b260af8ef89f8aff85a095bac5b8244b38020725ddd087d93774b49b422d37344b142a4badc SHA512 f292d4ab82e7da2badff596fba91a26499821565b13b4004571efdcd8b559cc4996c3d6e092c429b8ee2962d0898c79b54eec7fd6c7835d414e1ff0258bdd3f8
DIST rspec-mocks-3.12.1-git.tgz 203924 BLAKE2B d8b954046e2c4e7e4a949469733b44f4d71eef13642f4a65a25bc97322dacc75e6a32c07077b6dff6a71e66bae36469dd28bd641e9c5508bd9f333d30ff655e5 SHA512 983358f1acaaaeb12e77ff3d1863878382f9e0d413ac0f25d11e7f7f50251de17d3a9ad4ac25dae5568bdc4b9b0af716196ee409c035f9fd90b13d2ab769cd18
+DIST rspec-mocks-3.12.2-git.tgz 204751 BLAKE2B bcbb8d6df6b1bf3b58e43e72c25b792f91f00467520cb1b366883e8ad54b7a380b287ae9e6f453de78603423f099ed0d4b3759338f5a4a91ea9c42c16439c4eb SHA512 ae1cdafe53d7c3258bce4cd0bec10a9b91886f2b71736e028350ea212999b88b9fb2e3554f1db040bf8e66cfb2d0139c305aa219e01c8db998b75283da327d3a
EBUILD rspec-mocks-2.99.2-r1.ebuild 1623 BLAKE2B fd1169cf4a9bdab0faac65b0cd738c31dfaeb59c5925eabd2999cf0a0c7cbf60033c9109414dd6504ff6e29c85bfe6a6fc41001ced2e5cd4eccfcedca86943a5 SHA512 5c4e6639691f811cb0b3658c1d6d0ebfc546ed486868e37dfa808c8a86041d1b0fd66f877505cc8ccee7129d9c0e586f63671391caec55f0b148e51ac4f7d5fd
EBUILD rspec-mocks-3.10.2.ebuild 1442 BLAKE2B fec61c4afdf328f06e2c2a9d7e0f3644836376b9925dbf27a55e959956f9c049343a56e95e3272cf9d062d86d2914998309d6cd51a6f6db1b86352d90cd5adc8 SHA512 11f1f35d5b2d59292a42ad277b3676c5c34bfaa72e22bf5705150eeff1d94fc3688e5f9daaf2b11e327767d481102f1a1890329562c0a6e78bbae0146e9ed3e7
EBUILD rspec-mocks-3.10.3.ebuild 1442 BLAKE2B c980f6995e1c6e16b8c7ad463dc2a29ac19a2d9a0deae49a625d430f332ef3b1a49bf09cec4b46d80bb0a2f01abdfce478858f96731e5e771cc7430a025b83ea SHA512 a34266c160e0953251bac75dcf8ff18b19d2c42a49ab8844dea7033b22120563b29efe870755b1c2e8e4f099018c45011f77e2626775c8a1b1ee60d8351f1081
@@ -14,4 +15,5 @@ EBUILD rspec-mocks-3.11.1.ebuild 1458 BLAKE2B 56d68d0f345b15d6ae06307d4d0261d259
EBUILD rspec-mocks-3.11.2.ebuild 1451 BLAKE2B 1ad96337e55ec4f4f256c7ba81d625c0d27f11a3d602661ee9ca811e3809e00429a2ae9fb8aaefb0dbd9ab844acab23c6dd6a9c4df0829090ee82949858b2ad1 SHA512 5f51ab0781e583b17ad0975d9f2c10637a9c30067fed93a0a02d62634338b7c25ffdc5d2bd592a9e18d1ef050f797429ed9d959b236573348c33cab751a08f91
EBUILD rspec-mocks-3.12.0.ebuild 1452 BLAKE2B 33b7391074e25374e5485f960dcd08f8c9a329f4ddcc97f2ac7fc3632b754d3014c3cc6a89dc59459d9957cd74338b3eb6e4d8619b85c618a533e4d6d18962e0 SHA512 81097c356cb4c879c4ddf52f4f32de61ac2f5fbe489449536abf9334bf97aa89e46d388b627c3a6fb46b2c194e61d8e0b0a36cc43468bd5174b521aba9658879
EBUILD rspec-mocks-3.12.1.ebuild 1452 BLAKE2B 33b7391074e25374e5485f960dcd08f8c9a329f4ddcc97f2ac7fc3632b754d3014c3cc6a89dc59459d9957cd74338b3eb6e4d8619b85c618a533e4d6d18962e0 SHA512 81097c356cb4c879c4ddf52f4f32de61ac2f5fbe489449536abf9334bf97aa89e46d388b627c3a6fb46b2c194e61d8e0b0a36cc43468bd5174b521aba9658879
+EBUILD rspec-mocks-3.12.2.ebuild 1452 BLAKE2B 16a1dea2a9f1190a7fd5a14ea16b4fa46b26df448ceb7824e0fb49e707dd5dde4d00660a12a576ba24be11c13c38bf3e43491dfdd5e1c4854ccebc3eacb9ed4f SHA512 4206a7d38d40a1918e2586595fb1e4df9bd7062711955f677bd839faec11dcc1613bf28a07c658e400221b51c73d9da12b970f127cbe4d87469e12267e8462e8
MISC metadata.xml 344 BLAKE2B 5b939c668a8c75c33348bff9e8a0fa6042702fb59cdfdc2c8b45db1d9d191950a63d6f9b1329e6a2717a097d7b001afecb9ebbd0fa08badaf95664d37b06eb17 SHA512 026e9a293c2f99d86a11f37267fddcf54dbdc33aec00f470a988d477d6e3198ccc478c03cca059be0a4e324b9f256719c99c7c81af97c75fd7cebab433d4b1a1
diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.12.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.12.2.ebuild
new file mode 100644
index 000000000000..078bb0e70328
--- /dev/null
+++ b/dev-ruby/rspec-mocks/rspec-mocks-3.12.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+#RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
+HOMEPAGE="https://github.com/rspec/rspec-mocks"
+SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+SUBVERSION="$(ver_cut 1-2)"
+
+ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}*
+ >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/rspec-core-3.12.0:3
+ >=dev-ruby/rspec-expectations-2.99.0:3
+ )"
+
+all_ruby_prepare() {
+ # Don't set up bundler: it doesn't understand our setup.
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+
+ # Remove the Gemfile to avoid running through 'bundle exec'
+ rm Gemfile || die
+
+ # Remove .rspec options to avoid dependency on newer rspec when
+ # bootstrapping.
+ rm .rspec || die
+
+ sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die
+
+ sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
+}