diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/mocha |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 21 | ||||
-rw-r--r-- | dev-ruby/mocha/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.10.5-r2.ebuild | 50 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.11.4-r1.ebuild | 48 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.12.10-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.13.3-r2.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.14.0.ebuild | 32 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.1.0.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.2.0.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.2.1.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.3.0.ebuild | 36 |
11 files changed, 390 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest new file mode 100644 index 000000000000..2c69845caca5 --- /dev/null +++ b/dev-ruby/mocha/Manifest @@ -0,0 +1,21 @@ +DIST mocha-0.10.5.gem 73728 SHA256 cb511ef036cf411a128175e0dca69081d97a58ec70beff5077f87d74eda6940a SHA512 147c1b91e6d30598f91bc2c9311b71dd37cd83b0c870dbe7ec1a45b014ccde9ee37c9fe38b6ab250d78af9c0c5629ff4a47a208ae3e8c206eba401c2b3ec871d WHIRLPOOL 65261aac8610029e0d826860a8faafcf920efb0f875393b650133794fdfa16c435ad837ced31d4e5cf0f93aa1d84359a799e153c6d927116787ffbbd94a32347 +DIST mocha-0.11.4.gem 75776 SHA256 12e901203211af113231d539c92390d456d2f0be37339917b5a35efbee6bb3cc SHA512 8a862f49e0dc7f2c98d499d0fd48d567b0d20580bba7f963d4643962e598dbda75135caf53a7fa04118f3faefb75c7627dec47b2f1330d1bd4bfecd9c78581ed WHIRLPOOL 656a49ef3812ffba75090fa76ca387ff960041fddaa7b4e66f89bf2f4bf2837d70a61424272ab5143736f81920cc18b7db77be4f74d21ff7f67629a919dc42c7 +DIST mocha-0.12.10.gem 77312 SHA256 222147bc1fc130620ea6ce051e8e716b855c82b27a3e38126f08f490614c98be SHA512 78deff0f59895e27a66d1ceb7795f92ea3338f7f3d4ee897c6c594497bd5bcfa8383777925128c8e43bafcad89276a2d0d3c6d71d3e2ca4b1de552b5576199f2 WHIRLPOOL ec8cbc9d886c9a6487c7bcf65a352ecc0662687eb45456ac58465522060b8abd9c768de88493787ded1dd1feca0165fe6b533546f0764da82113f7162e46b0a6 +DIST mocha-0.13.3.gem 82432 SHA256 4f979512dd32f2e0881c143132160dea433a392287df40d12576bbbb0af6646a SHA512 4c013565644d4b3af9bdc515c7b9b5be39c606c53d0b5da4569bd7c3fd98db3f2a7e6b88e566b32277c8e8d0ea6c83340e6afd1e80cdec0dfabd41e4fe5dbf27 WHIRLPOOL 150b9c0d573670b3592ef1f435778c2c5e47fe71f45dc59f99314b9042bfc146b46a5e42aedf899f8ea2e531ae7e5478d043a34f3d994c38d579ec0f1840e763 +DIST mocha-0.14.0.gem 82944 SHA256 4bb00fdc69d628b15ad2b89ca6f490aaf92486f640282b8943fe3b43dee9a145 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 WHIRLPOOL 816cb472c08739b5e342b6b3a8f3ae5c0a4fee9d40234ecd1ed73f4b4a16cffc7d36034d5987c943d1f52c06a1e953fc9e41d2b5ecec6620b2b611dae2a228e3 +DIST mocha-1.1.0.gem 87552 SHA256 f1d3385b5bed21bdcdcb9d26fd10139b2c7a67b1572e789ec014edf5acadf680 SHA512 5a07c8364ae649a6be821c4b61c349d79e1dbf1e574ed95b07848f5dae3a2860e2f2e06499fc15b8352ec2146f273cc40ee8e65e670214f0f0669b6eedf698bb WHIRLPOOL b2f2621d6a039b8bf9000fd508680b359b14fdb913c883c5d86a3cd79736084a456577e621a20060a11dc3cdfa503a0c32a4ffd9c3c2b06af45e412a6ef2d7d6 +DIST mocha-1.2.0.gem 90112 SHA256 0526557184a50ed7aa5554b9e3e61267cb96e8dbe08c3b2086f6212c623fec73 SHA512 cedbbafb095ebc54b74cdb848d11acddaf44333c6f844282fc217906c551f1ec7f0d33bc881e1c410e59917bcfc0b2b7d15d8c549d56ef9c6663907d0d7c0a87 WHIRLPOOL 3424f0ddc1984f53c01c5e0eb5d82e94b5357412370660fc195115fc3f4a119692fcd052ca4ebed6e93d8f8ed81b372ca4d2e6ef96e3c08270b4648dce2632a2 +DIST mocha-1.2.1.gem 90624 SHA256 7de99b005aa41dc46841442afe468451a145f2c6d9b10fac0c23f0d911bef50d SHA512 318fc7275b7ef14b6839ce68beb4a6dcd2a06325bcc5e69d82bd6842dc39c78b8a09d6d06d36dbf0f43e59bbcf441be9a6b1d3037f0cbde25be9d04ae44b2aed WHIRLPOOL 04c1f2d8c1b7844ba1fd6c92ef5077bff05a368ae19208182b29356972090368c77fc00e91c12f31b8895bdf7d452a34a3980ba79b119c8de0dfc26bcaffa4dd +DIST mocha-1.3.0.gem 92160 SHA256 22f247ad94e92cef32baac2e671d1d7262f165dc933ead1940cf874c3d1fc25e SHA512 a24de9129da65f6b37f06ad888fdb80ae987f51594980991a6ac3ffd23e9dafeedd7a2e758835f33f4de59e07b7c39449e3a49228159710bd87a3de7d3df6a3c WHIRLPOOL aae77377d9d1cca8977d24f406a2a49dec6abab85c93024ef47bb9a6b66fcb40fb613e67d8a3df14acc971b298f0d1237291aae83502606f0b178adadf92933f +EBUILD mocha-0.10.5-r2.ebuild 1188 SHA256 82c407dd88b421997de87ec78d58f3c22f3d400b5e2575ff20436b2473016247 SHA512 79465524e0d28fca61d52599ff068a13fab50a4ddcd4761788692688c42cfe24c91d1934f20cd041cff7e92305520f10e0a95790e03f549cbb6e5edde0a7da39 WHIRLPOOL 88c98e6884c50299ff1018b0a957dfd42fe317a5eb69998322ba4af3fea7360db9dd406361bb3f65e8d66748a46aa76c835d20d46a89b1c745cf7f70c8077880 +EBUILD mocha-0.11.4-r1.ebuild 1102 SHA256 037e7672c6e8b6890a901aada8e7bc9de3d839098c876d5c9133ee423f97f408 SHA512 df891065ba65d4949305b4fcbc017f48728569a15375aa8d073e70369f7f596710ac0fb67513e78d3be86cc33b9645deeb8bc99461bce8c238af2585c040a247 WHIRLPOOL 892197d739a7a8536980fecda87071cdd149bd47abbe5c98bc46043f1f1f8f2069c01745c9dcb875f86a71c680c0f862c93a1303535aa7e06b9d0c8c5e327fcb +EBUILD mocha-0.12.10-r1.ebuild 1150 SHA256 ab94926dac02fc2cc2ad98ab055fdf87b01a723e3d641c18acea0e10e5571f2a SHA512 a832c6e25857b6aea86be90bffeedd9ef22431a11d97185388428488196569a10a70c2085d545f55a50512120b64edfaf3b66b6c8eb125beeb5ba8678a30d3b0 WHIRLPOOL 4ee0ed18ca48022688f01e70d6412c4bd4c65e6d63bbc46ff6bfec266b99d67568bed0e9a66bb7b9afb0717f394f4659ace6a606b7aba556122640a9bc7e8871 +EBUILD mocha-0.13.3-r2.ebuild 970 SHA256 6579b349816edd122d578c460682dff75cea02c9b1b196477748b99b680a7461 SHA512 da30332becf147dd12ab3939dad77185c9b650009404bd6e299e744a06a759bbba3ec70c9b2b88a35495e0bbd7143345647a874f3e069721f3ae99de71930a86 WHIRLPOOL 0086ffa53de78df1ae06f7165c933490857af68b22d2c5768149832e8bf8f14691fc4facc304fd5c0bb5a89537abc4228db703fa667bf31a864e9e318b01ea21 +EBUILD mocha-0.14.0.ebuild 891 SHA256 d61a983f7c199d465048589f5dba13eeba8aa8816bc78217c7a150773c07297c SHA512 1d03a7eb194ffe9b086ea3cead434824effcb92a9b927ee8938d052e36663283037d9a88604082ca4646c139ff3228208bbc494877a9f0d562141c9409097f70 WHIRLPOOL 2e4d7100c5a893ea86c435cbcfad226ff7f46295162940c3918850f08a9f94232d768d90cba6014e1139591a8ac0d9925c37d233cabe956f5938651d1f95d523 +EBUILD mocha-1.1.0.ebuild 853 SHA256 3ed8e3c4c025df6ca83fda3228b12b25f1f33aa92d27651aabdfc2fec04e9edf SHA512 a1f48fa4bb83754b1d6af4e5d50ed63c404c6b1e788a4d83ec2c190813b72916d73de541ad97cedf14073444aeb4bdf4174411be1fa6aa66eaf28b124b9a67ab WHIRLPOOL 1cd769495e2e1716fef63d1adb0f4e7c80e3f04782bc0c2c60cd1f87fbed3b6765d15d6360b63320f90802aa135bfab378d0259f3d65c060ef8d3fcd55b9e824 +EBUILD mocha-1.2.0.ebuild 861 SHA256 2f89ef328b2ec6d39a913ecfe19cd9d9552968e75304fed34e08382739d707f2 SHA512 0be815d7e7d31f89732cc995c98106a753e0b5421b573968c60ffd38261a58c762dd936cfdde63541b8f7169bfad7a53616a5cf53a9f4f0a0c32be153091c9d3 WHIRLPOOL c464510031d4f2315d9763153a124872c469b5746ab10881449f7e3a1d6b54c3c788dfb44f5a8fa072d2df9d7757ee61ad11143dab0410259985de3232663841 +EBUILD mocha-1.2.1.ebuild 868 SHA256 7152e524f7e7c23bad9e66f598592fb87ce44f7d34ff7d7c8b15e3a58a41876e SHA512 3c152d838a7faeb2aa722eb0bdcb34e7141fbc4eb681b4edee722a8efcc940e49a6b0f0dc7dc1f716c5633b95cf628e89c3b5f3f123350cd5bcb594ee4a25790 WHIRLPOOL 78999dfcc2b3142c263f2258892dfd40d6891123163cb14203933f3782e93d6f78fc3e856b119e25153306d317d5a77ff85ca345f1ba1aa327cfe131a73a2b20 +EBUILD mocha-1.3.0.ebuild 861 SHA256 b81a91da6bf86a9e2077f5107a5d41cf983f262df02221808e909389670dc586 SHA512 f06e0d7a05935b6605b4e2a9916b684d0fbe12e25b73d6042fc8185a870f07982f8f0088fc0fc17cdeff9aa73e00d9044f95c721f3de1d453193c8eb628524c0 WHIRLPOOL 5993ef5bd57dddb0b3b551909eff876da905ac1983c05217b36f9e97a7c2f83aa1791a8eea46ffd94f9216c534d16933cf5644db3a90104912271fd729cbb038 +MISC ChangeLog 7591 SHA256 af5ca1a86ffce7d2513478b51e1613c2228f9d55658e4bc106b27ffd6892b5f9 SHA512 9c0b774d173c8b79f1cd9c4eaf5ebfc6adb2bfad8e2c649a1bc3d43db1dfc5e8b881526bc0f0710b02139cdc3230461ab8f38ee18ee06eabc93ec480997acb2f WHIRLPOOL f5aa4d8fe1a12ab6832fa0357027e0c517b4b8fd28e16ad358ceb8a58c231cea5c06ff5a6f163b0bc31538b4c9017e27c0a207f5cde639a290b7b1d747aa0e33 +MISC ChangeLog-2015 17834 SHA256 70556e79c7921d310fe99028bd588262a5594fd6c5834ef4aef6bf1f3e5721c4 SHA512 b11b980b289ffd729c50dd320e3e1586e40930e133b8c552cd251bca2075fbe827d58084ee864ad91e298d81294256c8f05a9b95e2bf79f241c4aa13c1d94168 WHIRLPOOL 8016774561cd8a6ae28c4dc33079f2106d9994a7309aa306bff6ca6a188bcd4619238c8d418f6e65d0763129af20b9286829779e2317b298cf0633eb93c79f41 +MISC metadata.xml 251 SHA256 e42b6a84b1ae72e905433686395988601795455bdc99180089f055a3498c4c9f SHA512 17d4dbd64468a524311a24ca065537a5b21560388efd282f3fa873e6722f70db6f83e3e5615556450905c29d5df2cf0a0855f9c0b38bf23f0f8112501456d4ea WHIRLPOOL 2408c62b64285a8a340b446568718af55786b22010e127543f28dc67de0c67f1739905e31b7d0e549bfc663ba05ea646c011de5df57505a5bc5ea7a79e2e7639 diff --git a/dev-ruby/mocha/metadata.xml b/dev-ruby/mocha/metadata.xml new file mode 100644 index 000000000000..eb1e47f2edfb --- /dev/null +++ b/dev-ruby/mocha/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-ruby/mocha/mocha-0.10.5-r2.ebuild b/dev-ruby/mocha/mocha-0.10.5-r2.ebuild new file mode 100644 index 000000000000..d35a603a2130 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.10.5-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://mocha.rubyforge.org/" + +LICENSE="MIT" +SLOT="0.10" +KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + doc? ( dev-ruby/coderay )" + +ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die + + # Use syntax that works with all versions of coderay + sed -i -e 's/html.div/html(:wrap => :div)/' Rakefile || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake examples || die + fi +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/*.rb || die +} diff --git a/dev-ruby/mocha/mocha-0.11.4-r1.ebuild b/dev-ruby/mocha/mocha-0.11.4-r1.ebuild new file mode 100644 index 000000000000..7c9fe8d25c01 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.11.4-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="0.11" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake examples || die + fi +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb test/unit/* || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/*.rb || die +} diff --git a/dev-ruby/mocha/mocha-0.12.10-r1.ebuild b/dev-ruby/mocha/mocha-0.12.10-r1.ebuild new file mode 100644 index 000000000000..49ab08f21c31 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.12.10-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="0.12" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rake examples || die + fi +} + +each_ruby_test() { + ruby-ng_testrb-2 test/unit/* +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/*.rb || die +} diff --git a/dev-ruby/mocha/mocha-0.13.3-r2.ebuild b/dev-ruby/mocha/mocha-0.13.3-r2.ebuild new file mode 100644 index 000000000000..373dab9d3d03 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.13.3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="0.13" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/unit/* +} diff --git a/dev-ruby/mocha/mocha-0.14.0.ebuild b/dev-ruby/mocha/mocha-0.14.0.ebuild new file mode 100644 index 000000000000..175e2ee5ecd4 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.14.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_TEST="MOCHA_NO_DOCS=true test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="0.14" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sparc x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die + sed -i -e '20irequire "mocha/setup"' test/test_helper.rb || die +} diff --git a/dev-ruby/mocha/mocha-1.1.0.ebuild b/dev-ruby/mocha/mocha-1.1.0.ebuild new file mode 100644 index 000000000000..0b1517447a2e --- /dev/null +++ b/dev-ruby/mocha/mocha-1.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +ruby_add_rdepend "dev-ruby/introspection" # introspection ~> 0.0.1 + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/mocha/mocha-1.2.0.ebuild b/dev-ruby/mocha/mocha-1.2.0.ebuild new file mode 100644 index 000000000000..49b6731baf92 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.2.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "=dev-ruby/metaclass-0.0*" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/mocha/mocha-1.2.1.ebuild b/dev-ruby/mocha/mocha-1.2.1.ebuild new file mode 100644 index 000000000000..cb3828914f50 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "=dev-ruby/metaclass-0.0*" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/mocha/mocha-1.3.0.ebuild b/dev-ruby/mocha/mocha-1.3.0.ebuild new file mode 100644 index 000000000000..4ef2aa59e3b7 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.3.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "=dev-ruby/metaclass-0.0*" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} |