freebsd-ports/databases/py-postgresql/Makefile
Pav Lucistnik 617155369d Pure Python
All code, at first, is written in pure Python so that py-postgresql will work
anywhere that you can install Python 3. Optimizations in C are made where
needed, but are always optional.

Prepared Statements
Using the PG-API interface, protocol-level prepared statements may be created
and used multiple times. db.prepare(sql)(*args)

COPY Support
Use the convenient COPY interface to directly copy data from one connection to
another. No intermediate files or tricks are necessary.

Arrays and Composite Typescw
Arrays and composites are fully supported. Queries requesting them will returns
objects that provide access to the elements within.

"pg_python" Quick Console
Get a Python console with a connection to PostgreSQL for quick tests and simple
scripts.

WWW: http://python.projects.postgresql.org/

PR:		ports/137782
Submitted by:	Volodymyr Kostyrko <c.kworr@gmail.com>
2009-12-18 19:22:02 +00:00

27 lines
761 B
Makefile

# New ports collection makefile for: py-postgresql
# Date created: 15 August 2009
# Whom: Volodymyr Kostyrko <c.kworr@gmail.com>
#
# $FreeBSD$
#
PORTNAME= postgresql
PORTVERSION= 0.9.1
CATEGORIES= databases python
MASTER_SITES= http://python.projects.postgresql.org/files/ \
http://limbo.xim.bz/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= postgresql
MAINTAINER= c.kworr@gmail.com
COMMENT= Python 3 compatible PostgreSQL database driver and tools
USE_BZIP2= yes
USE_PGSQL= yes
USE_PYTHON= 3.1+
USE_PYDISTUTILS= yes
PYDISTUTILS_EGGINFO= py_${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-${PYTHON_VERSION:S/thon//}.egg-info
.include <bsd.port.mk>