Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/dbd-pg: metadata.xml ChangeLog dbd-pg-0.3.8.ebuild
Date: Wed, 26 Aug 2009 20:32:20
Message-Id: E1MgRM0-0002k1-ED@stork.gentoo.org
1 a3li 09/08/26 22:52:32
2
3 Added: metadata.xml ChangeLog dbd-pg-0.3.8.ebuild
4 Log:
5 Initial import, ebuild by /me.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-ruby/dbd-pg/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-pg/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-pg/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>ruby</herd>
20 </pkgmetadata>
21
22
23
24 1.1 dev-ruby/dbd-pg/ChangeLog
25
26 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-pg/ChangeLog?rev=1.1&view=markup
27 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-pg/ChangeLog?rev=1.1&content-type=text/plain
28
29 Index: ChangeLog
30 ===================================================================
31 # ChangeLog for dev-ruby/dbd-pg
32 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
33 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbd-pg/ChangeLog,v 1.1 2009/08/26 22:52:32 a3li Exp $
34
35 *dbd-pg-0.3.8 (26 Aug 2009)
36
37 26 Aug 2009; Alex Legler <a3li@g.o> +dbd-pg-0.3.8.ebuild,
38 +metadata.xml:
39 Initial import, ebuild by /me.
40
41
42
43
44 1.1 dev-ruby/dbd-pg/dbd-pg-0.3.8.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-pg/dbd-pg-0.3.8.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-pg/dbd-pg-0.3.8.ebuild?rev=1.1&content-type=text/plain
48
49 Index: dbd-pg-0.3.8.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbd-pg/dbd-pg-0.3.8.ebuild,v 1.1 2009/08/26 22:52:32 a3li Exp $
54
55 inherit "ruby"
56
57 DESCRIPTION="The PostgreSQL database driver (DBD) for Ruby/DBI"
58 HOMEPAGE="http://ruby-dbi.rubyforge.org"
59 SRC_URI="mirror://rubyforge/ruby-dbi/${P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="test"
65
66 DEPEND="virtual/ruby"
67 RDEPEND="${DEPEND}
68 >=dev-ruby/ruby-dbi-0.4.2
69 >=dev-ruby/ruby-postgres-0.7.9.20080128"
70
71 # ruby-postgres is not yet ruby19
72 USE_RUBY="ruby18"
73
74 src_test() {
75 elog "The tests require additional configuration."
76 elog "You will find them in /usr/share/${PN}/test/"
77 elog "Be sure to read the file called DBD_TESTS."
78 }
79
80 src_install() {
81 ruby setup.rb install \
82 --prefix="${D}" || die "setup.rb install failed"
83
84 if use test; then
85 dodir /usr/share/${PN}
86 cp -pPR test "${D}/usr/share/${PN}" || die "couldn't copy tests"
87 fi
88 }