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.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd819da5c627
branches:  trunk
changeset: 394527:fd819da5c627
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Apr 15 07:03:50 2019 +0000

description:
py-peewee: updated to 3.9.4

3.9.4:

* Add Model.bulk_update() method for bulk-updating fields across multiple
  model instances.
* Add lazy_load parameter to ForeignKeyField. When initialized with
  lazy_load=False, the foreign-key will not use an additional query to
  resolve the related model instance. Instead, if the related model instance is
  not available, the underlying FK column value is returned (behaving like the
  "_id" descriptor).
* Added Model.truncate_table() method.
* The reflection and pwiz extensions now attempt to be smarter about
  converting database table and column names into snake-case. To disable this,
  you can set snake_case=False when calling the Introspector.introspect()
  method or use the -L (legacy naming) option with the pwiz script.
* Bulk insert via insert_many() no longer require specification of the
  fields argument when the inserted rows are lists/tuples. In that case, the
  fields will be inferred to be all model fields except any auto-increment id.
* Add DatabaseProxy, which implements several of the Database class context
  managers. This allows you to reference some of the special features of the
  database object without directly needing to initialize the proxy first.
* Add support for window function frame exclusion and added built-in support
  for the GROUPS frame type.
* Add support for chaining window functions by extending a previously-declared
  window function.
* Playhouse Postgresql extension TSVectorField.match() method supports an
  additional argument plain, which can be used to control the parsing of the
  TS query.
* Added very minimal JSONField to the playhouse MySQL extension.

diffstat:

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

diffs (30 lines):

diff -r 759c11704c0d -r fd819da5c627 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Mon Apr 15 07:01:23 2019 +0000
+++ b/databases/py-peewee/Makefile      Mon Apr 15 07:03:50 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2019/04/03 00:32:31 ryoon Exp $
+# $NetBSD: Makefile,v 1.56 2019/04/15 07:03:50 adam Exp $
 
-DISTNAME=      peewee-3.9.3
+DISTNAME=      peewee-3.9.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
 
diff -r 759c11704c0d -r fd819da5c627 databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Mon Apr 15 07:01:23 2019 +0000
+++ b/databases/py-peewee/distinfo      Mon Apr 15 07:03:50 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.48 2019/03/24 10:39:47 adam Exp $
+$NetBSD: distinfo,v 1.49 2019/04/15 07:03:50 adam Exp $
 
-SHA1 (peewee-3.9.3.tar.gz) = 26b88f4b8566a38ee0267b47636fc2f843933ccc
-RMD160 (peewee-3.9.3.tar.gz) = 617505562a0a7ce4662a926dda3d89eb40ba3bce
-SHA512 (peewee-3.9.3.tar.gz) = f190fa45541d7f0e4c133693f2b6b709bdfe62c1806aa0dcaf874a708e100c7cb8302f94c637437008353204726921973b9f39f6ab716666853d20eaf808ffc3
-Size (peewee-3.9.3.tar.gz) = 2232112 bytes
+SHA1 (peewee-3.9.4.tar.gz) = ef1bedddd4085e21995a76bb5505fbaf376f88e5
+RMD160 (peewee-3.9.4.tar.gz) = 390029d234961aa8a1705d51fc667ea251f2508d
+SHA512 (peewee-3.9.4.tar.gz) = d31f4a7dcfcde8f038e67e942683430a4073560cdf3a28af53d27274ba418fae2d0ff78a30baea0f40fc4c027d0332eab3d6f1950ff927374be6794f261d4813
+Size (peewee-3.9.4.tar.gz) = 2274670 bytes
 SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc



Home | Main Index | Thread Index | Old Index