diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-12 08:19:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-12 08:19:18 +0100 |
commit | 4d0ca679fbcb59301ffc7af98794c411c5061a0b (patch) | |
tree | 8353718f79e0de6c7c5ee2d6cab498bd3bebf565 /dev-ruby/mocha | |
parent | 683e8a42fb208dee0d6289d084fb39ab17aa2b60 (diff) |
gentoo auto-resync : 12:06:2023 - 08:19:18
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-2.0.4.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index 9149e005d9e4..26950f0907d8 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -2,7 +2,9 @@ AUX mocha-1.16.0-ruby32.patch 1889 BLAKE2B ac383ca88d04a78751109cb03a3ab83692cac DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11324a0574c707bea3219d51edb9ab40635378c16b46ad826ec7eff42434a27cd61113a6f40251fa2e6930 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 DIST mocha-1.16.0.tar.gz 246370 BLAKE2B c2891021c33e4038ff965a470eda3be7eac2765f7c038fef33f38cd07b8501fdb88a1dcd8d291eabb124fb0fff50c40651bf29ac4a28012b57c7a02d2ff46b63 SHA512 b7d8825771f84245e7383e4081dcb42734b9716e7bef3c1b5d49ac28850590b4beabf8d0370992e100b6340ff3cfb3113610e303de74bc33c059bd9b9910cb8e DIST mocha-2.0.2.tar.gz 245650 BLAKE2B 3bf56cacc99b5eeb17977cd1052c635df74aec10f20a76d843d703e68520ef434bc9111b739591dfa15b21ecdbdfb5b55037e9509683624349be83613528787f SHA512 93579390f4feaf034cd6e8905654fe8cc5c8a1f28f3d27488deeb84250114a5e04c4e7aa544f18f33b2c3887668d5fddb3a3f9bda5548d577be1522da2e09760 +DIST mocha-2.0.4.tar.gz 243542 BLAKE2B 4a9bb3f1493225f7eed7080661a168a90c56e4f737a8bc15402bf0a08ae7cc14e8e5cff9a090b6413633c37169e7ff9f45aedc3c5fd929ab32d359ad58d404f7 SHA512 4a72cd18e70608265bc20761848657b900a6d60c888ec4027e3b9f1884efa41d0d0591c4f3e26edd96a806ecdfc3b921d5871465a799a5ea5905627b7093f5b1 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-2.0.2.ebuild 1076 BLAKE2B 929b09a37927bcbca0bff449cfcd81a8d431736c87d09afd1aea76eb2368234bdef79fc55d9af4a502246da4196b4998f77c37a24fb2397f5f16d2ddd310ba62 SHA512 223addcd1f6cac1e4fca4b2c16c75515e4a54a60afac375dafd38363290813c7105060ec13cf92399ad5e6cddb1b3082f2fb0ef0746db4275be6d20f7dbfe337 +EBUILD mocha-2.0.4.ebuild 1012 BLAKE2B 5f304a82f9674675b35107f5ca102283375f836816ab5863b0788c0436ba97a1be356359eef8792ac72470f4b0d4ce96903c0580b540bb07e24071adec987f2d SHA512 682f4f00296211d16df029df9bb17b26608ae44427ce337344681475151231e9a55362a227db01f86af8a7fa8af2a5ace8fdcab4ad2c3753d3d95c1ba7b3f3c9 MISC metadata.xml 332 BLAKE2B caf5137da39b091d3da2776b6219400546a5c2ee01d39759471a24a5beaac1f248be271c376f9061c0b1de49d531832b6e6cdf9be53f943d112789a8240feea2 SHA512 af0bd36bc12851a56c49ef645c95b145ef28ec2070b1bcf1fc3629526b91c20aeaa39357e997389e02482ddb19c9f3cb52acb7bb9a2f90142087ef4e874f1bd8 diff --git a/dev-ruby/mocha/mocha-2.0.4.ebuild b/dev-ruby/mocha/mocha-2.0.4.ebuild new file mode 100644 index 000000000000..6bc3848cee30 --- /dev/null +++ b/dev-ruby/mocha/mocha-2.0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" +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="~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 +} |