From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/dbf: metadata.xml ChangeLog dbf-2.0.7.ebuild |
Date: | Fri, 27 Dec 2013 07:10:56 |
Message-Id: | 20131227071053.5D6932004C@flycatcher.gentoo.org |
1 | graaff 13/12/27 07:10:53 |
2 | |
3 | Added: metadata.xml ChangeLog dbf-2.0.7.ebuild |
4 | Log: |
5 | Initial import. New dependency for dev-ruby/GeoRuby. |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ruby/dbf/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbf/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbf/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>ruby</herd> |
21 | <herd>sci-geosciences</herd> |
22 | <maintainer> |
23 | <email>hanno@g.o</email> |
24 | </maintainer> |
25 | </pkgmetadata> |
26 | |
27 | |
28 | |
29 | 1.1 dev-ruby/dbf/ChangeLog |
30 | |
31 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbf/ChangeLog?rev=1.1&view=markup |
32 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbf/ChangeLog?rev=1.1&content-type=text/plain |
33 | |
34 | Index: ChangeLog |
35 | =================================================================== |
36 | # ChangeLog for dev-ruby/dbf |
37 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
38 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbf/ChangeLog,v 1.1 2013/12/27 07:10:53 graaff Exp $ |
39 | |
40 | *dbf-2.0.7 (27 Dec 2013) |
41 | |
42 | 27 Dec 2013; Hans de Graaff <graaff@g.o> +dbf-2.0.7.ebuild, |
43 | +metadata.xml: |
44 | Initial import. New dependency for dev-ruby/GeoRuby. |
45 | |
46 | |
47 | |
48 | |
49 | 1.1 dev-ruby/dbf/dbf-2.0.7.ebuild |
50 | |
51 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbf/dbf-2.0.7.ebuild?rev=1.1&view=markup |
52 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbf/dbf-2.0.7.ebuild?rev=1.1&content-type=text/plain |
53 | |
54 | Index: dbf-2.0.7.ebuild |
55 | =================================================================== |
56 | # Copyright 1999-2013 Gentoo Foundation |
57 | # Distributed under the terms of the GNU General Public License v2 |
58 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbf/dbf-2.0.7.ebuild,v 1.1 2013/12/27 07:10:53 graaff Exp $ |
59 | |
60 | EAPI=5 |
61 | |
62 | USE_RUBY="ruby18 ruby19 ruby20 jruby" |
63 | |
64 | RUBY_FAKEGEM_RECIPE_TEST="rspec" |
65 | |
66 | RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
67 | RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/*" |
68 | |
69 | RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
70 | |
71 | inherit ruby-fakegem |
72 | |
73 | DESCRIPTION="a small fast library for reading dBase, xBase, Clipper and FoxPro |
74 | database files" |
75 | HOMEPAGE="http://github.com/infused/dbf" |
76 | |
77 | LICENSE="MIT" |
78 | SLOT="0" |
79 | KEYWORDS="~amd64 ~x86" |
80 | IUSE="" |
81 | |
82 | USE_RUBY="ruby18" ruby_add_rdepend ">=dev-ruby/fastercsv-1.5.5" |
83 | |
84 | each_ruby_prepare() { |
85 | # We only support fastercsv for ruby 1.8. |
86 | case ${RUBY} in |
87 | */ruby18) |
88 | ;; |
89 | *) |
90 | sed -i -e '/fastercsv/d' ${RUBY_FAKEGEM_GEMSPEC} || die |
91 | ;; |
92 | esac |
93 | } |