summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2013-08-23 22:26:16 +0000
committerRick Farina <zerochaos@gentoo.org>2013-08-23 22:26:16 +0000
commit4591ea9784897ba30feb56232b60bc4d2fccf1a0 (patch)
tree8bf7aeb10b6489b539d8c9b875aefa71a81dfc3b /dev-ruby/simplecov
parentadding older release as a dep for simplecov-0.5.3 which is a dep for metasplo... (diff)
downloadgentoo-2-4591ea9784897ba30feb56232b60bc4d2fccf1a0.tar.gz
gentoo-2-4591ea9784897ba30feb56232b60bc4d2fccf1a0.tar.bz2
gentoo-2-4591ea9784897ba30feb56232b60bc4d2fccf1a0.zip
adding older release as a dep for metasploit due to upstream bug in simplecov https://github.com/colszowka/simplecov/issues/127
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'dev-ruby/simplecov')
-rw-r--r--dev-ruby/simplecov/ChangeLog8
-rw-r--r--dev-ruby/simplecov/simplecov-0.5.4.ebuild46
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-ruby/simplecov/ChangeLog b/dev-ruby/simplecov/ChangeLog
index c8a83f8c56a6..20af2b74bbe1 100644
--- a/dev-ruby/simplecov/ChangeLog
+++ b/dev-ruby/simplecov/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/simplecov
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/simplecov/ChangeLog,v 1.3 2013/08/14 07:30:43 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/simplecov/ChangeLog,v 1.4 2013/08/23 22:26:16 zerochaos Exp $
+
+*simplecov-0.5.4 (23 Aug 2013)
+
+ 23 Aug 2013; Rick Farina <zerochaos@gentoo.org> +simplecov-0.5.4.ebuild:
+ adding older release as a dep for metasploit due to upstream bug in simplecov
+ https://github.com/colszowka/simplecov/issues/127
14 Aug 2013; Manuel Rüger <mrueg@gentoo.org> simplecov-0.7.1.ebuild:
Fix DESC and HOMEPAGE
diff --git a/dev-ruby/simplecov/simplecov-0.5.4.ebuild b/dev-ruby/simplecov/simplecov-0.5.4.ebuild
new file mode 100644
index 000000000000..fa0ea1d08017
--- /dev/null
+++ b/dev-ruby/simplecov/simplecov-0.5.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/simplecov/simplecov-0.5.4.ebuild,v 1.1 2013/08/23 22:26:16 zerochaos Exp $
+
+EAPI=5
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Code coverage with a configuration library and automatic merging of coverage across test suites"
+HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="doc"
+
+ruby_add_rdepend ">=dev-ruby/multi_json-1.0.3
+ <=dev-ruby/simplecov-html-0.5.3"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec
+ dev-ruby/shoulda
+ dev-ruby/test-unit:2
+ dev-util/cucumber
+ dev-util/aruba
+ dev-ruby/capybara
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/ s:^:#:' test/helper.rb features/support/env.rb || die
+
+ # Avoid currently failing test, needs further research.
+ rm test/test_merge_helpers.rb || die
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib test/test_*.rb
+
+ ${RUBY} -S cucumber features || die
+}