pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-sqlparse py-sqlparse: updated to 0.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/d89a74b19be3
branches: trunk
changeset: 396299:d89a74b19be3
user: adam <adam%pkgsrc.org@localhost>
date: Mon May 27 15:25:14 2019 +0000
description:
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
diffstat:
databases/py-sqlparse/Makefile | 12 ++++++++----
databases/py-sqlparse/distinfo | 10 +++++-----
2 files changed, 13 insertions(+), 9 deletions(-)
diffs (45 lines):
diff -r 95ac232158ab -r d89a74b19be3 databases/py-sqlparse/Makefile
--- a/databases/py-sqlparse/Makefile Mon May 27 15:20:45 2019 +0000
+++ b/databases/py-sqlparse/Makefile Mon May 27 15:25:14 2019 +0000
@@ -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 @@
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 -r 95ac232158ab -r d89a74b19be3 databases/py-sqlparse/distinfo
--- a/databases/py-sqlparse/distinfo Mon May 27 15:20:45 2019 +0000
+++ b/databases/py-sqlparse/distinfo Mon May 27 15:25:14 2019 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index