pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/py-sqlparse



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 27 15:25:14 UTC 2019

Modified Files:
        pkgsrc/databases/py-sqlparse: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/py-sqlparse/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/databases/py-sqlparse/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-sqlparse/Makefile
diff -u pkgsrc/databases/py-sqlparse/Makefile:1.15 pkgsrc/databases/py-sqlparse/Makefile:1.16
--- pkgsrc/databases/py-sqlparse/Makefile:1.15  Mon Aug 20 22:36:20 2018
+++ pkgsrc/databases/py-sqlparse/Makefile       Mon May 27 15:25:14 2019
@@ -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/andialbrech
 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"

Index: pkgsrc/databases/py-sqlparse/distinfo
diff -u pkgsrc/databases/py-sqlparse/distinfo:1.13 pkgsrc/databases/py-sqlparse/distinfo:1.14
--- pkgsrc/databases/py-sqlparse/distinfo:1.13  Sun Oct  8 08:47:55 2017
+++ pkgsrc/databases/py-sqlparse/distinfo       Mon May 27 15:25:14 2019
@@ -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