diff options
author | adam <adam@pkgsrc.org> | 2019-05-27 15:25:14 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-05-27 15:25:14 +0000 |
commit | 72a175acb6ad4a1bc88620abed172b5b9a1d5649 (patch) | |
tree | 5b7b55fddd778ccbe6537edbf0b0dd2e7029f63a | |
parent | b4c465844f50620a24deb27a97b35edaddbde6d2 (diff) | |
download | pkgsrc-72a175acb6ad4a1bc88620abed172b5b9a1d5649.tar.gz |
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
-rw-r--r-- | databases/py-sqlparse/Makefile | 12 | ||||
-rw-r--r-- | databases/py-sqlparse/distinfo | 10 |
2 files changed, 13 insertions, 9 deletions
diff --git a/databases/py-sqlparse/Makefile b/databases/py-sqlparse/Makefile index ab553be6434..27f4557d9ff 100644 --- a/databases/py-sqlparse/Makefile +++ b/databases/py-sqlparse/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2018/08/20 22:36:20 szptvlfn Exp $ +# $NetBSD: Makefile,v 1.16 2019/05/27 15:25:14 adam Exp $ -DISTNAME= sqlparse-0.2.4 +DISTNAME= sqlparse-0.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sqlparse/} @@ -10,11 +10,15 @@ 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 -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test + +PYSETUPTESTTARGET= pytest post-install: - cd ${DESTDIR}${PREFIX}/bin && ${MV} sqlformat sqlformat-${PYVERSSUFFIX} || ${TRUE} + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} sqlformat sqlformat-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/py-sqlparse/distinfo b/databases/py-sqlparse/distinfo index 3587e366c66..2f6f7f2849f 100644 --- a/databases/py-sqlparse/distinfo +++ b/databases/py-sqlparse/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2017/10/08 08:47:55 adam Exp $ +$NetBSD: distinfo,v 1.14 2019/05/27 15:25:14 adam Exp $ -SHA1 (sqlparse-0.2.4.tar.gz) = 7def27ec3131bd36818e61416b7e4074e1400b8e -RMD160 (sqlparse-0.2.4.tar.gz) = cbc1000e0fea6334d1981e6b5bee1d9dd95b8102 -SHA512 (sqlparse-0.2.4.tar.gz) = abea0f084778976f2d1086006eaa88e1fc1d2580654d063b35557a44d9d9727b410a022e8ea06ae3b265f2829d49c48d347dddc61f2e56be9c3d6207104712b2 -Size (sqlparse-0.2.4.tar.gz) = 61614 bytes +SHA1 (sqlparse-0.3.0.tar.gz) = 5d2ce3a15ba08a057d20b5b21c7cae39b9241a6a +RMD160 (sqlparse-0.3.0.tar.gz) = 90d1d247a7e3a0b443ae13efd56972e3aa955888 +SHA512 (sqlparse-0.3.0.tar.gz) = 596d25f5fa2c797fe5652e36e9633397e7867586ff0959f52d1ff861c16d0e7c73644daf03d74169dd20255e802b7369d4dace0a44a3d94c15bd67faa41df551 +Size (sqlparse-0.3.0.tar.gz) = 64072 bytes |