summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Shoemaker <kutsuya@gentoo.org>2003-03-08 22:42:19 +0000
committerJason Shoemaker <kutsuya@gentoo.org>2003-03-08 22:42:19 +0000
commit47efec92eecf0f0b6eb0d900ad7a340846131f0f (patch)
tree3a5bb3c8771bf361fe612d8430f5dc5eeaee5d65 /dev-python/psycopg
parentimproved -gentoo.el (diff)
downloadgentoo-2-47efec92eecf0f0b6eb0d900ad7a340846131f0f.tar.gz
gentoo-2-47efec92eecf0f0b6eb0d900ad7a340846131f0f.tar.bz2
gentoo-2-47efec92eecf0f0b6eb0d900ad7a340846131f0f.zip
Version bump. Removed S, because it is already the default.
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r--dev-python/psycopg/ChangeLog7
-rw-r--r--dev-python/psycopg/files/digest-psycopg-1.1.21
-rw-r--r--dev-python/psycopg/psycopg-1.1.2.ebuild42
3 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog
index 935db4e62858..69d09c20d68f 100644
--- a/dev-python/psycopg/ChangeLog
+++ b/dev-python/psycopg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/psycopg
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.6 2003/02/12 06:33:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.7 2003/03/08 22:42:19 kutsuya Exp $
+
+*psycopg-1.1.2 (08 Mar 2003)
+
+ 08 Mar 2003; Jason Shoemaker <kutsuya@gentoo.org> psycopg-1.1.2.ebuild:
+ Version bump.
*psycopg-1.0.13 (12 Dec 2002)
diff --git a/dev-python/psycopg/files/digest-psycopg-1.1.2 b/dev-python/psycopg/files/digest-psycopg-1.1.2
new file mode 100644
index 000000000000..a58cc37f91f0
--- /dev/null
+++ b/dev-python/psycopg/files/digest-psycopg-1.1.2
@@ -0,0 +1 @@
+MD5 8e12369d92c1a949ff24a685eb82c37d psycopg-1.1.2.tar.gz 177452
diff --git a/dev-python/psycopg/psycopg-1.1.2.ebuild b/dev-python/psycopg/psycopg-1.1.2.ebuild
new file mode 100644
index 000000000000..744573d6202b
--- /dev/null
+++ b/dev-python/psycopg/psycopg-1.1.2.ebuild
@@ -0,0 +1,42 @@
+# 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.1.2.ebuild,v 1.1 2003/03/08 22:42:19 kutsuya Exp $
+
+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/*
+}