summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/dbf')
-rw-r--r--dev-ruby/dbf/ChangeLog11
-rw-r--r--dev-ruby/dbf/dbf-2.0.7-r1.ebuild38
-rw-r--r--dev-ruby/dbf/dbf-2.0.7.ebuild6
3 files changed, 49 insertions, 6 deletions
diff --git a/dev-ruby/dbf/ChangeLog b/dev-ruby/dbf/ChangeLog
index a8d22b2bd027..ad1952228814 100644
--- a/dev-ruby/dbf/ChangeLog
+++ b/dev-ruby/dbf/ChangeLog
@@ -1,10 +1,15 @@
# ChangeLog for dev-ruby/dbf
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbf/ChangeLog,v 1.1 2013/12/27 07:10:53 graaff Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbf/ChangeLog,v 1.2 2014/03/07 23:41:31 mrueg Exp $
+
+*dbf-2.0.7-r1 (07 Mar 2014)
+
+ 07 Mar 2014; Manuel Rüger <mrueg@gentoo.org> +dbf-2.0.7-r1.ebuild,
+ dbf-2.0.7.ebuild:
+ Move ruby20 to new revision.
*dbf-2.0.7 (27 Dec 2013)
27 Dec 2013; Hans de Graaff <graaff@gentoo.org> +dbf-2.0.7.ebuild,
+metadata.xml:
Initial import. New dependency for dev-ruby/GeoRuby.
-
diff --git a/dev-ruby/dbf/dbf-2.0.7-r1.ebuild b/dev-ruby/dbf/dbf-2.0.7-r1.ebuild
new file mode 100644
index 000000000000..38e214936230
--- /dev/null
+++ b/dev-ruby/dbf/dbf-2.0.7-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbf/dbf-2.0.7-r1.ebuild,v 1.1 2014/03/07 23:41:31 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/*"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="a small fast library for reading dBase, xBase, Clipper and FoxPro
+database files"
+HOMEPAGE="http://github.com/infused/dbf"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+USE_RUBY="ruby18" ruby_add_rdepend ">=dev-ruby/fastercsv-1.5.5"
+
+each_ruby_prepare() {
+ # We only support fastercsv for ruby 1.8.
+ case ${RUBY} in
+ */ruby18)
+ ;;
+ *)
+ sed -i -e '/fastercsv/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+ ;;
+ esac
+}
diff --git a/dev-ruby/dbf/dbf-2.0.7.ebuild b/dev-ruby/dbf/dbf-2.0.7.ebuild
index af534350e59b..664469b4e270 100644
--- a/dev-ruby/dbf/dbf-2.0.7.ebuild
+++ b/dev-ruby/dbf/dbf-2.0.7.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbf/dbf-2.0.7.ebuild,v 1.1 2013/12/27 07:10:53 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbf/dbf-2.0.7.ebuild,v 1.2 2014/03/07 23:41:31 mrueg Exp $
EAPI=5
-USE_RUBY="ruby18 ruby19 ruby20 jruby"
+USE_RUBY="ruby18 ruby19 jruby"
RUBY_FAKEGEM_RECIPE_TEST="rspec"