diff options
author | miwi <miwi@FreeBSD.org> | 2011-06-25 17:39:15 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-06-25 17:39:15 +0800 |
commit | e067b9b01dc49798648689ca354fd6c19eace3be (patch) | |
tree | 7aa673c813485bfcef59ebf95b6d1578fd464ef8 /databases | |
parent | 530d641e531a4ef175536e73fe330705f16aa595 (diff) | |
download | freebsd-ports-gnome-e067b9b01dc49798648689ca354fd6c19eace3be.tar.gz freebsd-ports-gnome-e067b9b01dc49798648689ca354fd6c19eace3be.tar.zst freebsd-ports-gnome-e067b9b01dc49798648689ca354fd6c19eace3be.zip |
sqlparse is a non-validating SQL parser module.
It provides support for parsing, splitting and formatting SQL statements.
WWW: http://code.google.com/p/python-sqlparse/
PR: ports/156828
Submitted by: Roland van Laar <roland at micite.net>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/py-sqlparse/Makefile | 23 | ||||
-rw-r--r-- | databases/py-sqlparse/distinfo | 2 | ||||
-rw-r--r-- | databases/py-sqlparse/pkg-descr | 4 | ||||
-rw-r--r-- | databases/py-sqlparse/pkg-plist | 2 |
5 files changed, 32 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index fa4a0566698b..c8834e371a0b 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -684,6 +684,7 @@ SUBDIR += py-sqlite3 SUBDIR += py-sqlkit SUBDIR += py-sqlobject + SUBDIR += py-sqlparse SUBDIR += py-sqlrelay SUBDIR += py-swift SUBDIR += py-sybase diff --git a/databases/py-sqlparse/Makefile b/databases/py-sqlparse/Makefile new file mode 100644 index 000000000000..424e176d60ee --- /dev/null +++ b/databases/py-sqlparse/Makefile @@ -0,0 +1,23 @@ +# Ports collection makefile for: py-sqlparse +# Date created: April 29, 2011 +# Whom: Roland van Laar <roland@micite.net> +# +# $FreeBSD$ +# + +PORTNAME= sqlparse +PORTVERSION= 0.1.2 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= roland@micite.net +COMMENT= A non-validating SQL parser for Python + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +post-patch: + @${REINPLACE_CMD} -e 's|distutils.core|setuptools|g' ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/databases/py-sqlparse/distinfo b/databases/py-sqlparse/distinfo new file mode 100644 index 000000000000..0d160ccbb61b --- /dev/null +++ b/databases/py-sqlparse/distinfo @@ -0,0 +1,2 @@ +SHA256 (sqlparse-0.1.2.tar.gz) = a92a84ae0d606505740b759c80d8129ed46d98b72c843bc1a6f6eac7420aa42a +SIZE (sqlparse-0.1.2.tar.gz) = 33262 diff --git a/databases/py-sqlparse/pkg-descr b/databases/py-sqlparse/pkg-descr new file mode 100644 index 000000000000..50fb504f19fe --- /dev/null +++ b/databases/py-sqlparse/pkg-descr @@ -0,0 +1,4 @@ +sqlparse is a non-validating SQL parser module. +It provides support for parsing, splitting and formatting SQL statements. + +WWW: http://code.google.com/p/python-sqlparse/ diff --git a/databases/py-sqlparse/pkg-plist b/databases/py-sqlparse/pkg-plist new file mode 100644 index 000000000000..113339e07a2d --- /dev/null +++ b/databases/py-sqlparse/pkg-plist @@ -0,0 +1,2 @@ +bin/sqlformat +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |