summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-25 09:59:05 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-25 09:59:05 +0000
commitb874a89a2ec048488d31731eb42bf201912551ae (patch)
tree6cc388913491b5acf5a530e04efbacd4ed979376 /dev-ruby/tins
parentVersion bump. Apply fixes from upstream to pass tests. (diff)
downloadgentoo-2-b874a89a2ec048488d31731eb42bf201912551ae.tar.gz
gentoo-2-b874a89a2ec048488d31731eb42bf201912551ae.tar.bz2
gentoo-2-b874a89a2ec048488d31731eb42bf201912551ae.zip
Initial import. Successor to dev-ruby/spruz.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/tins')
-rw-r--r--dev-ruby/tins/ChangeLog10
-rw-r--r--dev-ruby/tins/metadata.xml5
-rw-r--r--dev-ruby/tins/tins-0.3.6.ebuild31
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/tins/ChangeLog b/dev-ruby/tins/ChangeLog
new file mode 100644
index 000000000000..cffec1e93b6e
--- /dev/null
+++ b/dev-ruby/tins/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/tins
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/ChangeLog,v 1.1 2011/12/25 09:59:05 graaff Exp $
+
+*tins-0.3.6 (25 Dec 2011)
+
+ 25 Dec 2011; Hans de Graaff <graaff@gentoo.org> +tins-0.3.6.ebuild,
+ +metadata.xml:
+ Initial import. Successor to dev-ruby/spruz.
+
diff --git a/dev-ruby/tins/metadata.xml b/dev-ruby/tins/metadata.xml
new file mode 100644
index 000000000000..0040b1162894
--- /dev/null
+++ b/dev-ruby/tins/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>
diff --git a/dev-ruby/tins/tins-0.3.6.ebuild b/dev-ruby/tins/tins-0.3.6.ebuild
new file mode 100644
index 000000000000..930dba223c3d
--- /dev/null
+++ b/dev-ruby/tins/tins-0.3.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/tins-0.3.6.ebuild,v 1.1 2011/12/25 09:59:05 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="tins.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="All the stuff that isn't good enough for a real library."
+HOMEPAGE="http://github.com/flori/spruz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.3 ) "
+
+all_ruby_prepare() {
+ sed -i -e '/gem_hadar/ s:^:#:' tests/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb tests/* || die
+}