Psycopg2 is a PostgreSQL database adapter for the Python programming

language.  It was written from scratch with the aim of being small,
fast and stable. It supports the full Python DBAPI-2.0 and is thread
safe.
This commit is contained in:
martynas 2007-05-27 14:58:30 +00:00
parent bd1c04896e
commit 4f3a5be0b7
4 changed files with 201 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/05/27 14:58:30 martynas Exp $
SHARED_ONLY= Yes
COMMENT= "PostgreSQL database adapter for Python"
DISTNAME= psycopg2-2.0.5.1
PKGNAME= py-${DISTNAME}
CATEGORIES= databases lang/python
HOMEPAGE= http://initd.org/projects/psycopg2
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB= pq
MASTER_SITES= http://initd.org/pub/software/psycopg/
MODULES= lang/python
BUILD_DEPENDS= :postgresql-server-*:databases/postgresql,-server
RUN_DEPENDS= :postgresql-client-*:databases/postgresql
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-psycopg2
cd ${WRKSRC}/doc && \
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-psycopg2/{} \; && \
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/py-psycopg2/{} \;
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-psycopg2
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/py-psycopg2/
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (psycopg2-2.0.5.1.tar.gz) = BS5Ll9q0dwj9zcNv+yWvZg==
RMD160 (psycopg2-2.0.5.1.tar.gz) = kpcOm0vwVsfVFgLcWgwYz6hDJZo=
SHA1 (psycopg2-2.0.5.1.tar.gz) = AYegZCLpVyqt6qQXndiY76Gz0EU=
SHA256 (psycopg2-2.0.5.1.tar.gz) = qvHnPbxMdYJGFF6OgpHFsi/VvCCerecH5h57cp8n6cw=
SIZE (psycopg2-2.0.5.1.tar.gz) = 280775

View File

@ -0,0 +1,4 @@
Psycopg2 is a PostgreSQL database adapter for the Python programming
language. It was written from scratch with the aim of being small,
fast and stable. It supports the full Python DBAPI-2.0 and is thread
safe.

View File

@ -0,0 +1,154 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/27 14:58:30 martynas Exp $
lib/python${MODPY_VERSION}/site-packages/psycopg2/
lib/python${MODPY_VERSION}/site-packages/psycopg2/__init__.py
lib/python${MODPY_VERSION}/site-packages/psycopg2/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/psycopg2/_psycopg.so
lib/python${MODPY_VERSION}/site-packages/psycopg2/extensions.py
lib/python${MODPY_VERSION}/site-packages/psycopg2/extensions.pyc
lib/python${MODPY_VERSION}/site-packages/psycopg2/extras.py
lib/python${MODPY_VERSION}/site-packages/psycopg2/extras.pyc
lib/python${MODPY_VERSION}/site-packages/psycopg2/pool.py
lib/python${MODPY_VERSION}/site-packages/psycopg2/pool.pyc
lib/python${MODPY_VERSION}/site-packages/psycopg2/psycopg1.py
lib/python${MODPY_VERSION}/site-packages/psycopg2/psycopg1.pyc
lib/python${MODPY_VERSION}/site-packages/psycopg2/tz.py
lib/python${MODPY_VERSION}/site-packages/psycopg2/tz.pyc
share/doc/py-psycopg2/
share/doc/py-psycopg2/ChangeLog-1.x
share/doc/py-psycopg2/HACKING
share/doc/py-psycopg2/SUCCESS
share/doc/py-psycopg2/TODO
share/doc/py-psycopg2/api/
share/doc/py-psycopg2/api-screen.css
share/doc/py-psycopg2/api/epydoc.css
share/doc/py-psycopg2/api/index.html
share/doc/py-psycopg2/api/private/
share/doc/py-psycopg2/api/private/__builtin__.list-class.html
share/doc/py-psycopg2/api/private/__builtin__.object-class.html
share/doc/py-psycopg2/api/private/__builtin__.type-class.html
share/doc/py-psycopg2/api/private/datetime.tzinfo-class.html
share/doc/py-psycopg2/api/private/epydoc.css
share/doc/py-psycopg2/api/private/exceptions.Exception-class.html
share/doc/py-psycopg2/api/private/exceptions.StandardError-class.html
share/doc/py-psycopg2/api/private/frames.html
share/doc/py-psycopg2/api/private/help.html
share/doc/py-psycopg2/api/private/index.html
share/doc/py-psycopg2/api/private/indices.html
share/doc/py-psycopg2/api/private/psycopg2-module.html
share/doc/py-psycopg2/api/private/psycopg2.DataError-class.html
share/doc/py-psycopg2/api/private/psycopg2.DatabaseError-class.html
share/doc/py-psycopg2/api/private/psycopg2.Error-class.html
share/doc/py-psycopg2/api/private/psycopg2.IntegrityError-class.html
share/doc/py-psycopg2/api/private/psycopg2.InterfaceError-class.html
share/doc/py-psycopg2/api/private/psycopg2.InternalError-class.html
share/doc/py-psycopg2/api/private/psycopg2.NotSupportedError-class.html
share/doc/py-psycopg2/api/private/psycopg2.OperationalError-class.html
share/doc/py-psycopg2/api/private/psycopg2.ProgrammingError-class.html
share/doc/py-psycopg2/api/private/psycopg2.Warning-class.html
share/doc/py-psycopg2/api/private/psycopg2._psycopg-module.html
share/doc/py-psycopg2/api/private/psycopg2._psycopg.ISQLQuote-class.html
share/doc/py-psycopg2/api/private/psycopg2._psycopg.connection-class.html
share/doc/py-psycopg2/api/private/psycopg2._psycopg.cursor-class.html
share/doc/py-psycopg2/api/private/psycopg2.extensions-module.html
share/doc/py-psycopg2/api/private/psycopg2.extras-module.html
share/doc/py-psycopg2/api/private/psycopg2.extras.DictConnection-class.html
share/doc/py-psycopg2/api/private/psycopg2.extras.DictCursor-class.html
share/doc/py-psycopg2/api/private/psycopg2.extras.DictRow-class.html
share/doc/py-psycopg2/api/private/psycopg2.extras.SQL_IN-class.html
share/doc/py-psycopg2/api/private/psycopg2.pool-module.html
share/doc/py-psycopg2/api/private/psycopg2.pool.AbstractConnectionPool-class.html
share/doc/py-psycopg2/api/private/psycopg2.pool.PersistentConnectionPool-class.html
share/doc/py-psycopg2/api/private/psycopg2.pool.PoolError-class.html
share/doc/py-psycopg2/api/private/psycopg2.pool.SimpleConnectionPool-class.html
share/doc/py-psycopg2/api/private/psycopg2.pool.ThreadedConnectionPool-class.html
share/doc/py-psycopg2/api/private/psycopg2.psycopg1-module.html
share/doc/py-psycopg2/api/private/psycopg2.psycopg1.connection-class.html
share/doc/py-psycopg2/api/private/psycopg2.psycopg1.cursor-class.html
share/doc/py-psycopg2/api/private/psycopg2.tz-module.html
share/doc/py-psycopg2/api/private/psycopg2.tz.FixedOffsetTimezone-class.html
share/doc/py-psycopg2/api/private/psycopg2.tz.LocalTimezone-class.html
share/doc/py-psycopg2/api/private/toc-everything.html
share/doc/py-psycopg2/api/private/toc-psycopg2-module.html
share/doc/py-psycopg2/api/private/toc-psycopg2._psycopg-module.html
share/doc/py-psycopg2/api/private/toc-psycopg2.extensions-module.html
share/doc/py-psycopg2/api/private/toc-psycopg2.extras-module.html
share/doc/py-psycopg2/api/private/toc-psycopg2.pool-module.html
share/doc/py-psycopg2/api/private/toc-psycopg2.psycopg1-module.html
share/doc/py-psycopg2/api/private/toc-psycopg2.tz-module.html
share/doc/py-psycopg2/api/private/toc.html
share/doc/py-psycopg2/api/private/trees.html
share/doc/py-psycopg2/api/public/
share/doc/py-psycopg2/api/public/__builtin__.list-class.html
share/doc/py-psycopg2/api/public/__builtin__.object-class.html
share/doc/py-psycopg2/api/public/__builtin__.type-class.html
share/doc/py-psycopg2/api/public/datetime.tzinfo-class.html
share/doc/py-psycopg2/api/public/epydoc.css
share/doc/py-psycopg2/api/public/exceptions.Exception-class.html
share/doc/py-psycopg2/api/public/exceptions.StandardError-class.html
share/doc/py-psycopg2/api/public/frames.html
share/doc/py-psycopg2/api/public/help.html
share/doc/py-psycopg2/api/public/index.html
share/doc/py-psycopg2/api/public/indices.html
share/doc/py-psycopg2/api/public/psycopg2-module.html
share/doc/py-psycopg2/api/public/psycopg2.DataError-class.html
share/doc/py-psycopg2/api/public/psycopg2.DatabaseError-class.html
share/doc/py-psycopg2/api/public/psycopg2.Error-class.html
share/doc/py-psycopg2/api/public/psycopg2.IntegrityError-class.html
share/doc/py-psycopg2/api/public/psycopg2.InterfaceError-class.html
share/doc/py-psycopg2/api/public/psycopg2.InternalError-class.html
share/doc/py-psycopg2/api/public/psycopg2.NotSupportedError-class.html
share/doc/py-psycopg2/api/public/psycopg2.OperationalError-class.html
share/doc/py-psycopg2/api/public/psycopg2.ProgrammingError-class.html
share/doc/py-psycopg2/api/public/psycopg2.Warning-class.html
share/doc/py-psycopg2/api/public/psycopg2._psycopg-module.html
share/doc/py-psycopg2/api/public/psycopg2.extensions-module.html
share/doc/py-psycopg2/api/public/psycopg2.extras-module.html
share/doc/py-psycopg2/api/public/psycopg2.extras.DictConnection-class.html
share/doc/py-psycopg2/api/public/psycopg2.extras.DictCursor-class.html
share/doc/py-psycopg2/api/public/psycopg2.extras.DictRow-class.html
share/doc/py-psycopg2/api/public/psycopg2.extras.SQL_IN-class.html
share/doc/py-psycopg2/api/public/psycopg2.pool-module.html
share/doc/py-psycopg2/api/public/psycopg2.pool.AbstractConnectionPool-class.html
share/doc/py-psycopg2/api/public/psycopg2.pool.PersistentConnectionPool-class.html
share/doc/py-psycopg2/api/public/psycopg2.pool.PoolError-class.html
share/doc/py-psycopg2/api/public/psycopg2.pool.SimpleConnectionPool-class.html
share/doc/py-psycopg2/api/public/psycopg2.pool.ThreadedConnectionPool-class.html
share/doc/py-psycopg2/api/public/psycopg2.psycopg1-module.html
share/doc/py-psycopg2/api/public/psycopg2.psycopg1.connection-class.html
share/doc/py-psycopg2/api/public/psycopg2.psycopg1.cursor-class.html
share/doc/py-psycopg2/api/public/psycopg2.tz-module.html
share/doc/py-psycopg2/api/public/psycopg2.tz.FixedOffsetTimezone-class.html
share/doc/py-psycopg2/api/public/psycopg2.tz.LocalTimezone-class.html
share/doc/py-psycopg2/api/public/toc-everything.html
share/doc/py-psycopg2/api/public/toc-psycopg2-module.html
share/doc/py-psycopg2/api/public/toc-psycopg2._psycopg-module.html
share/doc/py-psycopg2/api/public/toc-psycopg2.extensions-module.html
share/doc/py-psycopg2/api/public/toc-psycopg2.extras-module.html
share/doc/py-psycopg2/api/public/toc-psycopg2.pool-module.html
share/doc/py-psycopg2/api/public/toc-psycopg2.psycopg1-module.html
share/doc/py-psycopg2/api/public/toc-psycopg2.tz-module.html
share/doc/py-psycopg2/api/public/toc.html
share/doc/py-psycopg2/api/public/trees.html
share/doc/py-psycopg2/async.txt
share/doc/py-psycopg2/extensions.html
share/doc/py-psycopg2/extensions.rst
share/examples/py-psycopg2/
share/examples/py-psycopg2/binary.py
share/examples/py-psycopg2/copy_from.py
share/examples/py-psycopg2/copy_to.py
share/examples/py-psycopg2/cursor.py
share/examples/py-psycopg2/dialtone.py
share/examples/py-psycopg2/dict.py
share/examples/py-psycopg2/dt.py
share/examples/py-psycopg2/encoding.py
share/examples/py-psycopg2/fetch.py
share/examples/py-psycopg2/lastrowid.py
share/examples/py-psycopg2/mogrify.py
share/examples/py-psycopg2/myfirstrecipe.py
share/examples/py-psycopg2/notify.py
share/examples/py-psycopg2/simple.py
share/examples/py-psycopg2/somehackers.jpg
share/examples/py-psycopg2/threads.py
share/examples/py-psycopg2/tz.py
share/examples/py-psycopg2/usercast.py
share/examples/py-psycopg2/whereareyou.jpg