summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2004-06-05 17:10:41 +0000
committerMichael Cummings <mcummings@gentoo.org>2004-06-05 17:10:41 +0000
commit8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3 (patch)
treec003d5b132f4efb799616df673d1b1c4b2036c95 /dev-perl/DBD-Pg
parentStable on mips (Manifest recommit) (diff)
downloadgentoo-2-8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3.tar.gz
gentoo-2-8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3.tar.bz2
gentoo-2-8088cf6e2cc6f5e04768eb36a6fdd0212ffb20e3.zip
new version, please test
Diffstat (limited to 'dev-perl/DBD-Pg')
-rw-r--r--dev-perl/DBD-Pg/ChangeLog8
-rw-r--r--dev-perl/DBD-Pg/DBD-Pg-1.32.ebuild32
-rw-r--r--dev-perl/DBD-Pg/Manifest14
-rw-r--r--dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch20
-rw-r--r--dev-perl/DBD-Pg/files/digest-DBD-Pg-1.321
5 files changed, 68 insertions, 7 deletions
diff --git a/dev-perl/DBD-Pg/ChangeLog b/dev-perl/DBD-Pg/ChangeLog
index f3c74d897919..65ef12ba9334 100644
--- a/dev-perl/DBD-Pg/ChangeLog
+++ b/dev-perl/DBD-Pg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/DBD-Pg
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/DBD-Pg/ChangeLog,v 1.14 2004/05/26 08:01:40 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/DBD-Pg/ChangeLog,v 1.15 2004/06/05 17:10:41 mcummings Exp $
+
+*DBD-Pg-1.32 (05 Jun 2004)
+
+ 05 Jun 2004; Michael Cummings <mcummings@gentoo.org> DBD-Pg-1.32.ebuild,
+ files/DBD-Pg-1.32-versparse.patch:
+ new version of module, please test
26 May 2004; Bryan Østergaard <kloeri@gentoo.org> DBD-Pg-1.31.ebuild:
Stable on alpha.
diff --git a/dev-perl/DBD-Pg/DBD-Pg-1.32.ebuild b/dev-perl/DBD-Pg/DBD-Pg-1.32.ebuild
new file mode 100644
index 000000000000..a5642dcd2e76
--- /dev/null
+++ b/dev-perl/DBD-Pg/DBD-Pg-1.32.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/DBD-Pg/DBD-Pg-1.32.ebuild,v 1.1 2004/06/05 17:10:41 mcummings Exp $
+
+inherit perl-module
+inherit eutils
+
+DESCRIPTION="The Perl DBD::Pg Module"
+SRC_URI="http://cpan.org/modules/by-module/DBD/${P}.tar.gz"
+HOMEPAGE="http://cpan.org/modules/by-module/DBD/${P}.readme"
+IUSE=""
+SLOT="0"
+LICENSE="Artistic | GPL-2"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~hppa"
+
+DEPEND="dev-perl/Test-Simple
+ dev-perl/DBI
+ dev-db/postgresql"
+
+# env variables for compilation:
+export POSTGRES_INCLUDE=/usr/include/postgresql/pgsql
+export POSTGRES_LIB=/usr/lib/postgresql/
+
+mydoc="Changes README"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-versparse.patch
+}
+
+
diff --git a/dev-perl/DBD-Pg/Manifest b/dev-perl/DBD-Pg/Manifest
index b8d88310a9e9..ef3e399b0fe3 100644
--- a/dev-perl/DBD-Pg/Manifest
+++ b/dev-perl/DBD-Pg/Manifest
@@ -1,11 +1,13 @@
-MD5 90c5bdb4850163e212323479112ba18f DBD-Pg-1.22.ebuild 738
-MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
MD5 379e1ccbd638cebb914f74dffd22a35b ChangeLog 2070
+MD5 c7cd153e007e6c250a413e9a221e6988 DBD-Pg-1.13-r1.ebuild 703
MD5 cfbae7b273b7afa0f8dad5ecbf852830 DBD-Pg-1.13.ebuild 701
+MD5 90c5bdb4850163e212323479112ba18f DBD-Pg-1.22.ebuild 738
MD5 b5ea4132f626e48eac6a60435dbb0fb9 DBD-Pg-1.31.ebuild 812
-MD5 c7cd153e007e6c250a413e9a221e6988 DBD-Pg-1.13-r1.ebuild 703
-MD5 29136c7e55049af2f4162a3b8c2d6afa files/digest-DBD-Pg-1.22 62
-MD5 6c9cff890cc7888cdb2e5abf7b6aab98 files/digest-DBD-Pg-1.13-r1 62
+MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+MD5 b5ea4132f626e48eac6a60435dbb0fb9 DBD-Pg-1.32.ebuild 812
MD5 37764ad0d89a1a98e0e870bab599c928 files/DBD-Pg-1.31-versparse.patch 937
-MD5 0674ec6314e48e843cf18ca4ecf5eff1 files/digest-DBD-Pg-1.31 62
MD5 6c9cff890cc7888cdb2e5abf7b6aab98 files/digest-DBD-Pg-1.13 62
+MD5 6c9cff890cc7888cdb2e5abf7b6aab98 files/digest-DBD-Pg-1.13-r1 62
+MD5 29136c7e55049af2f4162a3b8c2d6afa files/digest-DBD-Pg-1.22 62
+MD5 0674ec6314e48e843cf18ca4ecf5eff1 files/digest-DBD-Pg-1.31 62
+MD5 55438f3f0a3ba704b84e737194edba59 files/digest-DBD-Pg-1.32 62
diff --git a/dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch b/dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch
new file mode 100644
index 000000000000..de8d9314748b
--- /dev/null
+++ b/dev-perl/DBD-Pg/files/DBD-Pg-1.32-versparse.patch
@@ -0,0 +1,20 @@
+--- t/lib/App/Info/RDBMS/PostgreSQL.pm.orig 2003-12-21 10:48:09.326376964 -0800
++++ t/lib/App/Info/RDBMS/PostgreSQL.pm 2003-12-21 10:52:07.168963354 -0800
+@@ -246,14 +246,12 @@
+
+ # Parse the version number.
+ if ($version) {
+- my ($x, $y, $z) = $version =~ /(\d+)\.(\d+).(\d+)/;
+- if (defined $x and defined $y and defined $z) {
++ my ($x, $y, $z) = split( /\./, $version );
++ if (defined $x and defined $y) {
++ defined( $z ) or $z = 0;
+ @{$self}{qw(version major minor patch)} =
+ ($version, $x, $y, $z);
+ ## Beta/devel/release candidate versions are treated as patch level "0"
+- } elsif ($version =~ /(\d+)\.(\d+)\w+\d+/) {
+- @{$self}{qw(version major minor patch)} =
+- ($version, $1, $2, 0);
+ } else {
+ $self->error("Failed to parse PostgreSQL version parts from " .
+ "string '$version'");
diff --git a/dev-perl/DBD-Pg/files/digest-DBD-Pg-1.32 b/dev-perl/DBD-Pg/files/digest-DBD-Pg-1.32
new file mode 100644
index 000000000000..b3dc24122636
--- /dev/null
+++ b/dev-perl/DBD-Pg/files/digest-DBD-Pg-1.32
@@ -0,0 +1 @@
+MD5 9d6a936e6f755af677ceef59272a50ac DBD-Pg-1.32.tar.gz 96233