summaryrefslogtreecommitdiff
path: root/dev-ruby/mocha
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-17 12:28:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-17 12:28:32 +0100
commit16857b69f990738d17bc5842e3e49a6e82d1428d (patch)
tree09af7d330926974197aa59536133e026de791874 /dev-ruby/mocha
parentb6fa31c964a602f8461a77d5b83355e8750c12eb (diff)
gentoo auto-resync : 17:07:2024 - 12:28:31
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r--dev-ruby/mocha/Manifest2
-rw-r--r--dev-ruby/mocha/mocha-2.4.1.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest
index fee638d50e67..8fee34aa9e88 100644
--- a/dev-ruby/mocha/Manifest
+++ b/dev-ruby/mocha/Manifest
@@ -6,6 +6,7 @@ DIST mocha-2.0.4.tar.gz 243542 BLAKE2B 4a9bb3f1493225f7eed7080661a168a90c56e4f73
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
+DIST mocha-2.4.1.tar.gz 247677 BLAKE2B 171b5b266c8b690a630f9367cfe77006de4f597d4b1e4aabc035090e9930659eec2dcce04742b42bf1dc00b5441bfe97041ad8b94aaa36ae1a6ba29ca32cd787 SHA512 1036cfc5ea4ce975cf59da1029fc1c3ef4c6fee8b2868ad19b354fc0fdbe058ab2782082ffd2fbe099cd177d654697dc919a361a446939eb9ef587c71fd17700
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
@@ -13,4 +14,5 @@ EBUILD mocha-2.0.4.ebuild 1012 BLAKE2B 1945b035725c03e194a8ff6f83ecef076af720e70
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
+EBUILD mocha-2.4.1.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da
MISC metadata.xml 332 BLAKE2B caf5137da39b091d3da2776b6219400546a5c2ee01d39759471a24a5beaac1f248be271c376f9061c0b1de49d531832b6e6cdf9be53f943d112789a8240feea2 SHA512 af0bd36bc12851a56c49ef645c95b145ef28ec2070b1bcf1fc3629526b91c20aeaa39357e997389e02482ddb19c9f3cb52acb7bb9a2f90142087ef4e874f1bd8
diff --git a/dev-ruby/mocha/mocha-2.4.1.ebuild b/dev-ruby/mocha/mocha-2.4.1.ebuild
new file mode 100644
index 000000000000..06d86dc2ac9b
--- /dev/null
+++ b/dev-ruby/mocha/mocha-2.4.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
+}