Version bump. Dropped old version.
authorTiziano Müller <dev-zero@gentoo.org>
Wed, 27 Dec 2006 00:29:00 +0000 (00:29 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Wed, 27 Dec 2006 00:29:00 +0000 (00:29 +0000)
Package-Manager: portage-2.1.2_rc4-r1

dev-python/psycopg/ChangeLog
dev-python/psycopg/files/digest-psycopg-2.0.5.1 [new file with mode: 0644]
dev-python/psycopg/files/psycopg-2.0.5.1-debug.patch [new file with mode: 0644]
dev-python/psycopg/files/psycopg-2.0.5.1-fbsd.patch [new file with mode: 0644]
dev-python/psycopg/psycopg-2.0.5.1.ebuild [new file with mode: 0644]

index fc06002ee094b46abee6d8ea518354ea86ef0d74..7f82b79d2405ca57939f5dd2fdec4683a8e55de5 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for dev-python/psycopg
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.53 2006/12/03 18:44:54 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.54 2006/12/27 00:29:00 dev-zero Exp $
+
+*psycopg-2.0.5.1 (27 Dec 2006)
+
+  27 Dec 2006; Tiziano Müller <dev-zero@gentoo.org>
+  -files/psycopg-2.0.4-debug.patch, -files/psycopg-2.0.4-fbsd.patch,
+  +files/psycopg-2.0.5.1-debug.patch, +files/psycopg-2.0.5.1-fbsd.patch,
+  -psycopg-2.0.4.ebuild, +psycopg-2.0.5.1.ebuild:
+  Version bump. Dropped old version.
 
   03 Dec 2006; Markus Rothe <corsair@gentoo.org> psycopg-2.0.2.ebuild:
   Stable on ppc64
diff --git a/dev-python/psycopg/files/digest-psycopg-2.0.5.1 b/dev-python/psycopg/files/digest-psycopg-2.0.5.1
new file mode 100644 (file)
index 0000000..8953b01
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 052e4b97dab47708fdcdc36ffb25af66 psycopg2-2.0.5.1.tar.gz 280775
+RMD160 92970e9b4bf056c7d51602dc5a0c18cfa843259a psycopg2-2.0.5.1.tar.gz 280775
+SHA256 aaf1e73dbc4c758246145e8e8291c5b22fd5bc209eade707e61e7b729f27e9cc psycopg2-2.0.5.1.tar.gz 280775
diff --git a/dev-python/psycopg/files/psycopg-2.0.5.1-debug.patch b/dev-python/psycopg/files/psycopg-2.0.5.1-debug.patch
new file mode 100644 (file)
index 0000000..73cdf25
--- /dev/null
@@ -0,0 +1,9 @@
+--- psycopg2-2.0.4/setup.cfg.orig   2006-07-25 15:38:03.658499592 -0500
++++ psycopg2-2.0.4/setup.cfg   2006-07-25 15:38:11.098395098 -0500
+@@ -1,5 +1,5 @@
+ [build_ext]
+-define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
++define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG
+ # PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
+ # PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
+ # HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.3
diff --git a/dev-python/psycopg/files/psycopg-2.0.5.1-fbsd.patch b/dev-python/psycopg/files/psycopg-2.0.5.1-fbsd.patch
new file mode 100644 (file)
index 0000000..7faa6f3
--- /dev/null
@@ -0,0 +1,11 @@
+--- psycopg2-2.0.4/psycopg/config.h.orig       2006-02-11 15:56:19 -0300
++++ psycopg2-2.0.4/psycopg/config.h    2006-08-25 06:44:48 -0300
+@@ -102,7 +102,7 @@
+ #define inline
+ #endif
+-#if defined(__FreeBSD__) || defined(_WIN32) || defined(__sun__)
++#if defined(_WIN32) || defined(__sun__)
+ /* what's this, we have no round function either? */
+ static double round(double num)
+ {
diff --git a/dev-python/psycopg/psycopg-2.0.5.1.ebuild b/dev-python/psycopg/psycopg-2.0.5.1.ebuild
new file mode 100644 (file)
index 0000000..4b550c9
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.5.1.ebuild,v 1.1 2006/12/27 00:29:00 dev-zero Exp $
+
+inherit eutils distutils
+
+MY_P="${PN}2-${PV}"
+
+DESCRIPTION="PostgreSQL database adapter for Python."
+SRC_URI="http://initd.org/pub/software/psycopg/${MY_P}.tar.gz"
+HOMEPAGE="http://initd.org/projects/psycopg2"
+
+DEPEND=">=dev-lang/python-2.4
+       >=dev-db/libpq-7.4"
+
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+IUSE="debug"
+
+S=${WORKDIR}/${MY_P}
+DOCS="AUTHORS INSTALL doc/HACKING doc/SUCCESS doc/TODO doc/async.txt"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       if use debug; then
+               epatch "${FILESDIR}/${P}-debug.patch"
+       fi
+       # Fixes compilation issue in fbsd.
+       epatch "${FILESDIR}/${P}-fbsd.patch"
+}
+
+src_install() {
+       distutils_src_install
+
+       insinto /usr/share/doc/${PF}/examples
+       doins examples/*
+
+       cd doc && dohtml -r .
+}