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.0.9.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b5032b180ade
branches: trunk
changeset: 375068:b5032b180ade
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Fri Feb 02 16:00:33 2018 +0000
description:
databases/py-peewee: Update to 3.0.9.
3.0.9
- Add deprecation notice if passing autocommit as keyword argument to
the Database initializer.
- Add JSONPath and "J" helpers to sqlite extension.
3.0.8
- Add support for passing cascade=True when dropping tables.
- Fix issues with backrefs and inherited foreign-keys.
3.0.7
- Add select_extend() method to extend existing SELECT-ion.
- Accept set() as iterable value type
- Add test for model/field inheritance and fix bug relating to
recursion error when inheriting foreign-key field.
- Fix regression where consecutive calls to ModelSelect.select() with
no parameters resulted in an empty selection.
3.0.6
- Add constraints for ON UPDATE/ON DELETE to foreign-key constraint
3.0.5
- Adds Model.index(), a short-hand method for declaring ModelIndex
instances.
3.0.4
- Re-add a shim for PrimaryKeyField (renamed to AutoField) and log a
deprecation warning if you try to use it
3.0.3
- Includes fix for bug where column-name to field-name translation was
not being done when running select queries on models whose field
name differed from the underlying column name.
3.0.2
- Fixes missing pysqlite header files, which are needed to compile
certain C extensions.
3.0.0
- Complete rewrite of SQL AST and code-generation.
- Inclusion of new, low-level query builder APIs.
- List of backwards-incompatible changes since 2.x:
http://docs.peewee-orm.com/en/latest/peewee/changes.html
diffstat:
databases/py-peewee/ALTERNATIVES | 1 -
databases/py-peewee/Makefile | 9 +++++----
databases/py-peewee/PLIST | 24 +-----------------------
databases/py-peewee/distinfo | 10 +++++-----
4 files changed, 11 insertions(+), 33 deletions(-)
diffs (111 lines):
diff -r 3040393965e4 -r b5032b180ade databases/py-peewee/ALTERNATIVES
--- a/databases/py-peewee/ALTERNATIVES Fri Feb 02 15:53:44 2018 +0000
+++ b/databases/py-peewee/ALTERNATIVES Fri Feb 02 16:00:33 2018 +0000
@@ -1,3 +1,2 @@
-bin/pskel @PREFIX@/bin/pskel@PYVERSSUFFIX@
bin/pwiz @PREFIX@/bin/pwiz@PYVERSSUFFIX@
@PKGMANDIR@/man1/peewee.1 @PREFIX@/@PKGMANDIR@/man1/peewee@PYVERSSUFFIX@.1
diff -r 3040393965e4 -r b5032b180ade databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile Fri Feb 02 15:53:44 2018 +0000
+++ b/databases/py-peewee/Makefile Fri Feb 02 16:00:33 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2017/10/13 14:19:05 fhajny Exp $
+# $NetBSD: Makefile,v 1.19 2018/02/02 16:00:33 fhajny Exp $
-DISTNAME= peewee-2.10.2
+DISTNAME= peewee-3.0.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/}
@@ -33,13 +33,14 @@
cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/pskel \
- ${DESTDIR}${PREFIX}/bin/pskel${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/pwiz.py \
${DESTDIR}${PREFIX}/bin/pwiz${PYVERSSUFFIX}
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
+
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
diff -r 3040393965e4 -r b5032b180ade databases/py-peewee/PLIST
--- a/databases/py-peewee/PLIST Fri Feb 02 15:53:44 2018 +0000
+++ b/databases/py-peewee/PLIST Fri Feb 02 16:00:33 2018 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2017/04/21 09:14:01 fhajny Exp $
-bin/pskel${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.13 2018/02/02 16:00:33 fhajny Exp $
bin/pwiz${PYVERSSUFFIX}
${PYSITELIB}/peewee.py
${PYSITELIB}/peewee.pyc
@@ -13,39 +12,21 @@
${PYSITELIB}/playhouse/apsw_ext.py
${PYSITELIB}/playhouse/apsw_ext.pyc
${PYSITELIB}/playhouse/apsw_ext.pyo
-${PYSITELIB}/playhouse/berkeleydb.py
-${PYSITELIB}/playhouse/berkeleydb.pyc
-${PYSITELIB}/playhouse/berkeleydb.pyo
-${PYSITELIB}/playhouse/csv_loader.py
-${PYSITELIB}/playhouse/csv_loader.pyc
-${PYSITELIB}/playhouse/csv_loader.pyo
-${PYSITELIB}/playhouse/csv_utils.py
-${PYSITELIB}/playhouse/csv_utils.pyc
-${PYSITELIB}/playhouse/csv_utils.pyo
${PYSITELIB}/playhouse/dataset.py
${PYSITELIB}/playhouse/dataset.pyc
${PYSITELIB}/playhouse/dataset.pyo
${PYSITELIB}/playhouse/db_url.py
${PYSITELIB}/playhouse/db_url.pyc
${PYSITELIB}/playhouse/db_url.pyo
-${PYSITELIB}/playhouse/djpeewee.py
-${PYSITELIB}/playhouse/djpeewee.pyc
-${PYSITELIB}/playhouse/djpeewee.pyo
${PYSITELIB}/playhouse/fields.py
${PYSITELIB}/playhouse/fields.pyc
${PYSITELIB}/playhouse/fields.pyo
${PYSITELIB}/playhouse/flask_utils.py
${PYSITELIB}/playhouse/flask_utils.pyc
${PYSITELIB}/playhouse/flask_utils.pyo
-${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
${PYSITELIB}/playhouse/migrate.py
${PYSITELIB}/playhouse/migrate.pyc
${PYSITELIB}/playhouse/migrate.pyo
@@ -55,9 +36,6 @@
${PYSITELIB}/playhouse/postgres_ext.py
${PYSITELIB}/playhouse/postgres_ext.pyc
${PYSITELIB}/playhouse/postgres_ext.pyo
-${PYSITELIB}/playhouse/read_slave.py
-${PYSITELIB}/playhouse/read_slave.pyc
-${PYSITELIB}/playhouse/read_slave.pyo
${PYSITELIB}/playhouse/reflection.py
${PYSITELIB}/playhouse/reflection.pyc
${PYSITELIB}/playhouse/reflection.pyo
diff -r 3040393965e4 -r b5032b180ade databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo Fri Feb 02 15:53:44 2018 +0000
+++ b/databases/py-peewee/distinfo Fri Feb 02 16:00:33 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2017/10/13 14:19:05 fhajny Exp $
+$NetBSD: distinfo,v 1.18 2018/02/02 16:00:33 fhajny Exp $
-SHA1 (peewee-2.10.2.tar.gz) = 93fb49dca233d3fb0cd7f9d66f1a7ab283e322a7
-RMD160 (peewee-2.10.2.tar.gz) = 7564f907223b7e0c0e14c8d67a52dc9928591522
-SHA512 (peewee-2.10.2.tar.gz) = 55f5deb6d60580ab2f7aa22e6acf772e976ee97c34991c0515a97cd7c08157645e40f1819412e128739cf40461eaf2a2c80d82f88b4a2aa42f8f16e160f3a504
-Size (peewee-2.10.2.tar.gz) = 658469 bytes
+SHA1 (peewee-3.0.9.tar.gz) = 9170783c9e1a8bdfd4446b1b6ca23eda9ea08362
+RMD160 (peewee-3.0.9.tar.gz) = 95a38435a6deb57dad96928c728c5b625894e59f
+SHA512 (peewee-3.0.9.tar.gz) = 971a17ef0bb4433407869eee54008c38e2a45fc1932a0b8aa32f7dbac7a76b0b949616076038a006d978d84820962b72f148976e2f052cbfe747f39dc70df107
+Size (peewee-3.0.9.tar.gz) = 695481 bytes
Home |
Main Index |
Thread Index |
Old Index