diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-01-18 15:53:14 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-01-18 15:53:14 +0000 |
commit | e6a91987a3b734a7942b106ce4deb3ca9daa3327 (patch) | |
tree | a1a5afba5b73f49001304dfcb472e749be09d70e /databases | |
parent | 58d46ac76f2b91e636a85779dabac77ec30ddbe0 (diff) | |
download | pkgsrc-e6a91987a3b734a7942b106ce4deb3ca9daa3327.tar.gz |
Update databases/py-peewee to 2.8.0.
This release includes a couple new field types and greatly improved
C extension support for both speedups and SQLite enhancements. Also
includes some work, suggested by @foxx, to remove some places where
Proxy was used in favor of more obvious APIs.
New features
- C extension speedups now enabled by default, includes faster
implementations for dict and tuple QueryResultWrapper classes,
faster date formatting, and a faster field and model sorting.
- C implementations of SQLite functions is now enabled by default.
SQLite extension is now compatible with APSW and can be used in
standalone form directly from Python.
- SQLite C extension now supports murmurhash2.
- UUIDField is now supported for SQLite and MySQL, using text and
varchar respectively, thanks @foxx!
- Added BinaryField, thanks again, @foxx!
- Added PickledField to playhouse.fields.
- ManyToManyField now accepts a list of primary keys when adding or
removing values from the through relationship.
- Added support for SQLite table-valued functions using the
sqlite-vtfunc library.
- Significantly simplified the build process for compiling the
C extensions.
Backwards-incompatible changes
- Instead of using a Proxy for defining circular foreign key
relationships, you now need to use DeferredRelation.
- Instead of using a Proxy for defining many-to-many through tables,
you now need to use DeferredThroughModel.
- SQLite Virtual Models must now use Meta.extension_module and
Meta.extension_options to declare extension and any options.
- MySQL database will now issue COMMIT statements for SELECT queries.
Bugs fixed
- #766, fixed bug with PasswordField and Python3. Fuck Python 3.
- #768, fixed SortedFieldList and remove_field(). Thanks @klen!
- #771, clarified docs for APSW.
- #773, added docs for request hooks in Pyramid
- #774, prefetch() only loads first ForeignKeyField
for a given relation.
- #782, fixed typo in docs.
- #791, foreign keys were not correctly handling coercing to
the appropriate python value.
- #792, cleaned up some CSV utils code.
- #798, cleaned up iteration protocol in QueryResultWrappers.
- #806, not really a bug, but MySQL users were clowning around
and needed help.
2.7.4
This is another small release which adds code to automatically build
the SQLite C extension if libsqlite is available. The release also
includes:
- Support for UUIDField with SQLite.
- Support for registering additional database classes with the db_url
module via register_database.
- prefetch() supports fetching multiple foreign-keys to the same model
class.
- Added method to validate FTS5 search queries.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-peewee/Makefile | 4 | ||||
-rw-r--r-- | databases/py-peewee/PLIST | 6 | ||||
-rw-r--r-- | databases/py-peewee/distinfo | 10 |
3 files changed, 9 insertions, 11 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile index e9942c0dcf2..d13884a6143 100644 --- a/databases/py-peewee/Makefile +++ b/databases/py-peewee/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2015/11/23 21:15:32 fhajny Exp $ +# $NetBSD: Makefile,v 1.10 2016/01/18 15:53:14 fhajny Exp $ -DISTNAME= peewee-2.7.3 +DISTNAME= peewee-2.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/} diff --git a/databases/py-peewee/PLIST b/databases/py-peewee/PLIST index 897a4972d56..927c6617d91 100644 --- a/databases/py-peewee/PLIST +++ b/databases/py-peewee/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2015/11/23 21:15:32 fhajny Exp $ +@comment $NetBSD: PLIST,v 1.9 2016/01/18 15:53:14 fhajny Exp $ bin/pwiz.py ${PYSITELIB}/peewee.py ${PYSITELIB}/peewee.pyc @@ -7,6 +7,7 @@ ${PYSITELIB}/playhouse/__init__.py ${PYSITELIB}/playhouse/__init__.pyc ${PYSITELIB}/playhouse/__init__.pyo ${PYSITELIB}/playhouse/_speedups.so +${PYSITELIB}/playhouse/_sqlite_ext.so ${PYSITELIB}/playhouse/apsw_ext.py ${PYSITELIB}/playhouse/apsw_ext.pyc ${PYSITELIB}/playhouse/apsw_ext.pyo @@ -52,9 +53,6 @@ ${PYSITELIB}/playhouse/pool.pyo ${PYSITELIB}/playhouse/postgres_ext.py ${PYSITELIB}/playhouse/postgres_ext.pyc ${PYSITELIB}/playhouse/postgres_ext.pyo -${PYSITELIB}/playhouse/proxy.py -${PYSITELIB}/playhouse/proxy.pyc -${PYSITELIB}/playhouse/proxy.pyo ${PYSITELIB}/playhouse/read_slave.py ${PYSITELIB}/playhouse/read_slave.pyc ${PYSITELIB}/playhouse/read_slave.pyo diff --git a/databases/py-peewee/distinfo b/databases/py-peewee/distinfo index 5da5c302036..f97a7aad794 100644 --- a/databases/py-peewee/distinfo +++ b/databases/py-peewee/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2015/11/23 21:15:32 fhajny Exp $ +$NetBSD: distinfo,v 1.10 2016/01/18 15:53:14 fhajny Exp $ -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 +SHA1 (peewee-2.8.0.tar.gz) = ed4477aad9fe1bec628387319af36ef32ea8d289 +RMD160 (peewee-2.8.0.tar.gz) = c8e69948394302501cfb67a96f00add320447dad +SHA512 (peewee-2.8.0.tar.gz) = 12a225dc6d40838d223a7396ed138d1a82393f79b0b666f019e0c6f07c58c99e0a50ecf1ad61c10176a3f184f00fcde0a753f7ea49aa5a8e2a0e69832b654622 +Size (peewee-2.8.0.tar.gz) = 615679 bytes |