Mon Apr 15 07:03:50 2019 UTC ()
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.


(adam)
diff -r1.55 -r1.56 pkgsrc/databases/py-peewee/Makefile
diff -r1.48 -r1.49 pkgsrc/databases/py-peewee/distinfo

cvs diff -r1.55 -r1.56 pkgsrc/databases/py-peewee/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/py-peewee/Makefile 2019/04/03 00:32:31 1.55
+++ pkgsrc/databases/py-peewee/Makefile 2019/04/15 07:03:50 1.56
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.55 2019/04/03 00:32:31 ryoon Exp $ 1# $NetBSD: Makefile,v 1.56 2019/04/15 07:03:50 adam Exp $
2 2
3DISTNAME= peewee-3.9.3 3DISTNAME= peewee-3.9.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= databases python 5CATEGORIES= databases python
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/}
8 7
9MAINTAINER= fhajny@NetBSD.org 8MAINTAINER= fhajny@NetBSD.org
10HOMEPAGE= http://www.peewee-orm.com/ 9HOMEPAGE= http://www.peewee-orm.com/
11COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite 10COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite
12LICENSE= mit 11LICENSE= mit
13 12
14BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx 13BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
15DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
16#DEPENDS+= sqlite3-[0-9]* 15#DEPENDS+= sqlite3-[0-9]*
17 16
18MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX} 17MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX}

cvs diff -r1.48 -r1.49 pkgsrc/databases/py-peewee/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/py-peewee/distinfo 2019/03/24 10:39:47 1.48
+++ pkgsrc/databases/py-peewee/distinfo 2019/04/15 07:03:50 1.49
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.48 2019/03/24 10:39:47 adam Exp $ 1$NetBSD: distinfo,v 1.49 2019/04/15 07:03:50 adam Exp $
2 2
3SHA1 (peewee-3.9.3.tar.gz) = 26b88f4b8566a38ee0267b47636fc2f843933ccc 3SHA1 (peewee-3.9.4.tar.gz) = ef1bedddd4085e21995a76bb5505fbaf376f88e5
4RMD160 (peewee-3.9.3.tar.gz) = 617505562a0a7ce4662a926dda3d89eb40ba3bce 4RMD160 (peewee-3.9.4.tar.gz) = 390029d234961aa8a1705d51fc667ea251f2508d
5SHA512 (peewee-3.9.3.tar.gz) = f190fa45541d7f0e4c133693f2b6b709bdfe62c1806aa0dcaf874a708e100c7cb8302f94c637437008353204726921973b9f39f6ab716666853d20eaf808ffc3 5SHA512 (peewee-3.9.4.tar.gz) = d31f4a7dcfcde8f038e67e942683430a4073560cdf3a28af53d27274ba418fae2d0ff78a30baea0f40fc4c027d0332eab3d6f1950ff927374be6794f261d4813
6Size (peewee-3.9.3.tar.gz) = 2232112 bytes 6Size (peewee-3.9.4.tar.gz) = 2274670 bytes
7SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc 7SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc