pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-peewee Update py-peewee to 2.4.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/685fb25d182f
branches:  trunk
changeset: 643199:685fb25d182f
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Dec 12 11:42:25 2014 +0000

description:
Update py-peewee to 2.4.4.

2.4.4
=====
* Backwards-incompatible changes
  - The argument signature for the SqliteExtDatabase.aggregate() decorator
    changed so that the aggregate name is the first parameter, and
    the number of parameters is the second parameter. If no values are
    specified, peewee will choose the name of the class and an un-specified
    number of arguments (-1).
  - The logic for saving a model with a composite key changed slightly.
    Previously, if a model had a composite primary key and you called save(),
    only the dirty fields would be saved.
* Bugs fixed
  - #462
  - #465, add hook for disabling backref validation.
  - #466, fix case-sensitive table names with migration module.
  - #469, save only dirty fields.
* New features
  - Lots of enhancements and cleanup to the playhouse.apsw_ext module.
  - The playhouse.reflection module now supports introspecting indexes.
  - Added a model option for disabling backref validation.
  - Added support for the SQLite closure table extension.
  - Added support for virtual fields, which act on dynamically-created
    virtual table fields.
  - Added a new example: a virtual table implementation that exposes Redis
    as a relational database table.
  - Added a module playhouse.sqlite_aggregates that contains a handful of
    aggregates you may find useful when developing with SQLite.
  - Small documentation updates here and there.

2.4.3
=====
* Bugs fixed
  - #466, table names are case sensitive in the SQLite migrations module.
  - #465, added option to disable backref validation.
  - #462, use the schema name consistently with postgres reflection.
* New features
  - New model Meta option to disable backref validation. See
    validate_backrefs.
  - Added documentation on ordering by calculated values.
  - Added basic PyPy compatibility.
  - Added logic to close cursors after they have been exhausted.
  - Structured and consolidated database metadata introspection, including
    improvements for introspecting indexes.
  - Added support to prefetch for traversing up the query tree.
  - Added introspection option to skip invalid models while introspecting.
  - Added option to limit the tables introspected.
  - Added closed connection detection to the MySQL connection pool.
  - Enhancements to passing options to creating virtual tables with SQLite.
  - Added factory method for generating Closure tables for use with the
    transitive_closure SQLite extension.
  - Added support for loading SQLite extensions.
  - Numerous test-suite enhancements and new test-cases.

2.4.2
=====
* Bugs fixed
  - #449, typo in the db_url extension, thanks to @malea for the fix.
  - #457 and #458, fixed documentation deficiences.
* New features
  - Added support for importing data when using the DataSet extension.
  - Added an encrypted diary app to the examples.
  - Better index reconstruction when altering columns on SQLite databases
    with the migrate module.
  - Support for multi-column primary keys in the reflection module.
  - Close cursors more aggressively when executing SELECT queries.

diffstat:

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

diffs (44 lines):

diff -r d4359505494b -r 685fb25d182f databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Fri Dec 12 11:35:21 2014 +0000
+++ b/databases/py-peewee/Makefile      Fri Dec 12 11:42:25 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2014/10/29 13:13:38 fhajny Exp $
+# $NetBSD: Makefile,v 1.3 2014/12/12 11:42:25 fhajny Exp $
 
-DISTNAME=      peewee-2.4.1
+DISTNAME=      peewee-2.4.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases
 MASTER_SITES=  -https://github.com/coleifer/peewee/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
diff -r d4359505494b -r 685fb25d182f databases/py-peewee/PLIST
--- a/databases/py-peewee/PLIST Fri Dec 12 11:35:21 2014 +0000
+++ b/databases/py-peewee/PLIST Fri Dec 12 11:42:25 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2014/10/29 13:13:38 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/12/12 11:42:25 fhajny Exp $
 bin/pwiz.py
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -65,6 +65,9 @@
 ${PYSITELIB}/playhouse/sqlcipher_ext.py
 ${PYSITELIB}/playhouse/sqlcipher_ext.pyc
 ${PYSITELIB}/playhouse/sqlcipher_ext.pyo
+${PYSITELIB}/playhouse/sqlite_aggregates.py
+${PYSITELIB}/playhouse/sqlite_aggregates.pyc
+${PYSITELIB}/playhouse/sqlite_aggregates.pyo
 ${PYSITELIB}/playhouse/sqlite_ext.py
 ${PYSITELIB}/playhouse/sqlite_ext.pyc
 ${PYSITELIB}/playhouse/sqlite_ext.pyo
diff -r d4359505494b -r 685fb25d182f databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Fri Dec 12 11:35:21 2014 +0000
+++ b/databases/py-peewee/distinfo      Fri Dec 12 11:42:25 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2014/10/29 13:13:38 fhajny Exp $
+$NetBSD: distinfo,v 1.3 2014/12/12 11:42:25 fhajny Exp $
 
-SHA1 (peewee-2.4.1.tar.gz) = e76f509f375841c4a4be31cde99379ac23faaf23
-RMD160 (peewee-2.4.1.tar.gz) = 5882aaa1165bfc9dc71fe231fc32a8d9cf2ccac8
-Size (peewee-2.4.1.tar.gz) = 318713 bytes
+SHA1 (peewee-2.4.4.tar.gz) = 64917c4c9df0991dcca88a40910a2617666415fc
+RMD160 (peewee-2.4.4.tar.gz) = f7851247837a48187987cd88b1f993d046ee3766
+Size (peewee-2.4.4.tar.gz) = 334563 bytes



Home | Main Index | Thread Index | Old Index