ports/135508: New port: databases/py-postgresql, Python3.x adapter for PostgreSQL
| From: | Andrey Antoukh <andsux@gmail.com> |
| Date: | Fri, 12 Jun 2009 13:53:27 GMT |
| Subject: | New port |
| Send-pr version: | www-3.1 |
| Number: | 135508 |
| Category: | ports |
| Synopsis: | New port: databases/py-postgresql, Python3.x adapter for PostgreSQL |
| Severity: | non-critical |
| Priority: | medium |
| Responsible: | freebsd-ports-bugs@FreeBSD.org |
| State: | open |
| Class: | change-request |
| Arrival-Date: | Fri Jun 12 14:00:03 UTC 2009 |
| Closed-Date: | |
| Last-Modified: | Tue Nov 10 05:36:15 UTC 2009 |
| Originator: | Andrey Antoukh |
| Release: | FreeBSD 7.2 Stable |
| Organization: |
| Environment: |
FreeBSD workstation.bsd-es.org 7.2-STABLE FreeBSD 7.2-STABLE #2: Fri May 22 13:02:20 CEST 2009 root@workstation.bsd-es.org:/usr/obj/usr/src/sys/AX amd64
| Description: |
New port.
Python3 PostgreSQL interface.
Python3 PostgreSQL interface.
| How-To-Repeat: |
| Fix: |
| Download patch.txt |
# 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: # # /usr/ports/databases/py-postgresql # /usr/ports/databases/py-postgresql/pkg-plist # /usr/ports/databases/py-postgresql/pkg-descr # /usr/ports/databases/py-postgresql/distinfo # /usr/ports/databases/py-postgresql/Makefile # echo c - /usr/ports/databases/py-postgresql mkdir -p /usr/ports/databases/py-postgresql > /dev/null 2>&1 echo x - /usr/ports/databases/py-postgresql/pkg-plist sed 's/^X//' >/usr/ports/databases/py-postgresql/pkg-plist << '04fef17aed35c1d9af0f4b4e55dccdb2' 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/bin 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/driver X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/test X@dirrm lib/%%PYTHON_VERSION%%/site-packages/postgresql/documentation 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/ 04fef17aed35c1d9af0f4b4e55dccdb2 echo x - /usr/ports/databases/py-postgresql/pkg-descr sed 's/^X//' >/usr/ports/databases/py-postgresql/pkg-descr << 'de5d7720e8f2ca6c55363d463fb48914' Xstgresql is a project dedicated to improving the Python interfaces to XPostgreSQL. It strives to provide substantial convenience to Python Xprogrammers using PostgreSQL. X XAt its core, py-postgresql provides a PG-API, postgresql.api, and XDB-API 2.0 interface for using a PostgreSQL database. X XWWW: http://python.projects.postgresql.org/ de5d7720e8f2ca6c55363d463fb48914 echo x - /usr/ports/databases/py-postgresql/distinfo sed 's/^X//' >/usr/ports/databases/py-postgresql/distinfo << 'cb693174164c2aa4f1413ffc3cf3795a' XMD5 (py-postgresql-0.8.1.tar.gz) = 5ea208b9597ca416aefb14c7bf02fe9a XSHA256 (py-postgresql-0.8.1.tar.gz) = 94b10ecd4b663d76a8fb3309afd2cf93f3d0111d7ae000c2586f68968cc17f1f XSIZE (py-postgresql-0.8.1.tar.gz) = 184977 cb693174164c2aa4f1413ffc3cf3795a echo x - /usr/ports/databases/py-postgresql/Makefile sed 's/^X//' >/usr/ports/databases/py-postgresql/Makefile << '18e16c1a9772f4781775e821feb2a889' XPORTNAME= py-postgresql XPORTVERSION= 0.8.1 XCATEGORIES= databases python XMASTER_SITES= http://python.projects.postgresql.org/files/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= py-postgresql-${PORTVERSION} X XUSE_PGSQL= yes XUSE_GMAKE= yes XUSE_PYTHON= 3.0+ XUSE_PYDISTUTILS= yes X X XMAINTAINER= andsux@gmail.com XCOMMENT= The high performance Python3.x adapter for PostgreSQL X Xdo-build: X @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py build) X Xdo-install: X @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install) X X.include <bsd.port.mk> 18e16c1a9772f4781775e821feb2a889 exit |
| Release-Note: |
| Audit-Trail: |
| Class Changed | |
| From-To: | update->change-request |
| By: | edwin |
| When: | Fri Jun 12 14:00:14 UTC 2009 |
| Why: | Fix category (new ports should be change-requests) (via the GNATS Auto Assign Tool) |
| Responsible Changed | |
| From-To: | freebsd-ports-bugs->pgollucci |
| By: | pgollucci |
| When: | Tue Jun 23 06:07:53 UTC 2009 |
| Why: | I'll take it. |
| State Changed | |
| From-To: | open->feedback |
| By: | pgollucci |
| When: | Tue Jun 23 06:18:16 UTC 2009 |
| Why: | Ask for submitter fix. |
| Reply via E-mail | |
| From: | "Philip M. Gollucci" <pgollucci@p6m7g8.com> |
| Date: | Tue, 23 Jun 2009 02:17:56 -0400 |
|
portlint -A FATAL: Makefile: [4]: use a tab (not space) after a variable name FATAL: Makefile: [12]: contiguous blank lines (> 1 lines) found. FATAL: Makefile: non-comment line in comment section. FATAL: Makefile: no "ports collection makefile for" line in comment section. FATAL: Makefile: no "Whom" line in comment section. FATAL: Makefile: no "Date created" line in comment section. FATAL: Makefile: no $FreeBSD$ line in comment section. FATAL: Makefile: extra item "USE_PGSQL" placed in the PORTNAME section. FATAL: Makefile: extra item "USE_GMAKE" placed in the PORTNAME section. FATAL: Makefile: extra item "USE_PYTHON" placed in the PORTNAME section. FATAL: Makefile: extra item "USE_PYDISTUTILS" placed in the PORTNAME section. FATAL: Makefile: PORTNAME has to be there. FATAL: Makefile: PORTVERSION or DISTVERSION has to be there. FATAL: Makefile: CATEGORIES has to be there. WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors. Please fix those at a minimum. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ | |
| Reply via E-mail | |||
| From: | Andrei <andsux@gmail.com> | ||
| Date: | Fri, 26 Jun 2009 03:40:11 +0200 | ||
|
--001636a7da93d6e189046d366b5d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit [3/4.3.10]root@workstation:/usr/ports/databases/py-postgresql# portlint . FATAL: Makefile: no $FreeBSD$ line in comment section. WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. 1 fatal error and 1 warning found I fix some error's. -- **** "Linux is for people who hate Windows, BSD is for people who love UNIX" "Social Engineer -> Because there is no patch for human stupidity" --001636a7da93d6e189046d366b5d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [3/4.3.10]root@workstation:/usr/ports/databases/py-postgresql# portlint .<b= r>FATAL: Makefile: no $FreeBSD$ line in comment section.<br>WARN: Makefile:= using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFI= X.<br> 1 fatal error and 1 warning found<br><br>I fix some error's. <br><br><b= r clear=3D"all"><br>-- <br>****<br>"Linux is for people who hate Windo= ws, BSD is for people who love UNIX"<br>"Social Engineer -> Be= cause there is no patch for human stupidity"<br> --001636a7da93d6e189046d366b5d--
| |||
| State Changed | |
| From-To: | feedback->open |
| By: | pgollucci |
| When: | Fri Jun 26 04:12:53 UTC 2009 |
| Why: | Submitter has fixed. |
| Responsible Changed | |
| From-To: | pgollucci->freebsd-ports-bugs |
| By: | linimon |
| When: | Tue Nov 10 05:35:58 UTC 2009 |
| Why: | With bugmeister hat on, reassign this one to the general pool, since it does not seem to have been worked on recently. |
| Unformatted: |
