summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-05-04 11:40:39 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-05-04 11:40:39 +0000
commitfc41b4011bd365cbf48f92b7d6c356d8346d6790 (patch)
tree1b70b2cae65c7d09b62742d9e8dfa4324e73165a /dev-ruby/mocha
parentAdd ruby20 support to slot 3.2. (diff)
downloadhistorical-fc41b4011bd365cbf48f92b7d6c356d8346d6790.tar.gz
historical-fc41b4011bd365cbf48f92b7d6c356d8346d6790.tar.bz2
historical-fc41b4011bd365cbf48f92b7d6c356d8346d6790.zip
Add ruby20 and ruby21 support.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r--dev-ruby/mocha/ChangeLog9
-rw-r--r--dev-ruby/mocha/Manifest14
-rw-r--r--dev-ruby/mocha/mocha-0.10.5-r2.ebuild51
-rw-r--r--dev-ruby/mocha/mocha-0.11.4-r1.ebuild52
4 files changed, 114 insertions, 12 deletions
diff --git a/dev-ruby/mocha/ChangeLog b/dev-ruby/mocha/ChangeLog
index 2cd6fab13568..7fe69aefaa46 100644
--- a/dev-ruby/mocha/ChangeLog
+++ b/dev-ruby/mocha/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/mocha
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.103 2014/04/26 09:47:40 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.104 2014/05/04 11:40:35 mrueg Exp $
+
+*mocha-0.11.4-r1 (04 May 2014)
+*mocha-0.10.5-r2 (04 May 2014)
+
+ 04 May 2014; Manuel Rüger <mrueg@gentoo.org> +mocha-0.10.5-r2.ebuild,
+ +mocha-0.11.4-r1.ebuild, mocha-0.10.5-r1.ebuild:
+ Add ruby20 and ruby21 support.
26 Apr 2014; Hans de Graaff <graaff@gentoo.org> mocha-0.14.0.ebuild:
Add ruby21.
diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest
index 8e2338852f4c..c970de8db1a3 100644
--- a/dev-ruby/mocha/Manifest
+++ b/dev-ruby/mocha/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
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
@@ -9,7 +6,9 @@ DIST mocha-0.13.3.gem 82432 SHA256 4f979512dd32f2e0881c143132160dea433a392287df4
DIST mocha-0.14.0.gem 82944 SHA256 4bb00fdc69d628b15ad2b89ca6f490aaf92486f640282b8943fe3b43dee9a145 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 WHIRLPOOL 816cb472c08739b5e342b6b3a8f3ae5c0a4fee9d40234ecd1ed73f4b4a16cffc7d36034d5987c943d1f52c06a1e953fc9e41d2b5ecec6620b2b611dae2a228e3
DIST mocha-1.0.0.gem 87040 SHA256 788fd93c8009a7e0eebd155509953e5987f4681902aad666a294283baa09899a SHA512 41ac4ce56123a0e3fc8693ed7ce6b1d768364fdba89e73c72d2d50caaf0770a5680e1a4d8abec7de1b0a7382bccd56d82fa3ad5813bf1300f63de94360a247bc WHIRLPOOL 02dd86c24b8382db833435987cb9feeab5d36dae66bca972d941388928b5a6947690f96457ad65b55b9cdcb06d37e64e22f5583280657e567472ceacf5cf6f2a
EBUILD mocha-0.10.5-r1.ebuild 1324 SHA256 88f3586597a9cf6231622955e6be372ae942a30b05dd8367f109204123386144 SHA512 3bb8f15e1d84c829977f7c011024988bc1e66a0ca53f39eb464c74311b06147e2ad359da73419a4f41fa071f03254139212314f798ef689ebc3a2717f129eab3 WHIRLPOOL 994fcef4188f8d21e07a8067a48ebc9a01f93d87512be88130bca61f2938fc4a1414c73544cc884814976f2590c87b540001a014e0e30211abc49694efbfbee6
+EBUILD mocha-0.10.5-r2.ebuild 1317 SHA256 5d9817e717c53ff774b93623469fb82db75e9a86b7575ffdb93ec5c86d3ade29 SHA512 bc27832d79993547e0d8db0594af63562bab09bbe336f4e2ff32240a6e046796153b060a379d5271c5fe827eb490778699f1ebd5ee5991cc5c80e35e98c8cbd8 WHIRLPOOL 303b8c264f156641a1c13ae80d9fa0475948f95a27447aeec91a4736a4d08295ff37fc426f9f41f436faf7cd3e43607aa023cc1f11d40b19d08f5bf3d06549f3
EBUILD mocha-0.10.5.ebuild 1307 SHA256 6110c1360702665071b23ba5c87bf577812d27770e2717df1033daa88136c240 SHA512 706131f19c946781a336f480b3dc209f83e03dddea16db99f4a1018eeaafa72aec076449ed210491d592b87f156873b23060223efdb1510690f9584b7fc14a6c WHIRLPOOL 82dc81e1d02603b08160feae80ab5897d2b6ed5e2240ec1e608798ebcf24b267af61d395053b55507f37ab7a44cb0f5050d302a78806b14bdd529b0406229f03
+EBUILD mocha-0.11.4-r1.ebuild 1278 SHA256 dcd2bd4db02ca8d57cef9ee48062a7464339e2725033bf753f3ffb4750bd3600 SHA512 8c3df81fcc724a5c2fa8aba9dfccc51211257e6ad31f661af1e20966914acdc7173389c7b2daa9bbefa1c33d8c49d71ee4fb914330b67c8776aaed12abc0fefe WHIRLPOOL e7a721fcb6d7f9b7b6a5228d274f068c42eade8c2438843c076ab6ef1ef6ab78cec8b6c6c447a8f0c7fbd12a5458c6729f86fa19c1d27385f29eba8de0454f5e
EBUILD mocha-0.11.4.ebuild 1268 SHA256 92cf7a00574f611fe9d75473b436d66bbb59380b367d83c971874cb8d4952c64 SHA512 9e903f2f57c38a167eb95f1726a77a8ab2cdf16dbc9564756e25499cb7f8b63f547db13116ecb1e6c238f63765c41dc3188a4169a4491bc9677d9d3b96e75006 WHIRLPOOL 6bf5314cd65019db30b319941a8fdbb02ee64bfc32fd08ea55dbbb5ec8bb623f239f706d6eb18b765c6a462d0d7317c45c4307ba480e758cf69f43e1a3cf4fda
EBUILD mocha-0.12.10.ebuild 1304 SHA256 1828d1ce12cbbd45d3c7f23bf579f5da7ae94c178216c7c9482d5c66bb44d80b SHA512 fdf05b41d59116bacfd966daebc283c939aae264f83c60848d6a8b9536868894a52702736d58b386ffc5038bf2dc191861a2408766208630b49d1c68ac0345b6 WHIRLPOOL 9a852d2b23a276ff797a9b98fb54d6567232c380d5b294ec77fcf69e09a495713575628cc538bdea3ec7d1037dc3b8cbf499eb915a47061a3b5b7a48020f20ef
EBUILD mocha-0.12.7.ebuild 1295 SHA256 e44e2fb5572baec0f209cc70dacfb149d479be0c89985b25d1034bc0ba170317 SHA512 6f06518d08589fe7d77df91c84eadbe8196a891fde33618091aaf5023ce66d7bd8765bd1c7ec61e7637fded2ac2ab3650a48eaa96f4b85b77e81ae1217b5c671 WHIRLPOOL 9af2af4e8eaa2113b1756a161beddf54ac2d3171a3f4c8bae468ffe12c094ca67cdeb7fe513aee23b72825d6f63273b48c1acca1e0ce5ec2e22ffb1c23e92be4
@@ -17,12 +16,5 @@ EBUILD mocha-0.13.3-r1.ebuild 1119 SHA256 b66f2567300017c7ae8fe913d1659f212b2abb
EBUILD mocha-0.13.3.ebuild 1108 SHA256 16edf5a144604171bab8f9359e5e8e31b7bf4afa88b90568089a10fd743db389 SHA512 faccb48e98e57a70aa7ae0faa2f4541b6f86c8b4b853e8a46b73d03f010cf2ef3d996c26112e2934dead85e7ecc6a5b9da640b9e57c7f3a4b1252264769b39de WHIRLPOOL edfa150a93c5f870d0e6b476bb595da9f47628f7d856e0820fac5edf6b23a9977ce236021ab42743f8290729bfb4411f9aaa4d65bb28c2cb8b2052f8285725f7
EBUILD mocha-0.14.0.ebuild 1020 SHA256 145fc9bffc077c1362896b5ac3f6408218942861a6727a3ad135aed92c442733 SHA512 c02bb4604da46b41aa5e3e3154a2a33fe107e82473230099200bcc29af1043490d1ae9ca71dd3ff7a509494831d577763cde1022bf9ee642557159c62a72e610 WHIRLPOOL 1117c8b6bc681c3e02a2e0fdf8c277c92962fd077e27780c8f37b315b19bb529aa01b6f16a1fd1e6f4248f73541aed4840b6059df61ac4b096008744f549b847
EBUILD mocha-1.0.0.ebuild 1018 SHA256 60c9f2d2d0b85732d8d745be5c6f17744f48c8be3d3c95cc4d36512003f4cf79 SHA512 e3287d68a32f9860a1148ef695526b8192ba6f8e41c44df4194972a5fd196d6579e4f288182140563c20f86451aa2cc5e81b3efda8bbe9bfb156428980197133 WHIRLPOOL 941fdd44a9645027d8af18f9a04e9279bed12664398c8bc16c59ed7b48422ed9a29862648120e44095bf7418cb05ba1966d2c8387b0d475a22d0af9fb3b68259
-MISC ChangeLog 13648 SHA256 d45a1632aa25f0082ed0678046f0c450b24ad4e3afbc38bad2879751ae4264e5 SHA512 13cfa589a4d95916e9c9959b84505c596e9ab9b11b2b244113ba29ecc9bdd0ccfabca54daa952d0b2f492284d88d2264132c6e874d0f23e4512adb2dd8ed0ffc WHIRLPOOL f0f1b300e02bbcee69b9dda73914182898e21f0c3be62f3bde99db7feffd0625589135ddae42d0d0da386bfb720c5d8a9498e937d9b38e496cbcfb754e143bff
+MISC ChangeLog 13868 SHA256 58522f5df8d89fad6d6d4b62566e6e1cbd0c5f8a483b9a53ab2f79ba405801d4 SHA512 1afc44994cfbda8068f5c10ac7d24301654c7a90a57c7d672139474704a0fec01a27acb64126cba9d80cf5a6ad1b1b29a9dbdc42aeabcfd8746c6abe615babb2 WHIRLPOOL f4336de619a212821b08b2a9ddee686c3ed8efea19a6c335174385b9db72a7c502616e13a6a91b890bff0984c2078505adce33b8612cbc8d715ac4e506c722b6
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
-
-iF4EAREIAAYFAlNbgMMACgkQiIP6VqMIqNcYywD9GotHGr55KyAlYTW/vX1QU0aF
-5CR7f8BsijEIasQrs14A/2rhuTMiStQ2VAjfiOZorTOBAoXEiFgQxjU4AI7G5x4P
-=JPFl
------END PGP SIGNATURE-----
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..638211b6104b
--- /dev/null
+++ b/dev-ruby/mocha/mocha-0.10.5-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.5-r2.ebuild,v 1.1 2014/05/04 11:40:35 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+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="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~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..a69aabfffdf0
--- /dev/null
+++ b/dev-ruby/mocha/mocha-0.11.4-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.11.4-r1.ebuild,v 1.1 2014/05/04 11:40:35 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+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="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~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
+}