diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ruby/mocha | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r-- | dev-ruby/mocha/Manifest | 7 | ||||
-rw-r--r-- | dev-ruby/mocha/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.10.5-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.10.5-r2.ebuild | 51 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.11.4-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.11.4.ebuild | 52 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.12.10-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.12.10.ebuild | 53 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.12.7.ebuild | 53 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.13.3-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.13.3-r2.ebuild | 38 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.13.3.ebuild | 38 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-0.14.0.ebuild | 35 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-1.1.0.ebuild | 39 |
14 files changed, 565 insertions, 0 deletions
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest new file mode 100644 index 000000000000..54f484cfa2f1 --- /dev/null +++ b/dev-ruby/mocha/Manifest @@ -0,0 +1,7 @@ +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.12.7.gem 76800 SHA256 a987ee463b4cbc42e08cac552c2094cd25614b9444e132082572343acdcd4cec SHA512 61f06a9ff0ccad4cfb63e15d5ae437296cb12e8606e4f7f759b05414226782109102ab5f32dc1ace6c6d72abf7029f7be628b4a0053bc3cea7e19a85e649a7af WHIRLPOOL 575b11282098580fbaac4b74de6e162d3784ba906841795604a959b9b2c39085627e91a93a2e95ef4e1fbb77085aecdc36a2faa4fcd3d867bee6aee089907830 +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 diff --git a/dev-ruby/mocha/metadata.xml b/dev-ruby/mocha/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/mocha/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/mocha/mocha-0.10.5-r1.ebuild b/dev-ruby/mocha/mocha-0.10.5-r1.ebuild new file mode 100644 index 000000000000..f9bda0bacc0d --- /dev/null +++ b/dev-ruby/mocha/mocha-0.10.5-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 " + +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="A Ruby library for 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.10.5-r2.ebuild b/dev-ruby/mocha/mocha-0.10.5-r2.ebuild new file mode 100644 index 000000000000..6e70117747d4 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.10.5-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 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="A Ruby library for 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..97b334bad100 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.11.4-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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_bdepend " + doc? ( dev-ruby/yard )" + +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.11.4.ebuild b/dev-ruby/mocha/mocha-0.11.4.ebuild new file mode 100644 index 000000000000..a6be6503d44d --- /dev/null +++ b/dev-ruby/mocha/mocha-0.11.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +USE_RUBY="ruby19 " + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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_bdepend " + doc? ( dev-ruby/yard )" + +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..e57d8458e07a --- /dev/null +++ b/dev-ruby/mocha/mocha-0.12.10-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 " + doc? ( dev-ruby/yard ) + 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.12.10.ebuild b/dev-ruby/mocha/mocha-0.12.10.ebuild new file mode 100644 index 000000000000..4a97725c9e41 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.12.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 " + doc? ( dev-ruby/yard ) + 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.12.7.ebuild b/dev-ruby/mocha/mocha-0.12.7.ebuild new file mode 100644 index 000000000000..e11acf998dc0 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.12.7.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +USE_RUBY="ruby19 " + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 " + doc? ( dev-ruby/yard ) + 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-r1.ebuild b/dev-ruby/mocha/mocha-0.13.3-r1.ebuild new file mode 100644 index 000000000000..e392170ee96d --- /dev/null +++ b/dev-ruby/mocha/mocha-0.13.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 " + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 " + doc? ( dev-ruby/yard ) + 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.13.3-r2.ebuild b/dev-ruby/mocha/mocha-0.13.3-r2.ebuild new file mode 100644 index 000000000000..ec56c2bd86a4 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.13.3-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 " + doc? ( dev-ruby/yard ) + 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.13.3.ebuild b/dev-ruby/mocha/mocha-0.13.3.ebuild new file mode 100644 index 000000000000..9e03c7e62234 --- /dev/null +++ b/dev-ruby/mocha/mocha-0.13.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 " + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 " + doc? ( dev-ruby/yard ) + 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..5c0526d5a8fc --- /dev/null +++ b/dev-ruby/mocha/mocha-0.14.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + 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..37cb9fb79b91 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for 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 " + doc? ( dev-ruby/yard ) + 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 +} |