summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-10-05 11:24:27 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-10-05 11:24:27 +0000
commitdb67f23d3d4aec64d4ddba9d665aafad36f55a91 (patch)
tree1986a008a35c7c8130cab00960feaca192fc0762 /dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild
parentAdd ruby20 target. (diff)
downloadgentoo-2-db67f23d3d4aec64d4ddba9d665aafad36f55a91.tar.gz
gentoo-2-db67f23d3d4aec64d4ddba9d665aafad36f55a91.tar.bz2
gentoo-2-db67f23d3d4aec64d4ddba9d665aafad36f55a91.zip
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild')
-rw-r--r--dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild b/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild
new file mode 100644
index 000000000000..f894d3c30c41
--- /dev/null
+++ b/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild,v 1.1 2013/10/05 11:24:27 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20 jruby rbx"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.textile"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simply adds a declarative test method syntax to test/unit."
+HOMEPAGE="https://github.com/svenfuchs/test_declarative"
+SRC_URI="https://github.com/svenfuchs/test_declarative/tarball/v${PV} -> ${P}.tgz"
+RUBY_S="svenfuchs-test_declarative-*"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+each_ruby_test() {
+ ${RUBY} test/test_declarative_test.rb || die "Tests failed."
+}