packages/dev-python/psycopg2/psycopg2-2.3.2.exheres-0 (685B) - raw
1 # Copyright 2011 Dan Callaghan <djc@djc.id.au>
2 # Distributed under the terms of the GNU General Public License v2
3
4 require pypi distutils [ python_dep=2.4 ]
5
6 SUMMARY="PostgreSQL database adapter for Python"
7 DESCRIPTION="
8 psycopg2 is a PostgreSQL database adapter for the Python programming language. psycopg2 was written
9 with the aim of being very small and fast, and stable as a rock.
10 "
11 HOMEPAGE="http://initd.org/psycopg/"
12
13 LICENCES="LGPL-3"
14 SLOT="0"
15 PLATFORMS="~amd64 ~x86"
16
17 RESTRICT="test" # tests require a running postgres with test database
18
19 DEPENDENCIES="
20 build+run:
21 dev-db/postgresql[>=7.4]
22 "
23
24 BUGS_TO="djc@djc.id.au"
25
26 src_test() {
27 edo python setup.py test
28 }