diff options
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-2.7.1.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index d88342e9a191..903aba84f417 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -7,6 +7,7 @@ DIST mocha-2.4.5.tar.gz 248872 BLAKE2B 739dfe4945d153117e5c644b6f0ed568c08e88e27 DIST mocha-2.5.0.tar.gz 250685 BLAKE2B 4ad2b4b0ba7c1d77b6d15de456e4998fe0c02b9004a02a070c1b7e852f25b028ca1837bba59c086d259aeb0c687ef45dbf435133e47fea612778ab4317b60ab6 SHA512 4ca3be919cf143f661e135f9b477d305688a69f3ea8587028eff20ab93a05b8259632edcc7704773aff88e85237ae95c42f08d48700bcd102696a28ceb11973a DIST mocha-2.6.1.tar.gz 251543 BLAKE2B db9ed8d31b72c229dd56c0417fa32312fb9142b443743be896a7f02e38b46e1f7a36a5be377122c007cc9eb0c735d019fefa1958aa46c22c5d11af61a70cfc00 SHA512 25fb178d6f63b1357017b7b007c35e0cb94fd854ceaeaf74686e5a104006aa9033fc554d69e3b59e0a03cecde8d6aa06b24ac2055e2cd4467ea340ec1710c955 DIST mocha-2.7.0.tar.gz 252168 BLAKE2B 355f8998815eb2c9206f25e5201c577e725a57f58fb3627292517b2cc579806f2865da8c05647a57f522dbb475e330cbdf7fc94b2850122ff2232ddbda0654bb SHA512 9ba9d7f4f14f17435b32527233a3664d07e505827c1a8f932314232e807992364f5f74fc1b5e8a14dd1b06daac962c147cb801d52a333e4f8ca51dff9267b144 +DIST mocha-2.7.1.tar.gz 253415 BLAKE2B 857c188e4eda776ab00f28b79c8adcf1a92621c37ea930623a12a34cb3ee76781eb9293c9dd1091290ae3c1457da2a26255e3f3421b3b392483e5fc945dd1ae7 SHA512 951fc766e49f6bd76846e18929d9463da7575aeb4169e623dd954760eff6f8f883d696db4379ce93215a966abfd15ed734ad812c7cdc6c461690fe948141c215 EBUILD mocha-0.14.0-r1.ebuild 933 BLAKE2B 28076a15be9a921a81ee23d19096967bb86f21865886e8052e6edd8dbe94e038e9199c37137548d3749fa11205ab6ee6f87e17a10c1cd1f5a00d2e20ef2c9f4b SHA512 9648c9e78b6f9b52d90aa7cb2bfdcf823bd24ecc9e1a63e176eeb18e19f59b2be163cd19599352274c6b09f6be49f29284c5d493dc1a1e0f7ff922219b8f5a43 EBUILD mocha-1.16.1.ebuild 1045 BLAKE2B e7879092299387e62b30652f6a344552fc8c0bb924428fd6675bc5e975c3907a5b85e9d7e52895de243bf7f8f6eb143ddbf319204d2dcfe4840c4394644b8124 SHA512 4a3a07dd6f363b7c5f4b0ea48086faa4c2fe6fdbc1d1ad54b7ce664ed8d3326ac91d0cae0df45e063628a986ac17333cbb214fb3c7cbac3874b3bacd96b19b46 EBUILD mocha-2.0.4.ebuild 1012 BLAKE2B 1945b035725c03e194a8ff6f83ecef076af720e70cd7d6dafd0627571fb6c42b3ee194932d49086b5dcdff942b1585bb7e1184ab04c5d18cf4af275b44a2eb6b SHA512 52ee5599adca53878777c0c8f447f0bf36e2fbd4dea52444ed1b182e2a105d6a657a164d161e760c06bba6bac97515677f6d8df8e264fc6c58beb918301bebef @@ -15,4 +16,5 @@ EBUILD mocha-2.4.5.ebuild 1012 BLAKE2B 91e2ddcc40130a7ce34289640a1c646a1681f6ff1 EBUILD mocha-2.5.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da EBUILD mocha-2.6.1.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da EBUILD mocha-2.7.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da +EBUILD mocha-2.7.1.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da MISC metadata.xml 332 BLAKE2B caf5137da39b091d3da2776b6219400546a5c2ee01d39759471a24a5beaac1f248be271c376f9061c0b1de49d531832b6e6cdf9be53f943d112789a8240feea2 SHA512 af0bd36bc12851a56c49ef645c95b145ef28ec2070b1bcf1fc3629526b91c20aeaa39357e997389e02482ddb19c9f3cb52acb7bb9a2f90142087ef4e874f1bd8 diff --git a/dev-ruby/mocha/mocha-2.7.1.ebuild b/dev-ruby/mocha/mocha-2.7.1.ebuild new file mode 100644 index 000000000000..06d86dc2ac9b --- /dev/null +++ b/dev-ruby/mocha/mocha-2.7.1.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 +} |