summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Lauwers <blauwers@gentoo.org>2002-12-11 23:31:10 +0000
committerBart Lauwers <blauwers@gentoo.org>2002-12-11 23:31:10 +0000
commit748f37477e8864483d054ee66ada428c12a48dbd (patch)
tree3561547b041e954b2d43616b51a13cbcbe97f634 /dev-python/psycopg
parentEnhanced wrapper script. (diff)
downloadhistorical-748f37477e8864483d054ee66ada428c12a48dbd.tar.gz
historical-748f37477e8864483d054ee66ada428c12a48dbd.tar.bz2
historical-748f37477e8864483d054ee66ada428c12a48dbd.zip
Prompted per Bug #10070, version bump plus cleanup of ebuild. Not
honoring dependency increase for egenix-mx-base as it seems not required
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r--dev-python/psycopg/ChangeLog8
-rw-r--r--dev-python/psycopg/files/digest-psycopg-1.0.131
-rw-r--r--dev-python/psycopg/psycopg-1.0.13.ebuild46
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog
index 6815dc150d84..d3dbdeba94bb 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.3 2002/12/11 23:02:12 blauwers Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.4 2002/12/11 23:31:10 blauwers Exp $
+
+*psycopg-1.0.13 (12 Dec 2002)
+
+ 12 Dec 2002; B.Lauwers <blauwers@gentoo.org> psycopg-1.0.13.ebuild Changelog :
+
+ Version bump, cleanups
*psycopg-1.0.12 (12 Dec 2002)
diff --git a/dev-python/psycopg/files/digest-psycopg-1.0.13 b/dev-python/psycopg/files/digest-psycopg-1.0.13
new file mode 100644
index 000000000000..8dd9b4db006b
--- /dev/null
+++ b/dev-python/psycopg/files/digest-psycopg-1.0.13
@@ -0,0 +1 @@
+MD5 ff5ef0748effefb3c2a456cbfe821be7 psycopg-1.0.13.tar.gz 177593
diff --git a/dev-python/psycopg/psycopg-1.0.13.ebuild b/dev-python/psycopg/psycopg-1.0.13.ebuild
new file mode 100644
index 000000000000..b76d217230d9
--- /dev/null
+++ b/dev-python/psycopg/psycopg-1.0.13.ebuild
@@ -0,0 +1,46 @@
+# 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.13.ebuild,v 1.1 2002/12/11 23:31:10 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="virtual/python
+ >=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
+ 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.orig > Makefile
+ make install || die
+
+ dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL README NEWS RELEASE-1.0 SUCCESS TODO
+ docinto doc
+ dodoc doc/*
+ docinto doc/examples
+ dodoc doc/examples/*
+}