summaryrefslogtreecommitdiff
path: root/dev-ruby/mocha
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-ruby/mocha
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r--dev-ruby/mocha/Manifest6
-rw-r--r--dev-ruby/mocha/mocha-0.14.0-r1.ebuild6
-rw-r--r--dev-ruby/mocha/mocha-1.13.0.ebuild2
-rw-r--r--dev-ruby/mocha/mocha-1.14.0.ebuild38
4 files changed, 46 insertions, 6 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest
index f4cf99084173..c83b7b3eded6 100644
--- a/dev-ruby/mocha/Manifest
+++ b/dev-ruby/mocha/Manifest
@@ -1,5 +1,7 @@
DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11324a0574c707bea3219d51edb9ab40635378c16b46ad826ec7eff42434a27cd61113a6f40251fa2e6930 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461
DIST mocha-1.13.0.tar.gz 246249 BLAKE2B 028b40646b96084f26df9813a8c8c4d5adc9f4649e11971069af086716d84f90f1acc6abc8fac8297c3a516afa51049c4bcd7ff0f6fd3917d0665fa6f9afe754 SHA512 84cbe344b0bae434e9931a83b587dcefc14e8699893022a56e30a59bff574b52e3879a123b8f2f70e77301701b167d5992489e2173191ffd3450f09db3e7383b
-EBUILD mocha-0.14.0-r1.ebuild 861 BLAKE2B b454f39405e42281948435ef50529cbc53e7535adc04148a45a1f3cf4753244d6313b8fafdb7a82e5735ee8e96592bb430fb771cf1ec611fd677c7d6d3fa5435 SHA512 bacbebe46b81eefd058bc78e36f03bf3c8958ca955555c8865bfd5d01330992ff183d39787b20d3f0a348bf1dfc8e87c83984e60e69caaf92c3ef08349290027
-EBUILD mocha-1.13.0.ebuild 992 BLAKE2B c5a812ebf945ff9871ea7d88c16cfb831724ebfbe125a3fa2aa7a88371a5f0000b558f2dbe868f5c23de227f04a556887bbde07650da77a69fece456fbcd744c SHA512 f99bb5b2323a32ad7c3d6c07b939e7f558071f094f8f6584058260bbf967befcb78d9881afbbf93dadfc1d075da07abc4a074a74613e16dc4f946c16ebf654cd
+DIST mocha-1.14.0.tar.gz 246015 BLAKE2B 836b678ca0bcbc1860cb185ee6cd5a71bbdeff4698780fdfcffe6fd38196b1291aa6c23a779e7e1e59bd8155d5ec48fbde426ace468f8186e18860f3d3764836 SHA512 41dfd1f9add0b62c8609ec4cdf07ae58580503c81eb40886cae6c97ee5a5109ae5aa6094756c9666985266c83fad38adef7c9c4a2add8ef2b7571c2c1753cfb0
+EBUILD mocha-0.14.0-r1.ebuild 874 BLAKE2B 9cffaa02080f973e929c0f4ec7d5fd85b919fa05e48d3ff5f924c66a4b96f901bec9b05c257c09232a459eaa374722d4e34f3412039d287544de23af587c53d2 SHA512 a2232d40f2f118ce99f8c44f46c0ab7e11abbbffbf7f1451ae9734c7b96c6740a7b92a08427c20e9c4ff0e97f82924a9a7bbfc8e0c129c4618f26cc4fb2b243a
+EBUILD mocha-1.13.0.ebuild 998 BLAKE2B 7e906fff5e3dd23b3090303f019a36061f08637ef0c4a5df0b327d11d927823b620af65110a9ca381724a1a32477eface4eb7f7fa44fd6130066bc3bd3555066 SHA512 cfc3fabf625b776878bf6b13c1b4367898f4f8431321aa0b3e9e82a93a4056b80ef1bfb29f4058d14ddcc4efd3033ef4379df829e02278e12601682b0a4d9b21
+EBUILD mocha-1.14.0.ebuild 1012 BLAKE2B f5acf87177fcf4e87b305410f3556957495f8d8ce580f64f9d6c626261bb1772c813bf8d9f892a0660770b98d801079329f90011e4f3860bd58713bc9bfbd79e SHA512 3e13341f1ba652ee376e4adfb16c7687494712079cd96c14439e901226f7c23c38c0ce20097606aaadd3659d364ae85229bdde6a548a8bcce6601db49bcf0714
MISC metadata.xml 252 BLAKE2B 77e9556ac1d210367a95f4c47816618b685c707cf01d1543d988338e14794fb9ccfb9976ebd11f389db618616d91ee024d8e46dc3a1a356ba7a017a7796b44d1 SHA512 0a970a16d73747993198dd301a3127cef7e65a9f46816b40ca149669ba617826c1d81bac1e5ecf93d16079922964923d37301cd8160f22c823c1ec3b79ee56f1
diff --git a/dev-ruby/mocha/mocha-0.14.0-r1.ebuild b/dev-ruby/mocha/mocha-0.14.0-r1.ebuild
index dde5ef977c2c..d4985c30a762 100644
--- a/dev-ruby/mocha/mocha-0.14.0-r1.ebuild
+++ b/dev-ruby/mocha/mocha-0.14.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
RUBY_FAKEGEM_TASK_TEST="MOCHA_NO_DOCS=true test:units"
@@ -17,7 +17,7 @@ HOMEPAGE="http://gofreerange.com/mocha/docs/"
LICENSE="MIT"
SLOT="0.14"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE=""
ruby_add_bdepend "
diff --git a/dev-ruby/mocha/mocha-1.13.0.ebuild b/dev-ruby/mocha/mocha-1.13.0.ebuild
index d95ad4cf3f1f..eb549c40a41f 100644
--- a/dev-ruby/mocha/mocha-1.13.0.ebuild
+++ b/dev-ruby/mocha/mocha-1.13.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="MIT"
SLOT="1.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86"
IUSE=""
ruby_add_bdepend "
diff --git a/dev-ruby/mocha/mocha-1.14.0.ebuild b/dev-ruby/mocha/mocha-1.14.0.ebuild
new file mode 100644
index 000000000000..4e571cd1eff7
--- /dev/null
+++ b/dev-ruby/mocha/mocha-1.14.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance"
+
+RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
+
+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="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+
+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
+}