summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-28 11:04:24 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-28 11:04:24 +0000
commit7bbec6f34bd5a1ab740417df949bcb707eccd0b0 (patch)
treeb04b9a7bf914c69d620f72b105e6a812a9e823a9 /dev-ruby/bourne
parentFixed another bad mabi. Issue 406107 (diff)
downloadhistorical-7bbec6f34bd5a1ab740417df949bcb707eccd0b0.tar.gz
historical-7bbec6f34bd5a1ab740417df949bcb707eccd0b0.tar.bz2
historical-7bbec6f34bd5a1ab740417df949bcb707eccd0b0.zip
Initial import of the bourne extension to mocha.
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/bourne')
-rw-r--r--dev-ruby/bourne/ChangeLog10
-rw-r--r--dev-ruby/bourne/Manifest14
-rw-r--r--dev-ruby/bourne/bourne-1.1.0.ebuild33
-rw-r--r--dev-ruby/bourne/metadata.xml5
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-ruby/bourne/ChangeLog b/dev-ruby/bourne/ChangeLog
new file mode 100644
index 000000000000..b0ba68c76a89
--- /dev/null
+++ b/dev-ruby/bourne/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/bourne
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bourne/ChangeLog,v 1.1 2012/02/28 11:04:24 flameeyes Exp $
+
+*bourne-1.1.0 (28 Feb 2012)
+
+ 28 Feb 2012; Diego E. Pettenò <flameeyes@gentoo.org> +bourne-1.1.0.ebuild,
+ +metadata.xml:
+ Initial import of the bourne extension to mocha.
+
diff --git a/dev-ruby/bourne/Manifest b/dev-ruby/bourne/Manifest
new file mode 100644
index 000000000000..24132deec956
--- /dev/null
+++ b/dev-ruby/bourne/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST bourne-1.1.0.gem 17408 RMD160 751ccf35d6d134c7ae3d053abbbaf73c2621fbf8 SHA1 ad1c973caf239c24c02f373bcddb51f1f686b2dd SHA256 999a39c2e31dacd82a5b793354ce39afaab3c0189c9ef2a760c4b25aa9b99a29
+EBUILD bourne-1.1.0.ebuild 817 RMD160 f93049b560d243225f143d33de2d52a81ac89002 SHA1 8c0729fac596ca441050bf76b946665d1e209c29 SHA256 4b7443c73c04440bb321bae6cb16113527c8ae631388514ce1f26f96843f4607
+MISC ChangeLog 382 RMD160 586bfb20f809e18d180ac93c0feb442b76079eba SHA1 8364b690ccce8550890ff6b789b81b9efadf5aa2 SHA256 5d1f15d8ba6d090dc373b444b3a13771af8dcda95aeb2914a7c0d2050d308f47
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk9MtGwACgkQAiZjviIA2Xi8zACfTEBROMl+ZK0L4d2K7CHWyUF3
+JewAoIWKS3odB1rSniejxzJOcbd+bQDd
+=qcgV
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/bourne/bourne-1.1.0.ebuild b/dev-ruby/bourne/bourne-1.1.0.ebuild
new file mode 100644
index 000000000000..1506390843fd
--- /dev/null
+++ b/dev-ruby/bourne/bourne-1.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bourne/bourne-1.1.0.ebuild,v 1.1 2012/02/28 11:04:24 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_TASK_TEST="default"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Extends mocha to allow detailed tracking and querying of stub and mock invocations."
+HOMEPAGE="http://github.com/thoughtbot/bourne"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "=dev-ruby/mocha-0.10*"
+
+all_ruby_prepare() {
+ sed -i \
+ -e '/git ls-files/d' \
+ -e '/dependency.*mocha/s:= 0.10.4:~> 0.10.3:' \
+ "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ sed -i -e '/bundler/d' Rakefile || die
+}
diff --git a/dev-ruby/bourne/metadata.xml b/dev-ruby/bourne/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/bourne/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>