pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4de90ac76a0
branches:  trunk
changeset: 378252:c4de90ac76a0
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Apr 04 12:31:19 2018 +0000

description:
databases/py-peewee: Update to 3.2.2.

3.2.2
- Added support for passing Model classes to the returning() method
  when you intend to return all columns for the given model.
- Fixed a bug when using user-defined sequences, and the underlying
  sequence already exists.
- Added drop_sequences parameter to drop_table() method which allows
  you to conditionally drop any user-defined sequences when dropping
  the table.

3.2.1
- If both mysql-python and pymysql libraries are installed, Peewee
  will use pymysql by default.
- Added new module playhouse.mysql_ext which includes
  MySQLConnectorDatabase, a database implementation that works with
  the mysql-connector driver.
- Added new field to ColumnMetadata class which captures a database
  column's default value. ColumnMetadata is returned by
  Database.get_columns().
- Added documentation on making Peewee async.

3.2.0
- Potentially backwards-incompatible change: Field.coerce renamed to
  Field.adapt.

3.1.6
- Added rekey() method to SqlCipher database for changing encryption
  key and documentation for set_passphrase() method.
- Added convert_values parameter to ArrayField constructor, which will
  cause the array values to be processed using the underlying
  data-type's conversion logic.
- Fixed unreported bug using TimestampField with sub-second
  resolutions.
- Fixed bug where options were not being processed when calling
  drop_table().
- Some fixes and improvements to signals extension.

diffstat:

 databases/py-peewee/MESSAGE  |  18 +++++++++++++-----
 databases/py-peewee/Makefile |   5 +++--
 databases/py-peewee/PLIST    |   5 ++++-
 databases/py-peewee/distinfo |  10 +++++-----
 4 files changed, 25 insertions(+), 13 deletions(-)

diffs (82 lines):

diff -r c149b7a5d32e -r c4de90ac76a0 databases/py-peewee/MESSAGE
--- a/databases/py-peewee/MESSAGE       Wed Apr 04 12:26:24 2018 +0000
+++ b/databases/py-peewee/MESSAGE       Wed Apr 04 12:31:19 2018 +0000
@@ -1,11 +1,19 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2014/10/17 10:24:04 fhajny Exp $
+$NetBSD: MESSAGE,v 1.2 2018/04/04 12:31:19 fhajny Exp $
 
 The ${PKGNAME} package doesn't have any fixed dependencies. In order to use
-it, install either of the relevant backend packages as needed:
+it, install a supported backend package as needed.
+
+  MySQL
+    - ${PYPKGPREFIX}-pymysql (databases/py-pymysql)
+    - ${PYPKGPREFIX}-mysqldb (databases/py-mysqldb)
 
-  - ${PYPKGPREFIX}-mysqldb for MySQL support (databases/py-mysqldb)
-  - ${PYPKGPREFIX}-psycopg2 for PostgreSQL support (databases/py-psycopg2)
-  - ${PYPKGPREFIX}-sqlite3 for SQLite3 support (databases/py-sqlite3)
+  PostgreSQL:
+    - ${PYPKGPREFIX}-psycopg2 (databases/py-psycopg2)
+
+  SQLite:
+    - ${PYPKGPREFIX}-sqlite3 (databases/py-sqlite3)
+    - ${PYPKGPREFIX}-apsw (databases/py-apsw)
+    - ${PYPKGPREFIX}-sqlite2 (databases/py-sqlite2)
 
 ===========================================================================
diff -r c149b7a5d32e -r c4de90ac76a0 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Wed Apr 04 12:26:24 2018 +0000
+++ b/databases/py-peewee/Makefile      Wed Apr 04 12:31:19 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2018/03/16 12:06:03 fhajny Exp $
+# $NetBSD: Makefile,v 1.30 2018/04/04 12:31:19 fhajny Exp $
 
-DISTNAME=      peewee-3.1.5
+DISTNAME=      peewee-3.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=coleifer/}
@@ -16,6 +16,7 @@
 USE_TOOLS+=    bash
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 
 MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
 
diff -r c149b7a5d32e -r c4de90ac76a0 databases/py-peewee/PLIST
--- a/databases/py-peewee/PLIST Wed Apr 04 12:26:24 2018 +0000
+++ b/databases/py-peewee/PLIST Wed Apr 04 12:31:19 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2018/03/01 11:52:59 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.15 2018/04/04 12:31:19 fhajny Exp $
 bin/pwiz${PYVERSSUFFIX}
 ${PYSITELIB}/peewee.py
 ${PYSITELIB}/peewee.pyc
@@ -33,6 +33,9 @@
 ${PYSITELIB}/playhouse/migrate.py
 ${PYSITELIB}/playhouse/migrate.pyc
 ${PYSITELIB}/playhouse/migrate.pyo
+${PYSITELIB}/playhouse/mysql_ext.py
+${PYSITELIB}/playhouse/mysql_ext.pyc
+${PYSITELIB}/playhouse/mysql_ext.pyo
 ${PYSITELIB}/playhouse/pool.py
 ${PYSITELIB}/playhouse/pool.pyc
 ${PYSITELIB}/playhouse/pool.pyo
diff -r c149b7a5d32e -r c4de90ac76a0 databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Wed Apr 04 12:26:24 2018 +0000
+++ b/databases/py-peewee/distinfo      Wed Apr 04 12:31:19 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.28 2018/03/16 12:06:03 fhajny Exp $
+$NetBSD: distinfo,v 1.29 2018/04/04 12:31:19 fhajny Exp $
 
-SHA1 (peewee-3.1.5.tar.gz) = b5371dd8937d26cee129ad2ccb2d44ab40046861
-RMD160 (peewee-3.1.5.tar.gz) = e625458ec5195b54a6f12faa8264f10106df82f4
-SHA512 (peewee-3.1.5.tar.gz) = 24666b97a04a2885c9b0e5fbb416f118fece987298a661c7c97bcd5bd8013b291948668632e01b81c5950cc3bdf2999618f4ff0f19e2c0fa4311825a385c399c
-Size (peewee-3.1.5.tar.gz) = 714786 bytes
+SHA1 (peewee-3.2.2.tar.gz) = 02faeb1f8ee050bbacd43ea74ddd9a577c4abbbe
+RMD160 (peewee-3.2.2.tar.gz) = 100060a93edd5856d024701d62d19acbb774e611
+SHA512 (peewee-3.2.2.tar.gz) = bdc32a9eb8023f799b8812eb0840e93379d7515f3653968e2328d636d4883ec0d21544ef06b2b946a8026aeea3bd8272d5d23c18ded27b3f8d3ca07500b82974
+Size (peewee-3.2.2.tar.gz) = 721888 bytes



Home | Main Index | Thread Index | Old Index