pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-peewee py-peewee: updated to 3.9.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/278c78b97fce
branches:  trunk
changeset: 396786:278c78b97fce
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 10 07:36:14 2019 +0000

description:
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.

diffstat:

 databases/py-peewee/Makefile |   4 ++--
 databases/py-peewee/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r a747d9d441e8 -r 278c78b97fce databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Mon Jun 10 02:49:36 2019 +0000
+++ b/databases/py-peewee/Makefile      Mon Jun 10 07:36:14 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2019/04/27 09:33:07 adam Exp $
+# $NetBSD: Makefile,v 1.58 2019/06/10 07:36:14 adam Exp $
 
-DISTNAME=      peewee-3.9.5
+DISTNAME=      peewee-3.9.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
diff -r a747d9d441e8 -r 278c78b97fce databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Mon Jun 10 02:49:36 2019 +0000
+++ b/databases/py-peewee/distinfo      Mon Jun 10 07:36:14 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.50 2019/04/27 09:33:07 adam Exp $
+$NetBSD: distinfo,v 1.51 2019/06/10 07:36:14 adam Exp $
 
-SHA1 (peewee-3.9.5.tar.gz) = 309d7e7b1e82c27612e0d661e99d0fb404257b2a
-RMD160 (peewee-3.9.5.tar.gz) = 47dedfcb18f3bd3be21f00165fe781eb4df2cee8
-SHA512 (peewee-3.9.5.tar.gz) = 62cd63124102683cf1c2a0020889ab9268f3b76ac38aee1906b2005193b3d44c31b8b2a4444381f38e37670c1f248e8d59ed8c99efb1352f5bbdfb3a7a6a14e6
-Size (peewee-3.9.5.tar.gz) = 2276358 bytes
+SHA1 (peewee-3.9.6.tar.gz) = 5ed2665aad77e9a355cea0c8df8de4ab9c12d00c
+RMD160 (peewee-3.9.6.tar.gz) = 214e503e5dca4651f9bdb279953fa391f2fe7e5e
+SHA512 (peewee-3.9.6.tar.gz) = 6413a893bb4f19c537c3c622c00d29715ea9e635b527d50bdbd3f87d1f7f59a8408af7a9f5f3729701550c3b72346c5563dacf5e8e9b39ca46713bf2cda0d0ad
+Size (peewee-3.9.6.tar.gz) = 810586 bytes
 SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc



Home | Main Index | Thread Index | Old Index