summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Lauwers <blauwers@gentoo.org>2002-12-11 23:02:13 +0000
committerBart Lauwers <blauwers@gentoo.org>2002-12-11 23:02:13 +0000
commit2d2c18b0a9c5ee29ac0ba22048d3ba5f8dcbc6d7 (patch)
treee5767d710f19ac82aba07b968563515f9ab15391 /dev-python
parentNew package. x86 masked (diff)
downloadgentoo-2-2d2c18b0a9c5ee29ac0ba22048d3ba5f8dcbc6d7.tar.gz
gentoo-2-2d2c18b0a9c5ee29ac0ba22048d3ba5f8dcbc6d7.tar.bz2
gentoo-2-2d2c18b0a9c5ee29ac0ba22048d3ba5f8dcbc6d7.zip
Version bump + bugfix per Bug#8936
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/psycopg/ChangeLog8
-rw-r--r--dev-python/psycopg/files/digest-psycopg-1.0.121
-rw-r--r--dev-python/psycopg/psycopg-1.0.12.ebuild43
3 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog
index fbbd114e463d..6815dc150d84 100644
--- a/dev-python/psycopg/ChangeLog
+++ b/dev-python/psycopg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/psycopg
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.2 2002/12/09 04:21:12 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.3 2002/12/11 23:02:12 blauwers Exp $
+
+*psycopg-1.0.12 (12 Dec 2002)
+
+ 12 Dec 2002; B.Lauwers <blauwers@gentoo.org> psycopg-1.0.12.ebuild Changelog :
+
+ Version bump + bugfix for Bug #8936
\* Autoupdate keywords (12-6-02)
06 Dec 2002; Rodney Rees <manson@gentoo.org> changed sparc ~sparc keywords
diff --git a/dev-python/psycopg/files/digest-psycopg-1.0.12 b/dev-python/psycopg/files/digest-psycopg-1.0.12
new file mode 100644
index 000000000000..ddc3ff589061
--- /dev/null
+++ b/dev-python/psycopg/files/digest-psycopg-1.0.12
@@ -0,0 +1 @@
+MD5 dfe2ee1d1c6916daa39e530bb4b8be95 psycopg-1.0.12.tar.gz 177112
diff --git a/dev-python/psycopg/psycopg-1.0.12.ebuild b/dev-python/psycopg/psycopg-1.0.12.ebuild
new file mode 100644
index 000000000000..07a333d7b176
--- /dev/null
+++ b/dev-python/psycopg/psycopg-1.0.12.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-1.0.12.ebuild,v 1.1 2002/12/11 23:02:13 blauwers Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="PostgreSQL database adapter for the Python" # best one
+
+SRC_URI="http://initd.org/pub/software/psycopg/${P}.tar.gz"
+
+HOMEPAGE="http://www.initd.org/software/psycopg.py"
+
+DEPEND=">=dev-lang/python-2.0
+ >=dev-python/egenix-mx-base-2.0.3
+ >=dev-db/postgresql-7.1.3"
+
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~alpha"
+LICENSE="GPL-2"
+
+src_compile() {
+ ./configure \
+ --with-mxdatetime-includes=/usr/lib/python2.2/site-packages/mx/DateTime/mxDateTime \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --with-postgres-includes=/usr/include/postgresql/server \
+ --mandir=/usr/share/man || die "./configure failed"
+ emake || die
+}
+
+src_install () {
+ cd ${S}
+ [ -f "Makefile.orig" ] && die
+ mv Makefile Makefile.orig
+ cat Makefile.orig | sed \
+ -e 's:\(echo " install -m 555 $$mod \)\($(PY_MOD_DIR)\)\("; \\\):\1${D}\2/$$mod\3:' \
+ -e 's:\($(INSTALL) -m 555 $$mod \)\($(PY_MOD_DIR)\)\(; \\\):\1${D}\2/$$mod\3:' > Makefile
+ make install || die
+ dodir /usr/share/doc/${PF}
+ cp -r doc ${D}/usr/share/doc/${PF}
+ dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL README NEWS RELEASE-1.0 SUCCESS TODO
+}