[Midnightbsd-cvs] mports [16179] trunk/databases: give postgres some love
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Apr 12 14:20:25 EDT 2014
Revision: 16179
http://svnweb.midnightbsd.org/mports/?rev=16179
Author: laffer1
Date: 2014-04-12 14:20:24 -0400 (Sat, 12 Apr 2014)
Log Message:
-----------
give postgres some love
Modified Paths:
--------------
trunk/databases/Makefile
Added Paths:
-----------
trunk/databases/py-postgresql/
trunk/databases/py-postgresql/Makefile
trunk/databases/py-postgresql/distinfo
trunk/databases/py-postgresql/pkg-descr
Modified: trunk/databases/Makefile
===================================================================
--- trunk/databases/Makefile 2014-04-12 18:18:04 UTC (rev 16178)
+++ trunk/databases/Makefile 2014-04-12 18:20:24 UTC (rev 16179)
@@ -96,6 +96,7 @@
SUBDIR += py-bsddb3
SUBDIR += py-gdbm
SUBDIR += py-mysql2pgsql
+SUBDIR += py-postgresql
SUBDIR += py-sqlite3
SUBDIR += py-sqlite3dbm
SUBDIR += qdbm
Added: trunk/databases/py-postgresql/Makefile
===================================================================
--- trunk/databases/py-postgresql/Makefile (rev 0)
+++ trunk/databases/py-postgresql/Makefile 2014-04-12 18:20:24 UTC (rev 16179)
@@ -0,0 +1,23 @@
+# $MidnightBSD$
+
+PORTNAME= postgresql
+PORTVERSION= 1.1.0
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP \
+ http://python.projects.postgresql.org/files/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= postgresql
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Python 3 compatible PostgreSQL database driver and tools
+
+LICENSE= bsd3
+
+USE_ZIP= yes
+USE_PGSQL= yes
+USE_PYTHON= 3
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+.include <bsd.port.mk>
Added: trunk/databases/py-postgresql/distinfo
===================================================================
--- trunk/databases/py-postgresql/distinfo (rev 0)
+++ trunk/databases/py-postgresql/distinfo 2014-04-12 18:20:24 UTC (rev 16179)
@@ -0,0 +1,2 @@
+SHA256 (postgresql/py-postgresql-1.1.0.zip) = 4bae6e15bf0be03294240acc5b27f5aa2d9649188bc4528cd5b5512582e0ea93
+SIZE (postgresql/py-postgresql-1.1.0.zip) = 254537
Added: trunk/databases/py-postgresql/pkg-descr
===================================================================
--- trunk/databases/py-postgresql/pkg-descr (rev 0)
+++ trunk/databases/py-postgresql/pkg-descr 2014-04-12 18:20:24 UTC (rev 16179)
@@ -0,0 +1,22 @@
+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/
More information about the Midnightbsd-cvs
mailing list