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: Fri Feb 2 16:00:33 UTC 2018
Modified Files:
pkgsrc/databases/py-peewee: ALTERNATIVES Makefile PLIST distinfo
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/py-peewee/ALTERNATIVES
cvs rdiff -u -r1.18 -r1.19 pkgsrc/databases/py-peewee/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/databases/py-peewee/PLIST
cvs rdiff -u -r1.17 -r1.18 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.1 pkgsrc/databases/py-peewee/ALTERNATIVES:1.2
--- pkgsrc/databases/py-peewee/ALTERNATIVES:1.1 Fri Apr 21 09:14:01 2017
+++ pkgsrc/databases/py-peewee/ALTERNATIVES Fri Feb 2 16:00:33 2018
@@ -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
Index: pkgsrc/databases/py-peewee/Makefile
diff -u pkgsrc/databases/py-peewee/Makefile:1.18 pkgsrc/databases/py-peewee/Makefile:1.19
--- pkgsrc/databases/py-peewee/Makefile:1.18 Fri Oct 13 14:19:05 2017
+++ pkgsrc/databases/py-peewee/Makefile Fri Feb 2 16:00:33 2018
@@ -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 @@ post-build:
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"
Index: pkgsrc/databases/py-peewee/PLIST
diff -u pkgsrc/databases/py-peewee/PLIST:1.12 pkgsrc/databases/py-peewee/PLIST:1.13
--- pkgsrc/databases/py-peewee/PLIST:1.12 Fri Apr 21 09:14:01 2017
+++ pkgsrc/databases/py-peewee/PLIST Fri Feb 2 16:00:33 2018
@@ -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/_sqlite_udf.so
${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/pool.pyo
${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
Index: pkgsrc/databases/py-peewee/distinfo
diff -u pkgsrc/databases/py-peewee/distinfo:1.17 pkgsrc/databases/py-peewee/distinfo:1.18
--- pkgsrc/databases/py-peewee/distinfo:1.17 Fri Oct 13 14:19:05 2017
+++ pkgsrc/databases/py-peewee/distinfo Fri Feb 2 16:00:33 2018
@@ -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