summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-10-12 16:55:10 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-10-12 16:55:10 +0000
commit09f8a36e3a7c5e45a11c4bb3093fea29df41b58d (patch)
treec517d1c30d5398106adea99a46b630994c757317 /dev-ruby
parentImport Qt5 support from KDE overlay. (diff)
downloadhistorical-09f8a36e3a7c5e45a11c4bb3093fea29df41b58d.tar.gz
historical-09f8a36e3a7c5e45a11c4bb3093fea29df41b58d.tar.bz2
historical-09f8a36e3a7c5e45a11c4bb3093fea29df41b58d.zip
Add ruby21 target. Fix tests with mocha
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/net-ssh-multi/ChangeLog5
-rw-r--r--dev-ruby/net-ssh-multi/Manifest4
-rw-r--r--dev-ruby/net-ssh-multi/net-ssh-multi-1.2.0-r1.ebuild10
3 files changed, 14 insertions, 5 deletions
diff --git a/dev-ruby/net-ssh-multi/ChangeLog b/dev-ruby/net-ssh-multi/ChangeLog
index 15665c96bd33..e29d369121b3 100644
--- a/dev-ruby/net-ssh-multi/ChangeLog
+++ b/dev-ruby/net-ssh-multi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/net-ssh-multi
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-multi/ChangeLog,v 1.15 2014/08/05 16:00:39 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-multi/ChangeLog,v 1.16 2014/10/12 16:55:06 mrueg Exp $
+
+ 12 Oct 2014; Manuel Rüger <mrueg@gentoo.org> net-ssh-multi-1.2.0-r1.ebuild:
+ Add ruby21 target. Fix tests with mocha
05 Aug 2014; Manuel Rüger <mrueg@gentoo.org> net-ssh-multi-1.1.ebuild,
net-ssh-multi-1.2.0-r1.ebuild:
diff --git a/dev-ruby/net-ssh-multi/Manifest b/dev-ruby/net-ssh-multi/Manifest
index 3888d59a426f..1d151d5ab603 100644
--- a/dev-ruby/net-ssh-multi/Manifest
+++ b/dev-ruby/net-ssh-multi/Manifest
@@ -1,6 +1,6 @@
DIST net-ssh-multi-1.1.tgz 24772 SHA256 7cd5708bfbfe075206d75d1577ebc42400e6524e94edb47fd90a0e70422cc5c7 SHA512 7f06e85fda48d37f44e6de8d2a339ef94dd23c95ac29f3bc7814d1b8f4e4143b2346051786a9ecaf83876abd66d0e137eed4bfff0ad4319122dfba52f69aff15 WHIRLPOOL a4875d6c79f45a9a7781bc2e56f03864591f9406f76db51259a8b0148004ca928194796ff2d986a26d5b3c08dd8d13607023d86e6ba1c1c15a136959f4b6330c
DIST net-ssh-multi-1.2.0-git.tgz 26243 SHA256 8cf1a378cda5f7436c635b3437f8e6cdd8daa3f047a53f0564793fb91a324ebd SHA512 9eeb24f51e173948c53fe0daee60866d2d1e5697a863e3f5d53cb12cd3a6b8f54ca0fdc6a1e1580b7e8e45603da748fabbfd65b76baaadfc2aaa95bf8711154c WHIRLPOOL 2fc0f8ec4528220718ce059ecc3ff77f975dcd45ab304a913881632fa65b804fe5f142a911dbb631bd6e3681df67854609dcff9712aa84a525a8147ae86c65b3
EBUILD net-ssh-multi-1.1.ebuild 835 SHA256 12439fa8d66c96316efeeb6e5215c2dd505ba1b86e3f8ed7599b16e0c73f940f SHA512 45eaeef38f19d39eb45f602c6055a080025d35c3c1bb65ef0f6473e7375f9ce61db6ac71a77002aadea01332d1785ca90ed15f717e4d6ec64c10b7bbbcc41195 WHIRLPOOL 0bed8996b7e4aaed0a5c81012e82af8c705967994b2d676220b091591944355817aeb143f6eab68d3462346a3a25a755decf0820163d7870de0cd95aee23e2a3
-EBUILD net-ssh-multi-1.2.0-r1.ebuild 829 SHA256 079e24d714841facbdf9ea7b88a1e968142539be8508e830144cbcc4fd0bf812 SHA512 77fdecead2dabfd62d947b08ddcf1be15199a0bded1fbfa8fec50cf1bda9a85d03eac853bc1d3fe0d9939e7ad791cabe6ee4f4e0cd6e66c27312c9e6a845a774 WHIRLPOOL f05369241cfe3ca88507e6708e75bcdf158ef6be833cb3b518120872e8df889a870dd037132c9eb6629c957e411942b29671a73498fb636ca600431eb1b56af8
-MISC ChangeLog 2316 SHA256 89486a5766ed5ec139d09e178cabcb9d169835a7a6ada6e613d5f70f4a95af78 SHA512 ffc8d391bf57cf78bc22dae22d28a3b34da3bbab2dfbd9bab63cfd0564c4c465a6dd038bc338885c0559cc093f3902c16c333ff874896ce6737049e24ff976e4 WHIRLPOOL ca59d91022d3c3de5c1f064e8a9213f6c57d3daed7235eb1d5238cc6624a9d7785f74bdb51a0e8b956e007b56105c3947b443da79302d3d008e66ef6896156c1
+EBUILD net-ssh-multi-1.2.0-r1.ebuild 967 SHA256 76e67e1d14e6fd1a9b6b842b42452acc15a800e266fc91cf372c923a83d5245c SHA512 d9bb5bc14213c4fb54373f38be7ccdebc8a1a88e82b4e86fac4dafb7ab0a7d275f5c23a10d2d4131bee90fd2aafa0505211afe1fcaa1f6b1b8eff5e04b4d591b WHIRLPOOL e52944494ed23035492a6174640fa3b35de43fcc00260740fa84c509e563e3d5f514ddd4b40c76eb20a23bc9f3db6ce4aa874818e1532626b34a746613cbb4ed
+MISC ChangeLog 2438 SHA256 f9d118686eddc76bd75af79a2cb96c1f0fa7d3d02863e6fb0f9bb39ba5c5df15 SHA512 49ca51d6dffd50e04127679577425b604e700c37628812a12c47a47b5ea5d628544a57c44000a954ce2830d39047c20cf8bebdd799e1ab21b26093bf44954489 WHIRLPOOL 777e4758b35fde8eec7bbb346c1cb3b17e579a79ec82747bfbb7a89f832fe08b4fffaec81f0fcc336a634e4367a45bbb2630ea64332dd4ec5206c34d8e122e62
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
diff --git a/dev-ruby/net-ssh-multi/net-ssh-multi-1.2.0-r1.ebuild b/dev-ruby/net-ssh-multi/net-ssh-multi-1.2.0-r1.ebuild
index e254bf887ebc..5bbabcf4b958 100644
--- a/dev-ruby/net-ssh-multi/net-ssh-multi-1.2.0-r1.ebuild
+++ b/dev-ruby/net-ssh-multi/net-ssh-multi-1.2.0-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-multi/net-ssh-multi-1.2.0-r1.ebuild,v 1.4 2014/08/05 16:00:39 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-multi/net-ssh-multi-1.2.0-r1.ebuild,v 1.5 2014/10/12 16:55:06 mrueg Exp $
EAPI=5
-USE_RUBY="ruby19 ruby20"
+USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
@@ -24,6 +24,12 @@ IUSE=""
ruby_add_rdepend ">=dev-ruby/net-ssh-2.6.5
>=dev-ruby/net-ssh-gateway-1.2.0"
+ruby_add_bdepend "test? ( <dev-ruby/mocha-1 )"
+
+all_ruby_prepare() {
+ sed -i -e "1igem 'mocha', '~>0.10'" test/common.rb || die
+}
+
each_ruby_test() {
${RUBY} -Ilib:test test/test_all.rb || die
}