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 databases/py-peewee to 2.6.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1596a5fe2eff
branches:  trunk
changeset: 652961:1596a5fe2eff
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Jun 10 17:34:25 2015 +0000

description:
Update databases/py-peewee to 2.6.1.

2.6.1
- #606, support self-referential joins with prefetch and aggregate_rows()
  methods.
- #588, accomodate changes in SQLite's PRAGMA index_list() return value.
- #607, fixed bug where pwiz was not passing table names to introspector.
- #591, fixed bug with handling of named cursors in older psycopg2 version.
- Removed some cruft from the APSWDatabase implementation.
- Added CompressedField and AESEncryptedField
- #609, #610, added Django-style foreign key ID lookup.
- Added support for Hybrid Attributes (cool idea courtesy of SQLAlchemy).
- Added upsert keyword argument to the Model.save() function (SQLite only).
- #587, added support for ON CONFLICT SQLite clause for INSERT and UPDATE
  queries.
- #601, added hook for programmatically defining table names.
- #581, #611, support connection pools with playhouse.db_url.connect().
- Added Contributing section section to docs.

2.6.0
- get_or_create() now returns a 2-tuple consisting of the model instance
  and a boolean indicating whether the instance was created. The function
  now behaves just like the Django equivalent.
- #574, better support for setting the character encoding on Postgresql
  database connections. Thanks @klen!
- Improved implementation of get_or_create().

diffstat:

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

diffs (56 lines):

diff -r ec42ce5ea20b -r 1596a5fe2eff databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Wed Jun 10 17:25:18 2015 +0000
+++ b/databases/py-peewee/Makefile      Wed Jun 10 17:34:25 2015 +0000
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.4 2015/04/07 09:51:44 fhajny Exp $
+# $NetBSD: Makefile,v 1.5 2015/06/10 17:34:25 fhajny Exp $
 
-DISTNAME=      peewee-2.5.1
+DISTNAME=      peewee-2.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases
-MASTER_SITES=  -https://github.com/coleifer/peewee/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=coleifer/}
 
 MAINTAINER=    filip%joyent.com@localhost
 HOMEPAGE=      http://www.peewee-orm.com/
 COMMENT=       Small, expressive ORM for PostgreSQL, MySQL and SQLite
 LICENSE=       mit
 
+GITHUB_PROJECT=        peewee
+
 USE_LANGUAGES= # none
 USE_TOOLS+=    bash
 
diff -r ec42ce5ea20b -r 1596a5fe2eff databases/py-peewee/PLIST
--- a/databases/py-peewee/PLIST Wed Jun 10 17:25:18 2015 +0000
+++ b/databases/py-peewee/PLIST Wed Jun 10 17:34:25 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/04/07 09:51:44 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.5 2015/06/10 17:34:25 fhajny Exp $
 bin/pwiz.py
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -38,6 +38,9 @@
 ${PYSITELIB}/playhouse/gfk.py
 ${PYSITELIB}/playhouse/gfk.pyc
 ${PYSITELIB}/playhouse/gfk.pyo
+${PYSITELIB}/playhouse/hybrid.py
+${PYSITELIB}/playhouse/hybrid.pyc
+${PYSITELIB}/playhouse/hybrid.pyo
 ${PYSITELIB}/playhouse/kv.py
 ${PYSITELIB}/playhouse/kv.pyc
 ${PYSITELIB}/playhouse/kv.pyo
diff -r ec42ce5ea20b -r 1596a5fe2eff databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Wed Jun 10 17:25:18 2015 +0000
+++ b/databases/py-peewee/distinfo      Wed Jun 10 17:34:25 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2015/04/07 09:51:44 fhajny Exp $
+$NetBSD: distinfo,v 1.5 2015/06/10 17:34:25 fhajny Exp $
 
-SHA1 (peewee-2.5.1.tar.gz) = 63dab9e93b6a9b7f93764a8ac09f3296be7eee31
-RMD160 (peewee-2.5.1.tar.gz) = b9d2faad18dbe903feed0bb3f8783051bd15ad29
-Size (peewee-2.5.1.tar.gz) = 556698 bytes
+SHA1 (peewee-2.6.1.tar.gz) = 9454702c996ad79f8d20e72a4acc57ff576ab009
+RMD160 (peewee-2.6.1.tar.gz) = 8a270194f38a406e3677d8d3b5d4517af802960d
+Size (peewee-2.6.1.tar.gz) = 567141 bytes



Home | Main Index | Thread Index | Old Index