summaryrefslogtreecommitdiff
path: root/databases/py-peewee
diff options
context:
space:
mode:
authorfhajny <fhajny>2015-11-23 21:15:32 +0000
committerfhajny <fhajny>2015-11-23 21:15:32 +0000
commit2e77c5fdffc129789012530a795e21dcee2cb9aa (patch)
tree8cd9e8f318b3a2d3310c0a5eae436ccc49418ebf /databases/py-peewee
parent4b7991fa4b906ee3ed7cf99ae728a94e6685e515 (diff)
downloadpkgsrc-2e77c5fdffc129789012530a795e21dcee2cb9aa.tar.gz
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.
Diffstat (limited to 'databases/py-peewee')
-rw-r--r--databases/py-peewee/Makefile8
-rw-r--r--databases/py-peewee/PLIST8
-rw-r--r--databases/py-peewee/distinfo10
3 files changed, 12 insertions, 14 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile
index cac3f23f0be..e9942c0dcf2 100644
--- a/databases/py-peewee/Makefile
+++ b/databases/py-peewee/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2015/10/12 10:00:57 fhajny Exp $
+# $NetBSD: Makefile,v 1.9 2015/11/23 21:15:32 fhajny Exp $
-DISTNAME= peewee-2.6.4
+DISTNAME= peewee-2.7.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/}
@@ -20,7 +20,9 @@ MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
REPLACE_BASH+= playhouse/berkeley_build.sh
REPLACE_PYTHON+= pwiz.py
+PYDISTUTILSPKG= yes
+
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-peewee/PLIST b/databases/py-peewee/PLIST
index 7e829efe851..897a4972d56 100644
--- a/databases/py-peewee/PLIST
+++ b/databases/py-peewee/PLIST
@@ -1,15 +1,12 @@
-@comment $NetBSD: PLIST,v 1.7 2015/10/08 12:59:13 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.8 2015/11/23 21:15:32 fhajny Exp $
bin/pwiz.py
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/peewee.py
${PYSITELIB}/peewee.pyc
${PYSITELIB}/peewee.pyo
${PYSITELIB}/playhouse/__init__.py
${PYSITELIB}/playhouse/__init__.pyc
${PYSITELIB}/playhouse/__init__.pyo
+${PYSITELIB}/playhouse/_speedups.so
${PYSITELIB}/playhouse/apsw_ext.py
${PYSITELIB}/playhouse/apsw_ext.pyc
${PYSITELIB}/playhouse/apsw_ext.pyo
@@ -70,7 +67,6 @@ ${PYSITELIB}/playhouse/shortcuts.pyo
${PYSITELIB}/playhouse/signals.py
${PYSITELIB}/playhouse/signals.pyc
${PYSITELIB}/playhouse/signals.pyo
-${PYSITELIB}/playhouse/speedups.so
${PYSITELIB}/playhouse/sqlcipher_ext.py
${PYSITELIB}/playhouse/sqlcipher_ext.pyc
${PYSITELIB}/playhouse/sqlcipher_ext.pyo
diff --git a/databases/py-peewee/distinfo b/databases/py-peewee/distinfo
index 39be001ed1c..5da5c302036 100644
--- a/databases/py-peewee/distinfo
+++ b/databases/py-peewee/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 01:56:27 agc Exp $
+$NetBSD: distinfo,v 1.9 2015/11/23 21:15:32 fhajny Exp $
-SHA1 (peewee-2.6.4.tar.gz) = 3b1510e571093b32244ccc8886847b4be8b1d5ce
-RMD160 (peewee-2.6.4.tar.gz) = 547465959845932751e57ead8faddc5a186d87e6
-SHA512 (peewee-2.6.4.tar.gz) = e2eb0daea1ad7bc05a44cf73d8c4ac7c3cbe489fd59c2ed5a83136cc7969ee0139bb377c9b3177a5ec4f7a7be2b263d940de602ac1c20013835a8acc71baeba3
-Size (peewee-2.6.4.tar.gz) = 579379 bytes
+SHA1 (peewee-2.7.3.tar.gz) = 3489db4978fb930f0c74a20319b72ef4e4f44c85
+RMD160 (peewee-2.7.3.tar.gz) = 06a407f943c88e348d646ef1c72746c38d6b0e0d
+SHA512 (peewee-2.7.3.tar.gz) = 491f6ac6322893e61ea8d230999a6597e1bbba84e10d3ba376089a57cdc98ad4c9f6bf5eb50823c8721fff0bb789d8ba8a668002fe3475cd345ea5d07ab39716
+Size (peewee-2.7.3.tar.gz) = 606213 bytes