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 bytesdiff -r1.15 -r1.16 pkgsrc/databases/py-sqlparse/Makefile
(adam)
@@ -1,20 +1,24 @@ | @@ -1,20 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2018/08/20 22:36:20 szptvlfn Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2019/05/27 15:25:14 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= sqlparse-0.2.4 | 3 | DISTNAME= sqlparse-0.3.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/sqlparse/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/sqlparse/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/andialbrecht/sqlparse | 9 | HOMEPAGE= https://github.com/andialbrecht/sqlparse | |
10 | COMMENT= Non-validating SQL parser | 10 | COMMENT= Non-validating SQL parser | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |||
14 | ||||
13 | USE_LANGUAGES= # none | 15 | USE_LANGUAGES= # none | |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | 16 | ||
17 | PYSETUPTESTTARGET= pytest | |||
15 | 18 | |||
16 | post-install: | 19 | post-install: | |
17 | cd ${DESTDIR}${PREFIX}/bin && ${MV} sqlformat sqlformat-${PYVERSSUFFIX} || ${TRUE} | 20 | cd ${DESTDIR}${PREFIX}/bin && \ | |
21 | ${MV} sqlformat sqlformat-${PYVERSSUFFIX} || ${TRUE} | |||
18 | 22 | |||
19 | .include "../../lang/python/egg.mk" | 23 | .include "../../lang/python/egg.mk" | |
20 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2017/10/08 08:47:55 adam Exp $ | 1 | $NetBSD: distinfo,v 1.14 2019/05/27 15:25:14 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (sqlparse-0.2.4.tar.gz) = 7def27ec3131bd36818e61416b7e4074e1400b8e | 3 | SHA1 (sqlparse-0.3.0.tar.gz) = 5d2ce3a15ba08a057d20b5b21c7cae39b9241a6a | |
4 | RMD160 (sqlparse-0.2.4.tar.gz) = cbc1000e0fea6334d1981e6b5bee1d9dd95b8102 | 4 | RMD160 (sqlparse-0.3.0.tar.gz) = 90d1d247a7e3a0b443ae13efd56972e3aa955888 | |
5 | SHA512 (sqlparse-0.2.4.tar.gz) = abea0f084778976f2d1086006eaa88e1fc1d2580654d063b35557a44d9d9727b410a022e8ea06ae3b265f2829d49c48d347dddc61f2e56be9c3d6207104712b2 | 5 | SHA512 (sqlparse-0.3.0.tar.gz) = 596d25f5fa2c797fe5652e36e9633397e7867586ff0959f52d1ff861c16d0e7c73644daf03d74169dd20255e802b7369d4dace0a44a3d94c15bd67faa41df551 | |
6 | Size (sqlparse-0.2.4.tar.gz) = 61614 bytes | 6 | Size (sqlparse-0.3.0.tar.gz) = 64072 bytes |