summaryrefslogtreecommitdiff
path: root/databases/py-peewee/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-12-18 11:48:33 +0000
committeradam <adam@pkgsrc.org>2018-12-18 11:48:33 +0000
commit8fbc945a7eef3f69fa4772fe7c2c31f20e6b8f5a (patch)
tree04952451e62c96ad2d54871c09b85f203764c2d9 /databases/py-peewee/Makefile
parent9834fded7ba9c18e17ecf427fa74d99d6c91a309 (diff)
downloadpkgsrc-8fbc945a7eef3f69fa4772fe7c2c31f20e6b8f5a.tar.gz
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.
Diffstat (limited to 'databases/py-peewee/Makefile')
-rw-r--r--databases/py-peewee/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile
index 5ecab17c69f..74a21988942 100644
--- a/databases/py-peewee/Makefile
+++ b/databases/py-peewee/Makefile
@@ -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"