summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-08-26 22:17:15 +0000
committerAlex Legler <a3li@gentoo.org>2009-08-26 22:17:15 +0000
commitfc875c5ff61e8bd740b7bc2e7b4c87adf26d216f (patch)
tree530d306eff86e20d5562dcda755a8ae81aae22a0 /dev-ruby/ruby-dbi
parentBump to 39 as requested by upstream (diff)
downloadhistorical-fc875c5ff61e8bd740b7bc2e7b4c87adf26d216f.tar.gz
historical-fc875c5ff61e8bd740b7bc2e7b4c87adf26d216f.tar.bz2
historical-fc875c5ff61e8bd740b7bc2e7b4c87adf26d216f.zip
Version bump, PDEPENDed database drivers will follow shortly.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'dev-ruby/ruby-dbi')
-rw-r--r--dev-ruby/ruby-dbi/ChangeLog8
-rw-r--r--dev-ruby/ruby-dbi/Manifest10
-rw-r--r--dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild59
3 files changed, 72 insertions, 5 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog
index c902a34be22d..c28abb596b14 100644
--- a/dev-ruby/ruby-dbi/ChangeLog
+++ b/dev-ruby/ruby-dbi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-dbi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.36 2009/08/09 13:43:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.37 2009/08/26 22:17:15 a3li Exp $
+
+*ruby-dbi-0.4.2 (26 Aug 2009)
+
+ 26 Aug 2009; Alex Legler <a3li@gentoo.org> +ruby-dbi-0.4.2.ebuild:
+ Version bump. Now with modular database drivers. Dropped keywords due to
+ the introduction of dev-ruby/deprecated as a new dependency.
09 Aug 2009; Hans de Graaff <graaff@gentoo.org> -ruby-dbi-0.1.1.ebuild:
Remove old version.
diff --git a/dev-ruby/ruby-dbi/Manifest b/dev-ruby/ruby-dbi/Manifest
index e42869f620ab..a1bb03ee9a0e 100644
--- a/dev-ruby/ruby-dbi/Manifest
+++ b/dev-ruby/ruby-dbi/Manifest
@@ -4,13 +4,15 @@ 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.2.0.tar.gz 100090 RMD160 a6fce82920f5953222c0069156784738dd71d505 SHA1 d21994329b48a63ac9f63be6f4504955610170a8 SHA256 2db880fb0abb87aac5da76d6ba92c614111b4606e5b6d87e56c70d5b1170b636
+DIST dbi-0.4.2.tar.gz 81477 RMD160 77d580d8edb89a14fc0a16d7935a698b1aa5e561 SHA1 9985536191d4fa640f6e7872dd195f993db0cd59 SHA256 1e027d981899bf280f62868beb136604f680d5f2e3a4d2a181bfe6f66df382d1
EBUILD ruby-dbi-0.2.0-r1.ebuild 1637 RMD160 940694c6c062ca5e010f90b89ea5e27a47d99f2b SHA1 b22e463ab1d57f390b65550701f96d8048a06cc4 SHA256 a0669afc7115b908e56ae7fdf585e5d1d081b0303f53fbfca84f6f639903f383
-MISC ChangeLog 5273 RMD160 80b520131304d467732b49b62a6fe1ddaa06341e SHA1 e1497394da92334d781ccc1a0b06ff920ae5b071 SHA256 7287f98fdae00224cc06e43139bc05dcaa7451784189688dfaad130210b7443b
+EBUILD ruby-dbi-0.4.2.ebuild 1514 RMD160 78bdec3faa59397a33d272a3e2e9ebedb865ce92 SHA1 604fcd9c21a6d09637268631de466cfc9fa66828 SHA256 6750f01a3c45105602fbff67f0069e7498ad427b0004f317dc173e87d8d47c16
+MISC ChangeLog 5510 RMD160 b375ab11bd6e2d907c47e75b2730176efb3a1d66 SHA1 3fe1072da0be851c3b43ee296d077803eaa716f4 SHA256 e0bc43598d636bed0a5ed1162bfe774d8b6082967ef5be03cd4a18fe204d1211
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkp+0pIACgkQVYU2Ai8K93eEuACeI6W3pNwHdyQ3gmJzxh4OeRxl
-3icAn1j30WHrb/5JoQVkqE7Gbp5GH78f
-=3bFU
+iEYEARECAAYFAkqVtFIACgkQaGsKqSU7eCTZ0QCgpicEq1LFS8G3xqkaXWN+dfaj
+lgAAnikWmu/Yt7uRRy2FBe/C0G0PpG9l
+=2UW5
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild
new file mode 100644
index 000000000000..9cd5ae32043c
--- /dev/null
+++ b/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 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.4.2.ebuild,v 1.1 2009/08/26 22:17:15 a3li Exp $
+
+inherit "ruby"
+
+MY_P=${P##ruby-}
+
+DESCRIPTION="Ruby/DBI - a database independent interface for accessing databases - similar to Perl's DBI"
+HOMEPAGE="http://ruby-dbi.rubyforge.org"
+SRC_URI="mirror://rubyforge/ruby-dbi/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples odbc postgres mysql sqlite sqlite3 test"
+
+DEPEND="
+ virtual/ruby
+ dev-ruby/deprecated
+ test? ( dev-ruby/test-unit )"
+RDEPEND="${DEPEND}"
+PDEPEND="
+ mysql? ( dev-ruby/dbd-mysql )
+ postgres? ( dev-ruby/dbd-pg )
+ odbc? ( dev-ruby/dbd-odbc )
+ sqlite? ( dev-ruby/dbd-sqlite )
+ sqlite3? ( dev-ruby/dbd-sqlite3 )"
+
+S="${WORKDIR}/${MY_P}"
+USE_RUBY="ruby18 ruby19"
+
+src_test() {
+ for rb in $USE_RUBY; do
+ ebegin "Testing for ${rb}"
+ ${rb} setup.rb test || die "test failed"
+ eend $?
+ done
+}
+
+src_install() {
+ ruby setup.rb install \
+ --prefix="${D}" || die
+
+ dodoc README
+
+ if use examples ; then
+ cp -pPR examples "${D}/usr/share/doc/${PF}" || die "cp examples failed"
+ fi
+}
+
+pkg_postinst() {
+ if ! (use mysql || use postgres || use odbc || use sqlite || use sqlite3)
+ then
+ elog "${P} now comes with external database drivers."
+ elog "Be sure to set the right USE flags for ${PN} or emerge the drivers manually:"
+ elog "They are called dev-ruby/dbd-{mysql,odbc,pg,sqlite,sqlite3}"
+ fi
+}