diff options
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-2.4.2.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index 8fee34aa9e88..1d89e4d71832 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -7,6 +7,7 @@ DIST mocha-2.2.0.tar.gz 247014 BLAKE2B 7be3453e30be305a27a3a9c9cde8cfc196ebbf073 DIST mocha-2.3.0.tar.gz 247213 BLAKE2B faf2e9dc189b4db0e33f1ae7c780f998e9f2c4f1e29dc63e7e6c64bd679494e40bfab7e0227ee6e9e485e38fbe1dcd40d5fb2007ea7c7f3d42b4f6547b835257 SHA512 fc8d3922c593924d4e7ba138af06a90dbc00f2a466251f188de4d62ba3b3eb197252750561575383400aaeac65d59c436d3a14f5a288c2f1685d8d1bf5ae7202 DIST mocha-2.4.0.tar.gz 247401 BLAKE2B 978abe65a059c01f8e41a3d44238f615d68c88dc9b63812503708082803d46c5469b7177ce1f1e87f4071dc1ea93b95c8d965f4c3c359eb221e989c15ca31a49 SHA512 b48915db151bfb66107e855df4172ef63266c9cf08109e4800970df92259b454ce41f1e79eeeb088a4eedccc0d3c8ae9ec2761f6ded92aa04dd61736b85e69e0 DIST mocha-2.4.1.tar.gz 247677 BLAKE2B 171b5b266c8b690a630f9367cfe77006de4f597d4b1e4aabc035090e9930659eec2dcce04742b42bf1dc00b5441bfe97041ad8b94aaa36ae1a6ba29ca32cd787 SHA512 1036cfc5ea4ce975cf59da1029fc1c3ef4c6fee8b2868ad19b354fc0fdbe058ab2782082ffd2fbe099cd177d654697dc919a361a446939eb9ef587c71fd17700 +DIST mocha-2.4.2.tar.gz 247840 BLAKE2B a1ce04b304bde7c2d4698f76149d98f9140a57b04f8b55fdd80af42eff5d207c08b0b9b755440d0243c291a34dfc3bcfdaa24e98b7f01d0aa6b859d85b56c93f SHA512 7ce00c2f6e8fdc0d477fb64e12b475a6c4b929906cdadf6a207ff77c763e7109742b520879d8bf72c0075df863d8e937fdf76df724088279ebdcf599ee161b0a EBUILD mocha-0.14.0-r1.ebuild 933 BLAKE2B 28076a15be9a921a81ee23d19096967bb86f21865886e8052e6edd8dbe94e038e9199c37137548d3749fa11205ab6ee6f87e17a10c1cd1f5a00d2e20ef2c9f4b SHA512 9648c9e78b6f9b52d90aa7cb2bfdcf823bd24ecc9e1a63e176eeb18e19f59b2be163cd19599352274c6b09f6be49f29284c5d493dc1a1e0f7ff922219b8f5a43 EBUILD mocha-1.16.0.ebuild 1059 BLAKE2B 4a5b9815abd9ae4c88053b05f6a8855fb3ef1f96180f70c490020e6292004376ffd5a69ec5dee45a12ac4389d052d862d8fcfd9b844be86dcfe6cf4a04148019 SHA512 f0dac0499979c406be52ae294968dc160f06c4708224bf376a2e5e6d3e099ee38057caa3d30bcd7a4f8764cd11834dee4c65fdffd38984e3968fcc8b96935c00 EBUILD mocha-1.16.1.ebuild 1045 BLAKE2B e7879092299387e62b30652f6a344552fc8c0bb924428fd6675bc5e975c3907a5b85e9d7e52895de243bf7f8f6eb143ddbf319204d2dcfe4840c4394644b8124 SHA512 4a3a07dd6f363b7c5f4b0ea48086faa4c2fe6fdbc1d1ad54b7ce664ed8d3326ac91d0cae0df45e063628a986ac17333cbb214fb3c7cbac3874b3bacd96b19b46 @@ -15,4 +16,5 @@ EBUILD mocha-2.2.0.ebuild 1012 BLAKE2B 91e2ddcc40130a7ce34289640a1c646a1681f6ff1 EBUILD mocha-2.3.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da EBUILD mocha-2.4.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da EBUILD mocha-2.4.1.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da +EBUILD mocha-2.4.2.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da MISC metadata.xml 332 BLAKE2B caf5137da39b091d3da2776b6219400546a5c2ee01d39759471a24a5beaac1f248be271c376f9061c0b1de49d531832b6e6cdf9be53f943d112789a8240feea2 SHA512 af0bd36bc12851a56c49ef645c95b145ef28ec2070b1bcf1fc3629526b91c20aeaa39357e997389e02482ddb19c9f3cb52acb7bb9a2f90142087ef4e874f1bd8 diff --git a/dev-ruby/mocha/mocha-2.4.2.ebuild b/dev-ruby/mocha/mocha-2.4.2.ebuild new file mode 100644 index 000000000000..06d86dc2ac9b --- /dev/null +++ b/dev-ruby/mocha/mocha-2.4.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" +RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" +SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die + + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} |