pkgsrc/databases/py-sqlparse/Makefile
adam 1ad7932533 py-sqlparse: updated to 0.3.1
Release 0.3.1:

Enhancements
* Add HQL keywords.
* Add support for time zone casts.
* Enhance formatting of AS keyword.
* Stabilize grouping engine when parsing invalid SQL statements.

Bug Fixes
* Fix splitting of SQL with multiple statements inside
  parentheses.
* Correctly identify NULLS FIRST / NULLS LAST as keywords.
* Fix splitting of SQL statements that contain dollar signs in
  identifiers.
* Remove support for parsing double slash comments introduced in
  0.3.0 as it had some side-effects with other dialects and
  doesn't seem to be widely used.
* Restrict detection of alias names to objects that acutally could
  have an alias.
* Fix parsing of date/time literals.
* Fix initialization of TokenList.
* Fix parsing of LIKE.
* Improve parsing of identifiers
2020-03-02 10:28:26 +00:00

24 lines
639 B
Makefile

# $NetBSD: Makefile,v 1.17 2020/03/02 10:28:26 adam Exp $
DISTNAME= sqlparse-0.3.1
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"