summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-25 14:20:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-25 14:20:01 +0000
commitbed9a9ccd37b7064281926267cf8292aeb5f7e81 (patch)
tree288609d3403edf78722cadec48c08aa782d41600 /dev-ruby/gemcutter
parentRemove obsolete virtual/ruby dependency. (diff)
downloadgentoo-2-bed9a9ccd37b7064281926267cf8292aeb5f7e81.tar.gz
gentoo-2-bed9a9ccd37b7064281926267cf8292aeb5f7e81.tar.bz2
gentoo-2-bed9a9ccd37b7064281926267cf8292aeb5f7e81.zip
Initial import of gemcutter, as needed by dev-ruby/echoe.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/gemcutter')
-rw-r--r--dev-ruby/gemcutter/ChangeLog10
-rw-r--r--dev-ruby/gemcutter/gemcutter-0.2.1.ebuild33
-rw-r--r--dev-ruby/gemcutter/metadata.xml5
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/gemcutter/ChangeLog b/dev-ruby/gemcutter/ChangeLog
new file mode 100644
index 000000000000..a7c78ff2f06a
--- /dev/null
+++ b/dev-ruby/gemcutter/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/gemcutter
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gemcutter/ChangeLog,v 1.1 2009/12/25 14:20:01 flameeyes Exp $
+
+*gemcutter-0.2.1 (25 Dec 2009)
+
+ 25 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +gemcutter-0.2.1.ebuild, +metadata.xml:
+ Initial import of gemcutter, as needed by dev-ruby/echoe.
+
diff --git a/dev-ruby/gemcutter/gemcutter-0.2.1.ebuild b/dev-ruby/gemcutter/gemcutter-0.2.1.ebuild
new file mode 100644
index 000000000000..935406cbef92
--- /dev/null
+++ b/dev-ruby/gemcutter/gemcutter-0.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gemcutter/gemcutter-0.2.1.ebuild,v 1.1 2009/12/25 14:20:01 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Add commands to gem for gemcutter.org operations"
+HOMEPAGE="http://github.com/qrush/gemcutter"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend dev-ruby/json
+
+# gem file only distributes the tests' frontend, but not the actual
+# frontend; upstream github repository is not tagged, so we cannot
+# fetch a tarball.
+RESTRICT=test
+
+#ruby_add_bdepend test "dev-ruby/shoulda dev-ruby/fakeweb dev-ruby/rr"
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/*.rb || die "tests failed"
+}
diff --git a/dev-ruby/gemcutter/metadata.xml b/dev-ruby/gemcutter/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/gemcutter/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>