summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/ruby-dbi/ChangeLog9
-rw-r--r--dev-ruby/ruby-dbi/Manifest13
-rw-r--r--dev-ruby/ruby-dbi/ruby-dbi-0.2.0-r1.ebuild55
3 files changed, 75 insertions, 2 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog
index 01f4f8ba2ce8..e6f76cb140f0 100644
--- a/dev-ruby/ruby-dbi/ChangeLog
+++ b/dev-ruby/ruby-dbi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/ruby-dbi
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.26 2008/03/16 21:18:31 rbrown Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.27 2008/12/08 20:20:02 graaff Exp $
+
+*ruby-dbi-0.2.0-r1 (08 Dec 2008)
+
+ 08 Dec 2008; Hans de Graaff <graaff@gentoo.org> +ruby-dbi-0.2.0-r1.ebuild:
+ Add oracle support. Patch and testing by Erwin Paternotte in #249921.
+ Dropped ia64 and ppc keywords due to new ruby-oci8 dependency, and filed i
+ #250319 about it.
*ruby-dbi-0.2.0 (16 Mar 2008)
diff --git a/dev-ruby/ruby-dbi/Manifest b/dev-ruby/ruby-dbi/Manifest
index 0ddc682b4fd0..83cebb0a0ccd 100644
--- a/dev-ruby/ruby-dbi/Manifest
+++ b/dev-ruby/ruby-dbi/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX ruby-dbi-0.1.1-destdir-gentoo.diff 759 RMD160 3bc32a3cf3effc608db7c325855a076e9715a766 SHA1 52033c8477fb4d98a688b230bb95557f29e68876 SHA256 e38fe6006c9ef6612c3aae0b252687a5924eba5d82007d9fec729bb50409f9b1
AUX ruby-dbi-destdir-gentoo.diff 273 RMD160 f2791a246d6a29854468f34c16da801d60642d4b SHA1 136d5e2d525765ecd03288ef127925462ca251ac SHA256 a6c45268928fba70fbe67bf704f8d285f1c3ab97e63f5345524740ec1c4b7c04
DIST dbi-0.1.1.tar.gz 155533 RMD160 8b2d63cdfddf0244a36d8bb0574a257dc46faaad SHA1 d9be8e5974f1b4a549a5459eff373a9d12ec8efd SHA256 f45a301a81dbc86aa3202f0f0b6eb63e4a3fdd0b622605135575a2000d581b0f
@@ -5,6 +8,14 @@ DIST dbi-0.2.0.tar.gz 100090 RMD160 a6fce82920f5953222c0069156784738dd71d505 SHA
DIST ruby-dbi-all-0.0.21.tar.gz 131968 RMD160 90a5825b18ed89e89dd93389e640adbcf8ccfe95 SHA1 fb462adfb1816714179d487f14a7986ad02374c5 SHA256 b181ead1641ed6f6cde6d2db9c55ddf29774f9126536f1ed9d896e32b1ce05e1
EBUILD ruby-dbi-0.0.21-r2.ebuild 1406 RMD160 390c191c7264387f27e58f3c3f2dce5d8d55c376 SHA1 52f73d46e6372a986c4262a22b44f0fdf0bf70c0 SHA256 00bf7ccc58dbd459768aa6c9d0049f41b7cda0be6abaa7a9f286793004cb67bf
EBUILD ruby-dbi-0.1.1.ebuild 1401 RMD160 040e706b291873b77fd61f3c515f63a448879896 SHA1 29e929b27034e95b86fd234009e339f446e39f68 SHA256 22dfc9444daf231c0889512903a0469d8f0c0b550d2e5c7a4764a22bdc4106c6
+EBUILD ruby-dbi-0.2.0-r1.ebuild 1624 RMD160 9cc03f87cc182101020b2220890376ff0f96c0b7 SHA1 0c95eaae3ab9e7047b4ab10bb19d27e995decc89 SHA256 74672ef66af45d018f6f9159ff53cba734ec33c1d8f905e5fa78f3906d0d435b
EBUILD ruby-dbi-0.2.0.ebuild 1548 RMD160 98250fc6e4bd2338d652270d8d3702cf15b61b5c SHA1 055392fc097af7c7a5a0fc6c0c58defb99c80a86 SHA256 ff4ed370f7b546cfa1f2ddca7c9e44936dfa8f327b38d8f05640587685ea0712
-MISC ChangeLog 4004 RMD160 dc8c4d2a3ae7686de0abc7c2d5312cf2bb63a128 SHA1 6353325e5dc4319d98777ad2019be257ad809a91 SHA256 03377d6d596790f365f9c42b767fde63be0c78fee46890511b8a77caf09393f0
+MISC ChangeLog 4285 RMD160 38266337325ab7c87913c392bb362af5e6fd70c0 SHA1 0f054206ebd831f82254348874e9207b352b11fc SHA256 25b4e3e6fb7f79eb57a321db4579ba243fd2908ed9f0ea7156ca33ec13bbd8ae
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkk9gXgACgkQCzgcb6sPj49lLACcCYsBzUsx95QxDVr+jlfo02Hu
+5TQAoJQLXHpgSPkyBme2X+83F/0dyAxS
+=Eh+j
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.2.0-r1.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..6efd9f9b6305
--- /dev/null
+++ b/dev-ruby/ruby-dbi/ruby-dbi-0.2.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.2.0-r1.ebuild,v 1.1 2008/12/08 20:20:02 graaff Exp $
+
+EAPI="1"
+
+inherit "ruby"
+
+DESCRIPTION="Ruby/DBI - a database independent interface for accessing databases - similar to Perl's DBI"
+HOMEPAGE="http://ruby-dbi.rubyforge.org"
+SRC_URI="http://rubyforge.org/frs/download.php/33959/dbi-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="examples firebird odbc oracle postgres mysql sqlite sqlite3"
+
+DEPEND="virtual/ruby
+ mysql? ( dev-ruby/mysql-ruby )
+ postgres? ( dev-ruby/ruby-postgres )
+ firebird? ( >=dev-db/firebird-1.0-r1 )
+ odbc? ( dev-ruby/ruby-odbc )
+ oracle? ( dev-ruby/ruby-oci8 )
+ sqlite? ( dev-db/sqlite:0 )
+ sqlite3? ( dev-db/sqlite:3 )"
+
+S="${WORKDIR}/dbi-${PV}"
+PATCHES="${FILESDIR}/ruby-dbi-destdir-gentoo.diff
+ ${FILESDIR}/ruby-dbi-0.1.1-destdir-gentoo.diff"
+
+src_compile() {
+ myconf="dbi,dbd_proxy,dbd_sqlrelay"
+ use mysql && myconf="${myconf},dbd_mysql"
+ use postgres && myconf="${myconf},dbd_pg"
+ use firebird && myconf="${myconf},dbd_interbase"
+ use odbc && myconf="${myconf},dbd_odbc"
+ use oracle && myconf="${myconf},dbd_oracle"
+ use sqlite && myconf="${myconf},dbd_sqlite"
+ use sqlite3 && myconf="${myconf},dbd_sqlite3"
+
+ ruby setup.rb config \
+ --with=${myconf} --ruby-path=/usr/bin/ruby || die
+ ruby setup.rb setup || die
+}
+
+src_install() {
+
+ DESTDIR=${D} ruby setup.rb install || die
+
+ dodoc README
+
+ if use examples; then
+ cp -pPR examples "${D}/usr/share/doc/${PF}" || die "cp examples failed"
+ fi
+}