diff options
Diffstat (limited to 'dev-ruby/rspec-mocks')
-rw-r--r-- | dev-ruby/rspec-mocks/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rspec-mocks/rspec-mocks-3.10.2.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/rspec-mocks/Manifest b/dev-ruby/rspec-mocks/Manifest index cf17fd6b0c81..35f7585f7ea8 100644 --- a/dev-ruby/rspec-mocks/Manifest +++ b/dev-ruby/rspec-mocks/Manifest @@ -1,12 +1,14 @@ DIST rspec-mocks-2.99.2-git.tgz 101731 BLAKE2B 27ae180381d427b642c53c351e7b53602caba4252ddf5393949d940be8474110eb0697901afaaa878cd8d368f081c6644c0fcbce86d9d14b9f93f48c027ae808 SHA512 dd3b9394d56de8d3089db7777cda1e1a5bbdc46486876a99a8a83b602b84ba0320913d8e8dabe5e0367645eb01b943607b93e67d87cc26e380c8db6e048e4e0d DIST rspec-mocks-3.10.0-git.tgz 193499 BLAKE2B 9bddac80a299e2fc8f549bf4beb2bd3fa5dea21486df7dda9112b008334014284330965881207fedf4b6bea09c25f36b8b2e15ac7bbc6cb244f3504942673d0c SHA512 a2bf76a59b74b89891e4032519fe83ae49a662d3508ecbd9919e6a76d13f0a736063e7215bfda21a3aa58cd88e69fd5eea2a4cbf998a06ee0c192c3d5650995a DIST rspec-mocks-3.10.1-git.tgz 194945 BLAKE2B 7e61c88bde222d7bbe7e4d10b42ad9505469184bb16bb6c693ac2f5fd153ab8293046ca60813e5b604f011e1acc140b3883afce631ea442f90579fd8652fa79f SHA512 48eeb2f3a2dac666683016b2e3698a4c793a485b8f264ed2ffbb6f948d6f804ab1cebc66cec1e76c5b538517be50b6f424d92e53c1a0c86905307f1cdf114abf +DIST rspec-mocks-3.10.2-git.tgz 196040 BLAKE2B 8e975dc8480d4709f650ff27c517104714156c551b8b9ec04681132bd92be80bdb11867730f462e7fb6b672430246a0a11404dec5638b5350b57d81a8eac2e57 SHA512 ab11fa77c5f9e3bec2003dc8825d9582dcbffa08a36818bd9cdbe2dfd357113de3712c818deafc165530f9e4d2683ec06e54d37c37aeb820ae3cd592f76cf2cb DIST rspec-mocks-3.8.1-git.tgz 191543 BLAKE2B dae8b22a011a3563eb65d1709006169bf5dcf310749cb858f4ff20c7b82e7675a616fc427136fe5e0edeef1db0b42a1d0af1c5623eed35807e84dc355131c8cc SHA512 ec71c4b815beef315f8db329bd2b0e60cdbb1fa37939c624799c1589d94dd28f74b3d1a4c0b9025bc98a809f80d625315458351fe7dec8291bad20e79beecca8 DIST rspec-mocks-3.8.2-git.tgz 191807 BLAKE2B 9ec44fcaad9fe1e9d75cfb84253e52411b7083070de5dbb19bcdf7c518eb2439e6493e979daf814df7b31bab8bbe72821d42eb797ab88d95e051a700b63d93b5 SHA512 42b9b952386ce862a1cc19116991ae6b4633d551db057babe2e4aa6553acb6eafbb05b98df8a5c6cb362a00025ac3ce0f43f3c4e4ea63343c8bf0dad769a3aed DIST rspec-mocks-3.9.1-git.tgz 192772 BLAKE2B abcc8fc82648993e6a407a8c4ac4f5b146b821e1e842c1dd2b95824d8468aac0ea796438d77e376c897675f66bd2bc9024da8fa5ccaf60139ea296b388d542cd SHA512 f804783fca4cf2258e83f82515cd5881ceae0bdd3aedb452a1db901e01de5dbca1d2bdef0ac0828a4bd23a1de58d127a42150c8c204219bca39ea7072619098f EBUILD rspec-mocks-2.99.2.ebuild 1509 BLAKE2B e3ccde747f2f4332247f8bb49e0d0acbea5372e1bbc06dba73d51080269d8935c1b9f2f6a74810e9f2ae6277ca67f8b21c149b22f917455136a98e4d904f21ca SHA512 acfc0df5921458ae89d8168902180273f1bf060196ffeb6d4e345ea2e85d3b2b4d865cbd646b4bfaed6898dd52668e2c6ad699a129f99d84852ea3ff76b20a0c EBUILD rspec-mocks-3.10.0.ebuild 1435 BLAKE2B 6cff4a15f91e0f6b0e52f15a2b55afba66a4b85672e517bb3fa30ff4c282c7204be194b8bb73a879b0fb70088c11659ac60344d3826fcfd54b94bc20ac302595 SHA512 09b34aed37d5bbd8080a51d69e6f6101e529d28cf1ee4079e768779ff31a25bdaf102f6c5db0bba65f6484eb8d4a04f6a4082d791cd8c509f7f557183cc865d2 EBUILD rspec-mocks-3.10.1.ebuild 1435 BLAKE2B 6cff4a15f91e0f6b0e52f15a2b55afba66a4b85672e517bb3fa30ff4c282c7204be194b8bb73a879b0fb70088c11659ac60344d3826fcfd54b94bc20ac302595 SHA512 09b34aed37d5bbd8080a51d69e6f6101e529d28cf1ee4079e768779ff31a25bdaf102f6c5db0bba65f6484eb8d4a04f6a4082d791cd8c509f7f557183cc865d2 +EBUILD rspec-mocks-3.10.2.ebuild 1435 BLAKE2B 6cff4a15f91e0f6b0e52f15a2b55afba66a4b85672e517bb3fa30ff4c282c7204be194b8bb73a879b0fb70088c11659ac60344d3826fcfd54b94bc20ac302595 SHA512 09b34aed37d5bbd8080a51d69e6f6101e529d28cf1ee4079e768779ff31a25bdaf102f6c5db0bba65f6484eb8d4a04f6a4082d791cd8c509f7f557183cc865d2 EBUILD rspec-mocks-3.8.1.ebuild 1323 BLAKE2B 3c0e52c22d6ebcb1cec7568c4e1acdf5511a027bafcc6108e92f83984ac84e8092344244be5348a0d0382ef73bad67288b00cf4ece92cc2bd3ee44be0ea5a8dd SHA512 b4972655e538067025c8cf6e2bc2066802585e8d6d7e1d2f0f8843ea6ef3c4dc19f1a600e75eda51fb872f32c6d119605e4518cae098df66873194c58ac65b88 EBUILD rspec-mocks-3.8.2.ebuild 1366 BLAKE2B 0cdc605e786cb06766d8669b464c426b216aeda9b68bbc5a7c998c6169206ba0a07bffba618f690e251e54ea0bf2f5cf844d321f21b7f7f598143a22c5bcf733 SHA512 21422cb8a959b03728f4d609e8c82324806a530f1d53baaea9f0bd23936142930e92535c2e30714e43201f9efb286a87a17a2570f8996352808ba12aa9dad5b1 EBUILD rspec-mocks-3.9.1.ebuild 1442 BLAKE2B 3fc39f6bb2a8e8c28b0d237545a7f57480bfb8dfb0bc67bf5b6a70fc65814a98ef2d2ccfdc2608b1b0d7e620dd364cebf633c2a2ed1ec202164c7e5a03907e24 SHA512 905181091e236106392dbd8f467f1b29ca76cda02685341a511fdf8e4ec1d19d7268e8a2d4e7aa9d861e6dd88be84414044518729bec64179ad861186b7d61c5 diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.10.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.10.2.ebuild new file mode 100644 index 000000000000..adff253329a5 --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-3.10.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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 ~ppc ~ppc64 ~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.3.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 +} |