py-peewee: updated to 3.9.6 3.9.6 Support nesting the Database instance as a context-manager. The outermost block will handle opening and closing the connection along with wrapping everything in a transaction. Nested blocks will use savepoints. Add new session_start(), session_commit() and session_rollback() interfaces to the Database object to support using transactional controls in situations where a context-manager or decorator is awkward. Fix error that would arise when attempting to do an empty bulk-insert. Set isolation_level=None in SQLite connection constructor rather than afterwards using the setter. Add create_table() method to Select query to implement CREATE TABLE AS. Cleanup some declarations in the Sqlite C extension. Add new example showing how to implement Reddit's ranking algorithm in SQL.diff -r1.57 -r1.58 pkgsrc/databases/py-peewee/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.57 2019/04/27 09:33:07 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.58 2019/06/10 07:36:14 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= peewee-3.9.5 | 3 | DISTNAME= peewee-3.9.6 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/} | |
7 | 7 | |||
8 | MAINTAINER= fhajny@NetBSD.org | 8 | MAINTAINER= fhajny@NetBSD.org | |
9 | HOMEPAGE= http://www.peewee-orm.com/ | 9 | HOMEPAGE= http://www.peewee-orm.com/ | |
10 | COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite | 10 | COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | 13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | |
14 | DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | 14 | DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | |
15 | 15 | |||
16 | MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX} | 16 | MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX} |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.50 2019/04/27 09:33:07 adam Exp $ | 1 | $NetBSD: distinfo,v 1.51 2019/06/10 07:36:14 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (peewee-3.9.5.tar.gz) = 309d7e7b1e82c27612e0d661e99d0fb404257b2a | 3 | SHA1 (peewee-3.9.6.tar.gz) = 5ed2665aad77e9a355cea0c8df8de4ab9c12d00c | |
4 | RMD160 (peewee-3.9.5.tar.gz) = 47dedfcb18f3bd3be21f00165fe781eb4df2cee8 | 4 | RMD160 (peewee-3.9.6.tar.gz) = 214e503e5dca4651f9bdb279953fa391f2fe7e5e | |
5 | SHA512 (peewee-3.9.5.tar.gz) = 62cd63124102683cf1c2a0020889ab9268f3b76ac38aee1906b2005193b3d44c31b8b2a4444381f38e37670c1f248e8d59ed8c99efb1352f5bbdfb3a7a6a14e6 | 5 | SHA512 (peewee-3.9.6.tar.gz) = 6413a893bb4f19c537c3c622c00d29715ea9e635b527d50bdbd3f87d1f7f59a8408af7a9f5f3729701550c3b72346c5563dacf5e8e9b39ca46713bf2cda0d0ad | |
6 | Size (peewee-3.9.5.tar.gz) = 2276358 bytes | 6 | Size (peewee-3.9.6.tar.gz) = 810586 bytes | |
7 | SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc | 7 | SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc |