dcallagh-exheres

My personal Exherbo repository
git clone https://code.djc.id.au/git/dcallagh-exheres/
commit 7243ed13affe5160691024db4ca107e42fe057b4
parent 6dc781589022283cd605bc40139faac6145c99d7
Author: Dan Callaghan <djc@djc.id.au>
Date:   Wed,  9 Feb 2011 20:24:51 +1000

initial exheres for psycopg2

Diffstat:
Apackages/dev-python/psycopg2/psycopg2-2.3.2.exheres-0 | 28++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)
diff --git a/packages/dev-python/psycopg2/psycopg2-2.3.2.exheres-0 b/packages/dev-python/psycopg2/psycopg2-2.3.2.exheres-0
@@ -0,0 +1,28 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require pypi distutils [ python_dep=2.4 ]
+
+SUMMARY="PostgreSQL database adapter for Python"
+DESCRIPTION="
+psycopg2 is a PostgreSQL database adapter for the Python programming language. psycopg2 was written 
+with the aim of being very small and fast, and stable as a rock.
+"
+HOMEPAGE="http://initd.org/psycopg/"
+
+LICENCES="LGPL-3"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+RESTRICT="test" # tests require a running postgres with test database
+
+DEPENDENCIES="
+    build+run:
+        dev-db/postgresql[>=7.4]
+"
+
+BUGS_TO="djc@djc.id.au"
+
+src_test() {
+    edo python setup.py test
+}