Mon Nov 23 21:15:32 2015 UTC ()
Update databases/py-peewee to 2.7.3.

2.7.3
Small release which includes some changes to the BM25 sorting
algorithm and the addition of a JSONField for use with the new
JSON1 extension.

2.7.2
Small release with bugfixes to the setup script.

I've also cleaned up some missing APIs in the FTS5Model to
support more flexible use of either FTSModel or FTS5Model.

2.7.1
Small release which includes fixes to the setup script.
Particularly, if you did not have Cython installed, the
installation would completely fail. This was fixed.

2.7.0
New APIs, features, and performance improvements.

Notable changes and new features
- PasswordField that uses the bcrypt module.
- Added new Model Meta.only_save_dirty flag to, by default,
  only save fields that have been modified.
- Added support for upsert() on MySQL (in addition to SQLite).
- Implemented SQLite ranking functions (rank and bm25) in Cython,
  and changed both the Cython and Python APIs to accept weight
  values for every column in the search index. This more closely
  aligns with the APIs provided by FTS5. In fact, made the APIs
  for FTS4 and FTS5 result ranking compatible.
- Major changes to the :ref:sqlite_ext module. Function callbacks
  implemented in Python were implemented in Cython (e.g. date
  manipulation and regex processing) and will be used if Cython
  is available when Peewee is installed.
- Support for the experimental new FTS5 SQLite search extension.
- Added :py:class:SearchField for use with the SQLite FTS
  extensions.
- Added :py:class:RowIDField for working with the special rowid
  column in SQLite.
- Added a model class validation hook to allow model subclasses
  to perform any validation after class construction. This is
  currently used to ensure that FTS5Model subclasses do not
  violate any rules required by the FTS5 virtual table.

Bugs fixed
- #751, fixed some very broken behavior in the MySQL migrator
  code. Added more tests.
- #718, added a RetryOperationalError mixin that will try
  automatically reconnecting after a failed query. There was
  a bug in the previous error handler implementation that
  made this impossible, which is also fixed.


(fhajny)
diff -r1.8 -r1.9 pkgsrc/databases/py-peewee/Makefile
diff -r1.8 -r1.9 pkgsrc/databases/py-peewee/distinfo
diff -r1.7 -r1.8 pkgsrc/databases/py-peewee/PLIST

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

--- pkgsrc/databases/py-peewee/Makefile 2015/10/12 10:00:57 1.8
+++ pkgsrc/databases/py-peewee/Makefile 2015/11/23 21:15:32 1.9
@@ -1,26 +1,28 @@ @@ -1,26 +1,28 @@
1# $NetBSD: Makefile,v 1.8 2015/10/12 10:00:57 fhajny Exp $ 1# $NetBSD: Makefile,v 1.9 2015/11/23 21:15:32 fhajny Exp $
2 2
3DISTNAME= peewee-2.6.4 3DISTNAME= peewee-2.7.3
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= databases 5CATEGORIES= databases
6MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/}
7 7
8MAINTAINER= filip@joyent.com 8MAINTAINER= filip@joyent.com
9HOMEPAGE= http://www.peewee-orm.com/ 9HOMEPAGE= http://www.peewee-orm.com/
10COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite 10COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite
11LICENSE= mit 11LICENSE= mit
12 12
13GITHUB_PROJECT= peewee 13GITHUB_PROJECT= peewee
14 14
15USE_LANGUAGES= c 15USE_LANGUAGES= c
16USE_TOOLS+= bash 16USE_TOOLS+= bash
17 17
18MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} 18MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
19 19
20REPLACE_BASH+= playhouse/berkeley_build.sh 20REPLACE_BASH+= playhouse/berkeley_build.sh
21REPLACE_PYTHON+= pwiz.py 21REPLACE_PYTHON+= pwiz.py
22 22
 23PYDISTUTILSPKG= yes
 24
23.include "../../devel/py-cython/buildlink3.mk" 25.include "../../devel/py-cython/buildlink3.mk"
24.include "../../lang/python/application.mk" 26.include "../../lang/python/application.mk"
25.include "../../lang/python/egg.mk" 27.include "../../lang/python/extension.mk"
26.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/databases/py-peewee/distinfo 2015/11/03 01:56:27 1.8
+++ pkgsrc/databases/py-peewee/distinfo 2015/11/23 21:15:32 1.9
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.8 2015/11/03 01:56:27 agc Exp $ 1$NetBSD: distinfo,v 1.9 2015/11/23 21:15:32 fhajny Exp $
2 2
3SHA1 (peewee-2.6.4.tar.gz) = 3b1510e571093b32244ccc8886847b4be8b1d5ce 3SHA1 (peewee-2.7.3.tar.gz) = 3489db4978fb930f0c74a20319b72ef4e4f44c85
4RMD160 (peewee-2.6.4.tar.gz) = 547465959845932751e57ead8faddc5a186d87e6 4RMD160 (peewee-2.7.3.tar.gz) = 06a407f943c88e348d646ef1c72746c38d6b0e0d
5SHA512 (peewee-2.6.4.tar.gz) = e2eb0daea1ad7bc05a44cf73d8c4ac7c3cbe489fd59c2ed5a83136cc7969ee0139bb377c9b3177a5ec4f7a7be2b263d940de602ac1c20013835a8acc71baeba3 5SHA512 (peewee-2.7.3.tar.gz) = 491f6ac6322893e61ea8d230999a6597e1bbba84e10d3ba376089a57cdc98ad4c9f6bf5eb50823c8721fff0bb789d8ba8a668002fe3475cd345ea5d07ab39716
6Size (peewee-2.6.4.tar.gz) = 579379 bytes 6Size (peewee-2.7.3.tar.gz) = 606213 bytes

cvs diff -r1.7 -r1.8 pkgsrc/databases/py-peewee/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/py-peewee/PLIST 2015/10/08 12:59:13 1.7
+++ pkgsrc/databases/py-peewee/PLIST 2015/11/23 21:15:32 1.8
@@ -1,25 +1,22 @@ @@ -1,25 +1,22 @@
1@comment $NetBSD: PLIST,v 1.7 2015/10/08 12:59:13 fhajny Exp $ 1@comment $NetBSD: PLIST,v 1.8 2015/11/23 21:15:32 fhajny Exp $
2bin/pwiz.py 2bin/pwiz.py
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 
7${PYSITELIB}/peewee.py 3${PYSITELIB}/peewee.py
8${PYSITELIB}/peewee.pyc 4${PYSITELIB}/peewee.pyc
9${PYSITELIB}/peewee.pyo 5${PYSITELIB}/peewee.pyo
10${PYSITELIB}/playhouse/__init__.py 6${PYSITELIB}/playhouse/__init__.py
11${PYSITELIB}/playhouse/__init__.pyc 7${PYSITELIB}/playhouse/__init__.pyc
12${PYSITELIB}/playhouse/__init__.pyo 8${PYSITELIB}/playhouse/__init__.pyo
 9${PYSITELIB}/playhouse/_speedups.so
13${PYSITELIB}/playhouse/apsw_ext.py 10${PYSITELIB}/playhouse/apsw_ext.py
14${PYSITELIB}/playhouse/apsw_ext.pyc 11${PYSITELIB}/playhouse/apsw_ext.pyc
15${PYSITELIB}/playhouse/apsw_ext.pyo 12${PYSITELIB}/playhouse/apsw_ext.pyo
16${PYSITELIB}/playhouse/berkeleydb.py 13${PYSITELIB}/playhouse/berkeleydb.py
17${PYSITELIB}/playhouse/berkeleydb.pyc 14${PYSITELIB}/playhouse/berkeleydb.pyc
18${PYSITELIB}/playhouse/berkeleydb.pyo 15${PYSITELIB}/playhouse/berkeleydb.pyo
19${PYSITELIB}/playhouse/csv_loader.py 16${PYSITELIB}/playhouse/csv_loader.py
20${PYSITELIB}/playhouse/csv_loader.pyc 17${PYSITELIB}/playhouse/csv_loader.pyc
21${PYSITELIB}/playhouse/csv_loader.pyo 18${PYSITELIB}/playhouse/csv_loader.pyo
22${PYSITELIB}/playhouse/csv_utils.py 19${PYSITELIB}/playhouse/csv_utils.py
23${PYSITELIB}/playhouse/csv_utils.pyc 20${PYSITELIB}/playhouse/csv_utils.pyc
24${PYSITELIB}/playhouse/csv_utils.pyo 21${PYSITELIB}/playhouse/csv_utils.pyo
25${PYSITELIB}/playhouse/dataset.py 22${PYSITELIB}/playhouse/dataset.py
@@ -60,26 +57,25 @@ ${PYSITELIB}/playhouse/proxy.pyc @@ -60,26 +57,25 @@ ${PYSITELIB}/playhouse/proxy.pyc
60${PYSITELIB}/playhouse/proxy.pyo 57${PYSITELIB}/playhouse/proxy.pyo
61${PYSITELIB}/playhouse/read_slave.py 58${PYSITELIB}/playhouse/read_slave.py
62${PYSITELIB}/playhouse/read_slave.pyc 59${PYSITELIB}/playhouse/read_slave.pyc
63${PYSITELIB}/playhouse/read_slave.pyo 60${PYSITELIB}/playhouse/read_slave.pyo
64${PYSITELIB}/playhouse/reflection.py 61${PYSITELIB}/playhouse/reflection.py
65${PYSITELIB}/playhouse/reflection.pyc 62${PYSITELIB}/playhouse/reflection.pyc
66${PYSITELIB}/playhouse/reflection.pyo 63${PYSITELIB}/playhouse/reflection.pyo
67${PYSITELIB}/playhouse/shortcuts.py 64${PYSITELIB}/playhouse/shortcuts.py
68${PYSITELIB}/playhouse/shortcuts.pyc 65${PYSITELIB}/playhouse/shortcuts.pyc
69${PYSITELIB}/playhouse/shortcuts.pyo 66${PYSITELIB}/playhouse/shortcuts.pyo
70${PYSITELIB}/playhouse/signals.py 67${PYSITELIB}/playhouse/signals.py
71${PYSITELIB}/playhouse/signals.pyc 68${PYSITELIB}/playhouse/signals.pyc
72${PYSITELIB}/playhouse/signals.pyo 69${PYSITELIB}/playhouse/signals.pyo
73${PYSITELIB}/playhouse/speedups.so 
74${PYSITELIB}/playhouse/sqlcipher_ext.py 70${PYSITELIB}/playhouse/sqlcipher_ext.py
75${PYSITELIB}/playhouse/sqlcipher_ext.pyc 71${PYSITELIB}/playhouse/sqlcipher_ext.pyc
76${PYSITELIB}/playhouse/sqlcipher_ext.pyo 72${PYSITELIB}/playhouse/sqlcipher_ext.pyo
77${PYSITELIB}/playhouse/sqlite_ext.py 73${PYSITELIB}/playhouse/sqlite_ext.py
78${PYSITELIB}/playhouse/sqlite_ext.pyc 74${PYSITELIB}/playhouse/sqlite_ext.pyc
79${PYSITELIB}/playhouse/sqlite_ext.pyo 75${PYSITELIB}/playhouse/sqlite_ext.pyo
80${PYSITELIB}/playhouse/test_utils.py 76${PYSITELIB}/playhouse/test_utils.py
81${PYSITELIB}/playhouse/test_utils.pyc 77${PYSITELIB}/playhouse/test_utils.pyc
82${PYSITELIB}/playhouse/test_utils.pyo 78${PYSITELIB}/playhouse/test_utils.pyo
83${PYSITELIB}/pwiz.py 79${PYSITELIB}/pwiz.py
84${PYSITELIB}/pwiz.pyc 80${PYSITELIB}/pwiz.pyc
85${PYSITELIB}/pwiz.pyo 81${PYSITELIB}/pwiz.pyo