Date: Sat, 18 Apr 2009 21:07:11 GMT From: William Grzybowski <william@agencialivre.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/133844: New port: databases/py-postgresql python3 pgsql driver Message-ID: <200904182107.n3IL7BSO023772@www.freebsd.org> Resent-Message-ID: <200904182110.n3ILA1uY074075@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133844 >Category: ports >Synopsis: New port: databases/py-postgresql python3 pgsql driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 18 21:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: William Grzybowski >Release: 7.1-RELEASE >Organization: AgenciaLivre >Environment: >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-postgresql # py-postgresql/Makefile # py-postgresql/distinfo # py-postgresql/pkg-descr # py-postgresql/pkg-plist # echo c - py-postgresql mkdir -p py-postgresql > /dev/null 2>&1 echo x - py-postgresql/Makefile sed 's/^X//' >py-postgresql/Makefile << 'bdd61bb7a2297c6fbee13610309e5e9f' X# New ports collection makefile for: py-postgresql X# Date created: 18 April 2009 X# Whom: William Grzybowski <william@agencialivre.com.br> X X XPORTNAME= py-postgresql XPORTVERSION= 0.8.0 XCATEGORIES= databases python XMASTER_SITES= http://python.projects.postgresql.org/files/ \ X ${MASTER_SITE_LOCAL} X XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= py-postgresql-${PORTVERSION} X XMAINTAINER= william@agencialivre.com.br XCOMMENT= A Python 3.0 driver, cluster management tools, client development tools and DBAPI-2.0 for PostgreSQL X XUSE_PYTHON= 3.0+ XUSE_PYDISTUTILS= yes X Xdo-build: X @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py build) X Xdo-install: X @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install) X XDOCSDIR= ${PREFIX}/share/doc/py-postgresql X XDOCS= AUTHORS LICENSE README X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for f in ${DOCS} X @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> bdd61bb7a2297c6fbee13610309e5e9f echo x - py-postgresql/distinfo sed 's/^X//' >py-postgresql/distinfo << 'f77e5745b14e096b803f409e9011c3c6' XMD5 (py-postgresql-0.8.0.tar.gz) = 06384f7ac7090b7b5975deedb644c98c XSHA256 (py-postgresql-0.8.0.tar.gz) = 9819240d283f682fc12128f1ad191184caf33b99d1b75da522aa9015e7112659 XSIZE (py-postgresql-0.8.0.tar.gz) = 184554 f77e5745b14e096b803f409e9011c3c6 echo x - py-postgresql/pkg-descr sed 's/^X//' >py-postgresql/pkg-descr << '73ecbbcbaf7feecd560e6377504f36bb' Xpy-postgresql provides a driver, cluster management tools, client development tools, and API specifications. X XAll 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. Using the PG-API interface, protocol-level prepared statements may be created and used via convenient interfaces. Using the PG-API interface, protocol-level prepared statements may be created and used via convenient interfaces. Use the convenient COPY interface to directly copy data from one connection to another. No intermediate files or tricks are necessary. Arrays and composites are fully supported. Queries requesting them will returns objects that provide access to the elements within. Get a Python console with a connection to PostgreSQL for quick tests and simple scripts. X XWWW: http://python.projects.postgresql.org/ 73ecbbcbaf7feecd560e6377504f36bb echo x - py-postgresql/pkg-plist sed 's/^X//' >py-postgresql/pkg-plist << 'daeebc16372b04f453f87f628b1327bd' Xshare/doc/py-postgresql/AUTHORS Xshare/doc/py-postgresql/LICENSE Xshare/doc/py-postgresql/README X@dirrm share/doc/py-postgresql Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/api.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/api.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/bin/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/bin/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/bin/pg_dotconf.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/bin/pg_dotconf.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/bin/pg_python.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/bin/pg_python.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/clientparameters.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/clientparameters.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/cluster.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/cluster.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/configfile.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/configfile.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/admin.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/admin.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/bin.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/bin.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/changes.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/changes.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/clientparameters.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/clientparameters.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/driver.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/driver.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/gotchas.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/gotchas.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/index.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation/index.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/driver/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/driver/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/driver/dbapi20.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/driver/dbapi20.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/driver/pq3.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/driver/pq3.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/encodings/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/encodings/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/encodings/aliases.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/encodings/aliases.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/encodings/bytea.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/encodings/bytea.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/exceptions.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/exceptions.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/installation.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/installation.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/iri.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/iri.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/pgpassfile.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/pgpassfile.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/buffer.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/buffer.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/cbuffer.so Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/element3.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/element3.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/optimized.so Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/pbuffer.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/pbuffer.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/typio.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/typio.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/typstruct.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/typstruct.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/version.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/version.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/xact3.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol/xact3.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/datetime.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/datetime.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/decorlib.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/decorlib.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/doc.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/doc.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/functools.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/functools.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/itertools.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/itertools.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/optimized.so Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/socket.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/python/socket.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/release/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/release/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/release/distutils.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/release/distutils.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/crypt.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/crypt.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/pythoncommand.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/pythoncommand.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/riparse.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved/riparse.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/string.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/string.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/cursor_integrity.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/cursor_integrity.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/perf_copy_io.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/perf_copy_io.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/perf_query_io.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/perf_query_io.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_bytea_codec.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_bytea_codec.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_cluster.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_cluster.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_configfile.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_configfile.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_connect.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_connect.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_dbapi20.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_dbapi20.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_driver.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_driver.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_exceptions.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_exceptions.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_iri.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_iri.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_pgpassfile.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_pgpassfile.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_protocol.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_protocol.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_python.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_python.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_ssl_connect.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_ssl_connect.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_string.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/test_string.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/testall.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/test/testall.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/types.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/types.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/unittest.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/unittest.pyc Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/versionstring.py Xlib/%%PYTHON_VERSION%%/site-packages/postgresql/versionstring.pyc X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/driver X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/encodings X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/protocol X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/python X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/release X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/resolved X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/test X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/bin X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql daeebc16372b04f453f87f628b1327bd exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904182107.n3IL7BSO023772>