summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Shoemaker <kutsuya@gentoo.org>2003-03-08 23:44:46 +0000
committerJason Shoemaker <kutsuya@gentoo.org>2003-03-08 23:44:46 +0000
commit85974f13d0ebcfa29ceb42ff5f31e87c99bc4b6b (patch)
tree42235324aabd0dfcbf049f2c7140ded6f53357f9 /dev-python/psycopg-py21
parentVersion bump. (diff)
downloadgentoo-2-85974f13d0ebcfa29ceb42ff5f31e87c99bc4b6b.tar.gz
gentoo-2-85974f13d0ebcfa29ceb42ff5f31e87c99bc4b6b.tar.bz2
gentoo-2-85974f13d0ebcfa29ceb42ff5f31e87c99bc4b6b.zip
Initial import.
Diffstat (limited to 'dev-python/psycopg-py21')
-rw-r--r--dev-python/psycopg-py21/ChangeLog9
-rw-r--r--dev-python/psycopg-py21/files/digest-psycopg-py21-1.1.21
-rw-r--r--dev-python/psycopg-py21/psycopg-py21-1.1.2.ebuild46
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/psycopg-py21/ChangeLog b/dev-python/psycopg-py21/ChangeLog
new file mode 100644
index 000000000000..ad77d4f6459d
--- /dev/null
+++ b/dev-python/psycopg-py21/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/psycopg-py21
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg-py21/ChangeLog,v 1.1 2003/03/08 23:44:46 kutsuya Exp $
+
+*psycopg-py21-1.1.2 (08 Mar 2003)
+
+ 08 Mar 2003; Jason Shoemaker <kutsuya@gentoo.org> psycopg-py21-1.1.2.ebuild:
+ Initial import. Basically a fork of 1.1.2, but adds extension to python2.1.
+
diff --git a/dev-python/psycopg-py21/files/digest-psycopg-py21-1.1.2 b/dev-python/psycopg-py21/files/digest-psycopg-py21-1.1.2
new file mode 100644
index 000000000000..a58cc37f91f0
--- /dev/null
+++ b/dev-python/psycopg-py21/files/digest-psycopg-py21-1.1.2
@@ -0,0 +1 @@
+MD5 8e12369d92c1a949ff24a685eb82c37d psycopg-1.1.2.tar.gz 177452
diff --git a/dev-python/psycopg-py21/psycopg-py21-1.1.2.ebuild b/dev-python/psycopg-py21/psycopg-py21-1.1.2.ebuild
new file mode 100644
index 000000000000..dbb556a4b9ab
--- /dev/null
+++ b/dev-python/psycopg-py21/psycopg-py21-1.1.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2002-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg-py21/psycopg-py21-1.1.2.ebuild,v 1.1 2003/03/08 23:44:46 kutsuya Exp $
+
+P_NEW="${PN%-py21}-${PV}"
+S="${WORKDIR}/${P_NEW}"
+
+DESCRIPTION="PostgreSQL database adapter for the Python" # best one
+SRC_URI="http://initd.org/pub/software/psycopg/${P_NEW}.tar.gz"
+HOMEPAGE="http://www.initd.org/software/psycopg.py"
+DEPEND="=dev-lang/python-2.1*
+ >=dev-python/egenix-mx-base-py21-2.0.4
+ >=dev-db/postgresql-7.1.3"
+
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+
+src_compile() {
+ ./configure \
+ --with-mxdatetime-includes=/usr/lib/python2.1/site-packages/mx/DateTime/mxDateTime \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --with-postgres-includes=/usr/include/postgresql/server \
+ --mandir=/usr/share/man \
+ --with-python=/usr/bin/python2.1 \
+ --with-python-version=2.1 || 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/*
+}