summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-12-27 00:29:00 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-12-27 00:29:00 +0000
commit8d620ae09b83bcfb054da83a8ae95160078a68a2 (patch)
tree45d72403a7cef3bc75b635f3b56298e9658e4ae9 /dev-python/psycopg
parentVersion bump. (diff)
downloadgentoo-2-8d620ae09b83bcfb054da83a8ae95160078a68a2.tar.gz
gentoo-2-8d620ae09b83bcfb054da83a8ae95160078a68a2.tar.bz2
gentoo-2-8d620ae09b83bcfb054da83a8ae95160078a68a2.zip
Version bump. Dropped old version.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r--dev-python/psycopg/ChangeLog10
-rw-r--r--dev-python/psycopg/files/digest-psycopg-2.0.5.13
-rw-r--r--dev-python/psycopg/files/psycopg-2.0.5.1-debug.patch9
-rw-r--r--dev-python/psycopg/files/psycopg-2.0.5.1-fbsd.patch11
-rw-r--r--dev-python/psycopg/psycopg-2.0.5.1.ebuild42
5 files changed, 74 insertions, 1 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog
index fc06002ee094..7f82b79d2405 100644
--- a/dev-python/psycopg/ChangeLog
+++ b/dev-python/psycopg/ChangeLog
@@ -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
index 000000000000..8953b0183626
--- /dev/null
+++ b/dev-python/psycopg/files/digest-psycopg-2.0.5.1
@@ -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
index 000000000000..73cdf25d64fa
--- /dev/null
+++ b/dev-python/psycopg/files/psycopg-2.0.5.1-debug.patch
@@ -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
index 000000000000..7faa6f36ffd1
--- /dev/null
+++ b/dev-python/psycopg/files/psycopg-2.0.5.1-fbsd.patch
@@ -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
index 000000000000..4b550c9dc7fc
--- /dev/null
+++ b/dev-python/psycopg/psycopg-2.0.5.1.ebuild
@@ -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 .
+}