diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-18 00:10:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-18 00:10:02 +0100 |
commit | ccaccfe4f1da8c11d9fa110f6e4eb847358769d7 (patch) | |
tree | ff02c95ae3d9a1e73e2a182e268161743d81a88b /dev-ruby/mocha | |
parent | 74e526c590f52d24a213e25f77858ae0b34ec2c8 (diff) |
gentoo auto-resync : 18:06:2024 - 00:10:02
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-2.4.0.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index 9b54f5fc91f3..fee638d50e67 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -5,10 +5,12 @@ DIST mocha-1.16.1.tar.gz 247461 BLAKE2B d4bce5f945018e527f6b19c6328d3687912a3ac9 DIST mocha-2.0.4.tar.gz 243542 BLAKE2B 4a9bb3f1493225f7eed7080661a168a90c56e4f737a8bc15402bf0a08ae7cc14e8e5cff9a090b6413633c37169e7ff9f45aedc3c5fd929ab32d359ad58d404f7 SHA512 4a72cd18e70608265bc20761848657b900a6d60c888ec4027e3b9f1884efa41d0d0591c4f3e26edd96a806ecdfc3b921d5871465a799a5ea5905627b7093f5b1 DIST mocha-2.2.0.tar.gz 247014 BLAKE2B 7be3453e30be305a27a3a9c9cde8cfc196ebbf07329afe82fbbb79c320dfd08aaeca17242e1432d0e1b437f20260ee1557768851553d2a5d7f7697d07081468d SHA512 1e611c31c311f9ff5f341c46a374eea16835cffeb2ff454e09c656503f05c1a2b7d7ff6d1bf33f8ea33cd1e5e53aca108d1f73fc46ca79029d09f8bdeb9036c6 DIST mocha-2.3.0.tar.gz 247213 BLAKE2B faf2e9dc189b4db0e33f1ae7c780f998e9f2c4f1e29dc63e7e6c64bd679494e40bfab7e0227ee6e9e485e38fbe1dcd40d5fb2007ea7c7f3d42b4f6547b835257 SHA512 fc8d3922c593924d4e7ba138af06a90dbc00f2a466251f188de4d62ba3b3eb197252750561575383400aaeac65d59c436d3a14f5a288c2f1685d8d1bf5ae7202 +DIST mocha-2.4.0.tar.gz 247401 BLAKE2B 978abe65a059c01f8e41a3d44238f615d68c88dc9b63812503708082803d46c5469b7177ce1f1e87f4071dc1ea93b95c8d965f4c3c359eb221e989c15ca31a49 SHA512 b48915db151bfb66107e855df4172ef63266c9cf08109e4800970df92259b454ce41f1e79eeeb088a4eedccc0d3c8ae9ec2761f6ded92aa04dd61736b85e69e0 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 EBUILD mocha-2.0.4.ebuild 1012 BLAKE2B 1945b035725c03e194a8ff6f83ecef076af720e70cd7d6dafd0627571fb6c42b3ee194932d49086b5dcdff942b1585bb7e1184ab04c5d18cf4af275b44a2eb6b SHA512 52ee5599adca53878777c0c8f447f0bf36e2fbd4dea52444ed1b182e2a105d6a657a164d161e760c06bba6bac97515677f6d8df8e264fc6c58beb918301bebef EBUILD mocha-2.2.0.ebuild 1012 BLAKE2B 91e2ddcc40130a7ce34289640a1c646a1681f6ff198ecd1c38f4980ac9492f054414d037f18c04e8e185bdcbed99d6b1b614b6130ef1f78d84bcbf3df3219a58 SHA512 84635bf683beeb319cc2c8204d40b525147266b3d659658124e1faf0e82223869d140621ab18fee253d076dcb7390fd04ccecd0c71f23cec9bf154632b48ee96 EBUILD mocha-2.3.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da +EBUILD mocha-2.4.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da MISC metadata.xml 332 BLAKE2B caf5137da39b091d3da2776b6219400546a5c2ee01d39759471a24a5beaac1f248be271c376f9061c0b1de49d531832b6e6cdf9be53f943d112789a8240feea2 SHA512 af0bd36bc12851a56c49ef645c95b145ef28ec2070b1bcf1fc3629526b91c20aeaa39357e997389e02482ddb19c9f3cb52acb7bb9a2f90142087ef4e874f1bd8 diff --git a/dev-ruby/mocha/mocha-2.4.0.ebuild b/dev-ruby/mocha/mocha-2.4.0.ebuild new file mode 100644 index 000000000000..06d86dc2ac9b --- /dev/null +++ b/dev-ruby/mocha/mocha-2.4.0.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 +} |