pkgsrc/databases/py-sqlparse/Makefile
adam 9b47def50a py-sqlparse: updated to 0.3.0
Release 0.3.0:

Notable Changes
* Remove support for Python 3.3.

Enhancements
* New formatting option "--indent_after_first"
* New formatting option "--indent_columns"
* Add UPSERT keyword
* Strip multiple whitespace within parentheses
* Support double slash (//) comments
* Support for Calcite temporal keywords

Bug Fixes
* Fix occasional IndexError
* Fix incorrect splitting of strings containing new lines
* Fix reindent issue for parenthesis
* Fix from( parsing issue
* Fix for get_real_name() to return correct name
* Wrap function params when wrap_after is set
* Fix parsing of "WHEN name" clauses
* Add missing EXPLAIN keyword
* Fix issue with strip_comments causing a syntax error
* Fix formatting on INSERT which caused staircase effect on values
  by fredyw).
* Avoid formatting of psql commands

Internal Changes
* Unify handling of GROUP BY/ORDER BY
* Remove unnecessary compat shim for bytes
2019-05-27 15:25:14 +00:00

24 lines
639 B
Makefile

# $NetBSD: Makefile,v 1.16 2019/05/27 15:25:14 adam Exp $
DISTNAME= sqlparse-0.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sqlparse/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/andialbrecht/sqlparse
COMMENT= Non-validating SQL parser
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} sqlformat sqlformat-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"