summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-05-12 09:11:53 +0000
committerHans de Graaff <graaff@gentoo.org>2012-05-12 09:11:53 +0000
commit6512c303ba898839158447787627d3e9be8c5f99 (patch)
treef42b8e9b89bf759965ee4317a61d364a3bd51347 /dev-ruby/gemcutter/gemcutter-0.7.1.ebuild
parentVersion bump (diff)
downloadhistorical-6512c303ba898839158447787627d3e9be8c5f99.tar.gz
historical-6512c303ba898839158447787627d3e9be8c5f99.tar.bz2
historical-6512c303ba898839158447787627d3e9be8c5f99.zip
Version bump.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/gemcutter/gemcutter-0.7.1.ebuild')
-rw-r--r--dev-ruby/gemcutter/gemcutter-0.7.1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/gemcutter/gemcutter-0.7.1.ebuild b/dev-ruby/gemcutter/gemcutter-0.7.1.ebuild
new file mode 100644
index 000000000000..e78b46cc76bb
--- /dev/null
+++ b/dev-ruby/gemcutter/gemcutter-0.7.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gemcutter/gemcutter-0.7.1.ebuild,v 1.1 2012/05/12 09:11:53 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ree18 ruby19"
+
+RUBY_FAKEGEM_TASK_TEST="test"
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides the gem yank and gem webhook commands to RubyGems."
+HOMEPAGE="http://github.com/rubygems/gemcutter"
+SRC_URI="https://github.com/rubygems/gemcutter/tarball/v${PV} -> ${P}-git.tgz"
+RUBY_S="rubygems-gemcutter-*"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/shoulda
+ >=dev-ruby/webmock-1.4.0
+ dev-ruby/rr
+ dev-ruby/activesupport
+ dev-ruby/i18n
+ dev-ruby/bundler
+ )"
+
+each_ruby_test() {
+ # Tests fail unless being run through bundler.
+ ${RUBY} -S bundle exec rake test || die
+}