summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/psycopg/ChangeLog11
-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/files/psycopg-2.0.6-fbsd.patch11
-rw-r--r--dev-python/psycopg/files/psycopg-2.0.7-fbsd.patch11
-rw-r--r--dev-python/psycopg/psycopg-2.0.12.ebuild (renamed from dev-python/psycopg/psycopg-2.0.10.ebuild)18
-rw-r--r--dev-python/psycopg/psycopg-2.0.6.ebuild52
-rw-r--r--dev-python/psycopg/psycopg-2.0.7.ebuild52
-rw-r--r--dev-python/psycopg/psycopg-2.0.9.ebuild49
9 files changed, 20 insertions, 204 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog
index abf6c7d1f5ad..94a177989ee8 100644
--- a/dev-python/psycopg/ChangeLog
+++ b/dev-python/psycopg/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-python/psycopg
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.78 2009/08/09 13:23:14 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.79 2009/08/25 13:07:52 arfrever Exp $
+
+*psycopg-2.0.12 (25 Aug 2009)
+
+ 25 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -files/psycopg-2.0.5.1-debug.patch, -files/psycopg-2.0.5.1-fbsd.patch,
+ -psycopg-2.0.6.ebuild, -files/psycopg-2.0.6-fbsd.patch,
+ -psycopg-2.0.7.ebuild, -files/psycopg-2.0.7-fbsd.patch,
+ -psycopg-2.0.9.ebuild, -psycopg-2.0.10.ebuild, +psycopg-2.0.12.ebuild:
+ Version bump. Set SUPPORT_PYTHON_ABIS.
09 Aug 2009; nixnut <nixnut@gentoo.org> psycopg-2.0.11.ebuild:
ppc stable #278366
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
deleted file mode 100644
index 73cdf25d64fa..000000000000
--- a/dev-python/psycopg/files/psycopg-2.0.5.1-debug.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- 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
deleted file mode 100644
index 7faa6f36ffd1..000000000000
--- a/dev-python/psycopg/files/psycopg-2.0.5.1-fbsd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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/files/psycopg-2.0.6-fbsd.patch b/dev-python/psycopg/files/psycopg-2.0.6-fbsd.patch
deleted file mode 100644
index fef22dad4b3e..000000000000
--- a/dev-python/psycopg/files/psycopg-2.0.6-fbsd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- psycopg/config.h.orig 2007-08-05 14:00:20.000000000 -0500
-+++ psycopg/config.h 2007-08-05 14:00:34.000000000 -0500
-@@ -113,7 +113,7 @@
- #define inline
- #endif
-
--#if defined(__FreeBSD__) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__)
-+#if (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__)
- /* what's this, we have no round function either? */
- static double round(double num)
- {
diff --git a/dev-python/psycopg/files/psycopg-2.0.7-fbsd.patch b/dev-python/psycopg/files/psycopg-2.0.7-fbsd.patch
deleted file mode 100644
index fef22dad4b3e..000000000000
--- a/dev-python/psycopg/files/psycopg-2.0.7-fbsd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- psycopg/config.h.orig 2007-08-05 14:00:20.000000000 -0500
-+++ psycopg/config.h 2007-08-05 14:00:34.000000000 -0500
-@@ -113,7 +113,7 @@
- #define inline
- #endif
-
--#if defined(__FreeBSD__) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__)
-+#if (defined(_WIN32) && !defined(__GNUC__)) || 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.10.ebuild b/dev-python/psycopg/psycopg-2.0.12.ebuild
index d5e52cfc956d..64715ab8b9f3 100644
--- a/dev-python/psycopg/psycopg-2.0.10.ebuild
+++ b/dev-python/psycopg/psycopg-2.0.12.ebuild
@@ -1,10 +1,13 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.10.ebuild,v 1.1 2009/04/23 08:50:13 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.12.ebuild,v 1.1 2009/08/25 13:07:52 arfrever Exp $
-NEED_PYTHON=2.4
+EAPI="2"
-inherit eutils distutils
+NEED_PYTHON="2.4"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
MY_P=${PN}2-${PV}
@@ -20,14 +23,13 @@ DEPEND=">=virtual/postgresql-base-8.1
mxdatetime? ( dev-python/egenix-mx-base )"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${MY_P}
+RESTRICT_PYTHON_ABIS="3*"
-PYTHON_MODNAME=${PN}2
+S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+PYTHON_MODNAME="${PN}2"
+src_prepare() {
if use debug; then
sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
fi
diff --git a/dev-python/psycopg/psycopg-2.0.6.ebuild b/dev-python/psycopg/psycopg-2.0.6.ebuild
deleted file mode 100644
index 3437d3f59fc7..000000000000
--- a/dev-python/psycopg/psycopg-2.0.6.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.6.ebuild,v 1.2 2008/05/19 19:47:13 dev-zero Exp $
-
-NEED_PYTHON=2.4
-
-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"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-LICENSE="GPL-2"
-IUSE="debug doc examples mxdatetime"
-
-DEPEND="virtual/postgresql-base
- mxdatetime? ( dev-python/egenix-mx-base )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PYTHON_MODNAME=${PN}2
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if use debug; then
- sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
- fi
-
- if use mxdatetime; then
- sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed"
- fi
-
- # Fixes compilation issue in fbsd.
- epatch "${FILESDIR}/${P}-fbsd.patch"
-}
-
-src_install() {
- DOCS="AUTHORS doc/HACKING doc/SUCCESS doc/TODO doc/async.txt"
- distutils_src_install
-
- insinto /usr/share/doc/${PF}
- use examples && doins -r examples
-
- cd doc
- use doc && dohtml -r .
-}
diff --git a/dev-python/psycopg/psycopg-2.0.7.ebuild b/dev-python/psycopg/psycopg-2.0.7.ebuild
deleted file mode 100644
index f1cc4b573197..000000000000
--- a/dev-python/psycopg/psycopg-2.0.7.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.7.ebuild,v 1.1 2008/05/26 12:46:54 nelchael Exp $
-
-NEED_PYTHON=2.4
-
-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"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-LICENSE="GPL-2"
-IUSE="debug doc examples mxdatetime"
-
-DEPEND="virtual/postgresql-base
- mxdatetime? ( dev-python/egenix-mx-base )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PYTHON_MODNAME=${PN}2
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if use debug; then
- sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
- fi
-
- if use mxdatetime; then
- sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed"
- fi
-
- # Fixes compilation issue in fbsd.
- epatch "${FILESDIR}/${P}-fbsd.patch"
-}
-
-src_install() {
- DOCS="AUTHORS doc/HACKING doc/SUCCESS doc/TODO doc/async.txt"
- distutils_src_install
-
- insinto /usr/share/doc/${PF}
- use examples && doins -r examples
-
- cd doc
- use doc && dohtml -r .
-}
diff --git a/dev-python/psycopg/psycopg-2.0.9.ebuild b/dev-python/psycopg/psycopg-2.0.9.ebuild
deleted file mode 100644
index e81895a8b8dc..000000000000
--- a/dev-python/psycopg/psycopg-2.0.9.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.9.ebuild,v 1.1 2009/03/29 17:32:00 chutzpah Exp $
-
-NEED_PYTHON=2.4
-
-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"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-LICENSE="GPL-2"
-IUSE="debug doc examples mxdatetime"
-
-DEPEND="virtual/postgresql-base
- mxdatetime? ( dev-python/egenix-mx-base )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PYTHON_MODNAME=${PN}2
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if use debug; then
- sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
- fi
-
- if use mxdatetime; then
- sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed"
- fi
-}
-
-src_install() {
- DOCS="AUTHORS doc/HACKING doc/SUCCESS doc/TODO doc/async.txt"
- distutils_src_install
-
- insinto /usr/share/doc/${PF}
- use examples && doins -r examples
-
- cd doc
- use doc && dohtml -r .
-}