From: | "Alex Legler (a3li)" <a3li@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/dbd-sqlite3: metadata.xml ChangeLog dbd-sqlite3-1.2.5.ebuild |
Date: | Wed, 26 Aug 2009 20:25:59 |
Message-Id: | E1MgRb2-0003KV-Ar@stork.gentoo.org |
1 | a3li 09/08/26 23:08:04 |
2 | |
3 | Added: metadata.xml ChangeLog dbd-sqlite3-1.2.5.ebuild |
4 | Log: |
5 | Initial commit, ebuild by /me. |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-ruby/dbd-sqlite3/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-sqlite3/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-sqlite3/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-sqlite3/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-sqlite3/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-sqlite3/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for dev-ruby/dbd-sqlite3 |
32 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbd-sqlite3/ChangeLog,v 1.1 2009/08/26 23:08:04 a3li Exp $ |
34 | |
35 | *dbd-sqlite3-1.2.5 (26 Aug 2009) |
36 | |
37 | 26 Aug 2009; Alex Legler <a3li@g.o> +dbd-sqlite3-1.2.5.ebuild, |
38 | +metadata.xml: |
39 | Initial import, ebuild by /me. |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 dev-ruby/dbd-sqlite3/dbd-sqlite3-1.2.5.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-sqlite3/dbd-sqlite3-1.2.5.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/dbd-sqlite3/dbd-sqlite3-1.2.5.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: dbd-sqlite3-1.2.5.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-sqlite3/dbd-sqlite3-1.2.5.ebuild,v 1.1 2009/08/26 23:08:04 a3li Exp $ |
54 | |
55 | inherit "ruby" |
56 | |
57 | DESCRIPTION="The SQLite 3 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/sqlite3-ruby-1.2.4" |
70 | |
71 | USE_RUBY="ruby18" |
72 | |
73 | src_test() { |
74 | elog "The tests require additional configuration." |
75 | elog "You will find them in /usr/share/${PN}/test/" |
76 | elog "Be sure to read the file called DBD_TESTS." |
77 | } |
78 | |
79 | src_install() { |
80 | ruby setup.rb install \ |
81 | --prefix="${D}" || die "setup.rb install failed" |
82 | |
83 | if use test; then |
84 | dodir /usr/share/${PN} |
85 | cp -pPR test "${D}/usr/share/${PN}" || die "couldn't copy tests" |
86 | fi |
87 | } |