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:   adam
Date:           Tue Dec 18 11:48:33 UTC 2018

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

Log Message:
py-peewee: updated to 3.8.0

3.8.0

**New features**

* Postgres BinaryJSONField now supports has_key(), concat() and
  remove() methods (though remove may require pg10+).
* Add python_value() method to the SQL-function helper fn, to allow
  specifying a custom function for mapping database values to Python values.

**Changes**

* Better support for UPDATE ... FROM queries, and more generally, more robust
  support for UPDATE and RETURNING clauses. This means that the
  QualifiedNames helper is no longer needed for certain types of queries.
* The SqlCipherDatabase no longer accepts a kdf_iter parameter. To
  configure the various SQLCipher encryption settings, specify the setting
  values as pragmas when initializing the database.
* Introspection will now, by default, only strip "_id" from introspected column
  names if those columns are foreign-keys.
* Allow UUIDField and BinaryUUIDField to accept hexadecimal UUID strings as
  well as raw binary UUID bytestrings (in addition to UUID instances, which
  are already supported).
* Allow ForeignKeyField to be created without an index.
* Allow multiple calls to cast() to be chained.
* Add logic to ensure foreign-key constraint names that exceed 64 characters
  are truncated using the same logic as is currently in place for long indexes.
* ManyToManyField supports foreign-keys to fields other than primary-keys.
* When linked against SQLite 3.26 or newer, support SQLITE_CONSTRAINT to
  designate invalid queries against virtual tables.
* SQL-generation changes to aid in supporting using queries within expressions
  following the SELECT statement.

**Bugfixes**

* Fixed bug in order_by_extend(), thanks @nhatHero.
* Fixed bug where the DataSet CSV import/export did not support non-ASCII
  characters in Python 3.x.
* Fixed bug where model_to_dict would attempt to traverse explicitly disabled
  foreign-key backrefs.
* Fixed bug when attempting to migrate SQLite tables that have a field whose
  column-name begins with "primary_".
* Fixed bug with inheriting deferred foreign-keys.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/py-peewee/ALTERNATIVES
cvs rdiff -u -r1.48 -r1.49 pkgsrc/databases/py-peewee/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/databases/py-peewee/PLIST
cvs rdiff -u -r1.42 -r1.43 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/ALTERNATIVES
diff -u pkgsrc/databases/py-peewee/ALTERNATIVES:1.2 pkgsrc/databases/py-peewee/ALTERNATIVES:1.3
--- pkgsrc/databases/py-peewee/ALTERNATIVES:1.2 Fri Feb  2 16:00:33 2018
+++ pkgsrc/databases/py-peewee/ALTERNATIVES     Tue Dec 18 11:48:33 2018
@@ -1,2 +1,2 @@
-bin/pwiz @PREFIX@/bin/pwiz@PYVERSSUFFIX@
-@PKGMANDIR@/man1/peewee.1 @PREFIX@/@PKGMANDIR@/man1/peewee@PYVERSSUFFIX@.1
+bin/pwiz @PREFIX@/bin/pwiz-@PYVERSSUFFIX@
+@PKGMANDIR@/man1/peewee.1 @PREFIX@/@PKGMANDIR@/man1/peewee-@PYVERSSUFFIX@.1

Index: pkgsrc/databases/py-peewee/Makefile
diff -u pkgsrc/databases/py-peewee/Makefile:1.48 pkgsrc/databases/py-peewee/Makefile:1.49
--- pkgsrc/databases/py-peewee/Makefile:1.48    Sat Dec 15 21:12:20 2018
+++ pkgsrc/databases/py-peewee/Makefile Tue Dec 18 11:48:33 2018
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2018/12/15 21:12:20 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2018/12/18 11:48:33 adam Exp $
 
-DISTNAME=      peewee-3.7.1
+DISTNAME=      peewee-3.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
 
@@ -32,13 +31,9 @@ post-build:
        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz-${PYVERSSUFFIX} || ${TRUE}
        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
-               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
-
-# tests are not included in 3.7.0
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee-${PYVERSSUFFIX}.1
 
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/py-cython/buildlink3.mk"

Index: pkgsrc/databases/py-peewee/PLIST
diff -u pkgsrc/databases/py-peewee/PLIST:1.17 pkgsrc/databases/py-peewee/PLIST:1.18
--- pkgsrc/databases/py-peewee/PLIST:1.17       Fri Jul 20 09:38:49 2018
+++ pkgsrc/databases/py-peewee/PLIST    Tue Dec 18 11:48:33 2018
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.17 2018/07/20 09:38:49 adam Exp $
-bin/pwiz${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.18 2018/12/18 11:48:33 adam Exp $
+bin/pwiz-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -74,4 +74,4 @@ ${PYSITELIB}/playhouse/test_utils.pyo
 ${PYSITELIB}/pwiz.py
 ${PYSITELIB}/pwiz.pyc
 ${PYSITELIB}/pwiz.pyo
-man/man1/peewee${PYVERSSUFFIX}.1
+man/man1/peewee-${PYVERSSUFFIX}.1

Index: pkgsrc/databases/py-peewee/distinfo
diff -u pkgsrc/databases/py-peewee/distinfo:1.42 pkgsrc/databases/py-peewee/distinfo:1.43
--- pkgsrc/databases/py-peewee/distinfo:1.42    Fri Oct 26 11:57:01 2018
+++ pkgsrc/databases/py-peewee/distinfo Tue Dec 18 11:48:33 2018
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.42 2018/10/26 11:57:01 jperkin Exp $
+$NetBSD: distinfo,v 1.43 2018/12/18 11:48:33 adam Exp $
 
-SHA1 (peewee-3.7.1.tar.gz) = 4781a13627eb4ac002faed854155316272c31bc7
-RMD160 (peewee-3.7.1.tar.gz) = 8106a17f8a749f5ac8b0d9673118eac1eb986163
-SHA512 (peewee-3.7.1.tar.gz) = 3d9ae7bf68c115a1a22f4f11460f2cb8c2f57be7757694ef4ee0d3d9d7f38c9b64f4be9afccbf7a17884b3feb0a38648b44daffe328eeb96dc5adb637aed36c6
-Size (peewee-3.7.1.tar.gz) = 2167702 bytes
+SHA1 (peewee-3.8.0.tar.gz) = b4e9db005c526e3d365a13f1d23187cb9f975a22
+RMD160 (peewee-3.8.0.tar.gz) = 05d2414f4cba4fa1b50356ffa488cc4477ec94a7
+SHA512 (peewee-3.8.0.tar.gz) = 2b375082993955117ff68413872bc2cdca045997cb77d7402494a65beab877a1aa5a8c0c87ddea8fed785586e5a971fb705cb726ad1aa4c57798f688c7167a13
+Size (peewee-3.8.0.tar.gz) = 805622 bytes
 SHA1 (patch-setup.py) = 23575a58f42015a48b7503d90ed86290c92d0d03



Home | Main Index | Thread Index | Old Index