summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/fattr')
-rw-r--r--dev-ruby/fattr/ChangeLog9
-rw-r--r--dev-ruby/fattr/fattr-2.1.0-r1.ebuild34
2 files changed, 41 insertions, 2 deletions
diff --git a/dev-ruby/fattr/ChangeLog b/dev-ruby/fattr/ChangeLog
index e184e0b658af..9bb94236b05a 100644
--- a/dev-ruby/fattr/ChangeLog
+++ b/dev-ruby/fattr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/fattr
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fattr/ChangeLog,v 1.4 2009/12/09 19:15:13 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fattr/ChangeLog,v 1.5 2010/01/25 06:50:39 graaff Exp $
+
+*fattr-2.1.0-r1 (25 Jan 2010)
+
+ 25 Jan 2010; Hans de Graaff <graaff@gentoo.org> +fattr-2.1.0-r1.ebuild:
+ Convert to ruby-fakegem.
09 Dec 2009; Hans de Graaff <graaff@gentoo.org> -fattr-1.0.3.ebuild,
-fattr-1.1.0.ebuild:
diff --git a/dev-ruby/fattr/fattr-2.1.0-r1.ebuild b/dev-ruby/fattr/fattr-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..434f791b42d5
--- /dev/null
+++ b/dev-ruby/fattr/fattr-2.1.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fattr/fattr-2.1.0-r1.ebuild,v 1.1 2010/01/25 06:50:39 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="fattr.rb is a \"fatter attr\" for ruby."
+HOMEPAGE="http://rubyforge.org/projects/codeforpeople/"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+ruby_add_bdepend test "virtual/ruby-test-unit"
+
+each_ruby_test() {
+ ${RUBY} test/fattr.rb || die "Tests failed."
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}
+ doins -r samples
+}