pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-peewee



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Wed Apr  4 12:31:19 UTC 2018

Modified Files:
        pkgsrc/databases/py-peewee: MESSAGE Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/py-peewee/MESSAGE
cvs rdiff -u -r1.29 -r1.30 pkgsrc/databases/py-peewee/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/py-peewee/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/databases/py-peewee/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-peewee/MESSAGE
diff -u pkgsrc/databases/py-peewee/MESSAGE:1.1 pkgsrc/databases/py-peewee/MESSAGE:1.2
--- pkgsrc/databases/py-peewee/MESSAGE:1.1      Fri Oct 17 10:24:04 2014
+++ pkgsrc/databases/py-peewee/MESSAGE  Wed Apr  4 12:31:19 2018
@@ -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.
 
-  - ${PYPKGPREFIX}-mysqldb for MySQL support (databases/py-mysqldb)
-  - ${PYPKGPREFIX}-psycopg2 for PostgreSQL support (databases/py-psycopg2)
-  - ${PYPKGPREFIX}-sqlite3 for SQLite3 support (databases/py-sqlite3)
+  MySQL
+    - ${PYPKGPREFIX}-pymysql (databases/py-pymysql)
+    - ${PYPKGPREFIX}-mysqldb (databases/py-mysqldb)
+
+  PostgreSQL:
+    - ${PYPKGPREFIX}-psycopg2 (databases/py-psycopg2)
+
+  SQLite:
+    - ${PYPKGPREFIX}-sqlite3 (databases/py-sqlite3)
+    - ${PYPKGPREFIX}-apsw (databases/py-apsw)
+    - ${PYPKGPREFIX}-sqlite2 (databases/py-sqlite2)
 
 ===========================================================================

Index: pkgsrc/databases/py-peewee/Makefile
diff -u pkgsrc/databases/py-peewee/Makefile:1.29 pkgsrc/databases/py-peewee/Makefile:1.30
--- pkgsrc/databases/py-peewee/Makefile:1.29    Fri Mar 16 12:06:03 2018
+++ pkgsrc/databases/py-peewee/Makefile Wed Apr  4 12:31:19 2018
@@ -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_LANGUAGES=        c
 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}
 

Index: pkgsrc/databases/py-peewee/PLIST
diff -u pkgsrc/databases/py-peewee/PLIST:1.14 pkgsrc/databases/py-peewee/PLIST:1.15
--- pkgsrc/databases/py-peewee/PLIST:1.14       Thu Mar  1 11:52:59 2018
+++ pkgsrc/databases/py-peewee/PLIST    Wed Apr  4 12:31:19 2018
@@ -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/kv.pyo
 ${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

Index: pkgsrc/databases/py-peewee/distinfo
diff -u pkgsrc/databases/py-peewee/distinfo:1.28 pkgsrc/databases/py-peewee/distinfo:1.29
--- pkgsrc/databases/py-peewee/distinfo:1.28    Fri Mar 16 12:06:03 2018
+++ pkgsrc/databases/py-peewee/distinfo Wed Apr  4 12:31:19 2018
@@ -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