Tue Dec 12 09:53:24 2017 UTC ()
py-flaks-sqlalchemy: updated to 2.3.2

Version 2.3.2
- Don't mask the parent table for single-table inheritance models.

Version 2.3.1
- If a model has a table name that matches an existing table in the metadata,
  use that table. Fixes a regression where reflected tables were not picked up
  by models.
- Raise the correct error when a model has a table name but no primary key.
- Fix repr on models that don't have an identity because they have not been
  flushed yet.
- Allow specifying a max_per_page limit for pagination, to avoid users
  specifying high values in the request args.
- For paginate with error_out=False, the minimum value for page is
  1 and per_page is 0.

Version 2.3.0
- Multiple bugs with __tablename__ generation are fixed. Names will be
  generated for models that define a primary key, but not for single-table
  inheritance subclasses. Names will not override a declared_attr.
  PrimaryKeyConstraint is detected.
- Passing an existing declarative_base() as model_class to
  SQLAlchemy.__init__ will use this as the base class instead of creating
  one. This allows customizing the metaclass used to construct the base.
- The undocumented DeclarativeMeta internals that the extension uses for
  binds and table name generation have been refactored to work as mixins.
  Documentation is added about how to create a custom metaclass that does not
  do table name generation.
- Model and metaclass code has been moved to a new models module.
  _BoundDeclarativeMeta is renamed to DefaultMeta; the old name will be
  removed in 3.0.
- Models have a default repr that shows the model name and primary key.
- Fixed a bug where using init_app would cause connectors to always use the
  current_app rather than the app they were created for. This caused issues
  when multiple apps were registered with the extension.


(adam)
diff -r1.9 -r1.10 pkgsrc/www/py-flask-sqlalchemy/Makefile
diff -r1.2 -r1.3 pkgsrc/www/py-flask-sqlalchemy/PLIST
diff -r1.5 -r1.6 pkgsrc/www/py-flask-sqlalchemy/distinfo

cvs diff -r1.9 -r1.10 pkgsrc/www/py-flask-sqlalchemy/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-flask-sqlalchemy/Makefile 2017/07/30 22:32:26 1.9
+++ pkgsrc/www/py-flask-sqlalchemy/Makefile 2017/12/12 09:53:24 1.10
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile,v 1.9 2017/07/30 22:32:26 wiz Exp $ 1# $NetBSD: Makefile,v 1.10 2017/12/12 09:53:24 adam Exp $
2 2
3DISTNAME= Flask-SQLAlchemy-2.2 3DISTNAME= Flask-SQLAlchemy-2.3.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-SQLAlchemy/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-SQLAlchemy/}
7 7
8MAINTAINER= kleink@NetBSD.org 8MAINTAINER= kleink@NetBSD.org
9HOMEPAGE= https://github.com/mitsuhiko/flask-sqlalchemy 9HOMEPAGE= https://github.com/mitsuhiko/flask-sqlalchemy
10COMMENT= Adds SQLAlchemy support to your Flask application 10COMMENT= Adds SQLAlchemy support to your Flask application
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13USE_LANGUAGES= # empty 
14 
15DEPENDS+= ${PYPKGPREFIX}-flask>=0.10:../../www/py-flask 13DEPENDS+= ${PYPKGPREFIX}-flask>=0.10:../../www/py-flask
16DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.8:../../databases/py-sqlalchemy 14DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.8:../../databases/py-sqlalchemy
17 15
 16USE_LANGUAGES= # none
 17
18.include "../../lang/python/egg.mk" 18.include "../../lang/python/egg.mk"
19.include "../../mk/bsd.pkg.mk" 19.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/www/py-flask-sqlalchemy/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-flask-sqlalchemy/PLIST 2013/08/04 13:47:10 1.2
+++ pkgsrc/www/py-flask-sqlalchemy/PLIST 2017/12/12 09:53:24 1.3
@@ -1,13 +1,16 @@ @@ -1,13 +1,16 @@
1@comment $NetBSD: PLIST,v 1.2 2013/08/04 13:47:10 kleink Exp $ 1@comment $NetBSD: PLIST,v 1.3 2017/12/12 09:53:24 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
6${PYSITELIB}/${EGG_INFODIR}/requires.txt 6${PYSITELIB}/${EGG_INFODIR}/requires.txt
7${PYSITELIB}/${EGG_INFODIR}/top_level.txt 7${PYSITELIB}/${EGG_INFODIR}/top_level.txt
8${PYSITELIB}/flask_sqlalchemy/__init__.py 8${PYSITELIB}/flask_sqlalchemy/__init__.py
9${PYSITELIB}/flask_sqlalchemy/__init__.pyc 9${PYSITELIB}/flask_sqlalchemy/__init__.pyc
10${PYSITELIB}/flask_sqlalchemy/__init__.pyo 10${PYSITELIB}/flask_sqlalchemy/__init__.pyo
11${PYSITELIB}/flask_sqlalchemy/_compat.py 11${PYSITELIB}/flask_sqlalchemy/_compat.py
12${PYSITELIB}/flask_sqlalchemy/_compat.pyc 12${PYSITELIB}/flask_sqlalchemy/_compat.pyc
13${PYSITELIB}/flask_sqlalchemy/_compat.pyo 13${PYSITELIB}/flask_sqlalchemy/_compat.pyo
 14${PYSITELIB}/flask_sqlalchemy/model.py
 15${PYSITELIB}/flask_sqlalchemy/model.pyc
 16${PYSITELIB}/flask_sqlalchemy/model.pyo

cvs diff -r1.5 -r1.6 pkgsrc/www/py-flask-sqlalchemy/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-flask-sqlalchemy/distinfo 2017/03/14 14:49:01 1.5
+++ pkgsrc/www/py-flask-sqlalchemy/distinfo 2017/12/12 09:53:24 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2017/03/14 14:49:01 kleink Exp $ 1$NetBSD: distinfo,v 1.6 2017/12/12 09:53:24 adam Exp $
2 2
3SHA1 (Flask-SQLAlchemy-2.2.tar.gz) = 021698b810acea0aa3a67e79930002c9dd3759f3 3SHA1 (Flask-SQLAlchemy-2.3.2.tar.gz) = a5623eb52ee6aff7d5f2e281723012d3d4922c5e
4RMD160 (Flask-SQLAlchemy-2.2.tar.gz) = ac5e362eedba60c1648c3ab965c6d163eef717b0 4RMD160 (Flask-SQLAlchemy-2.3.2.tar.gz) = ba3f56f2f17be2c4b7eaae11a4fed4ce6c435884
5SHA512 (Flask-SQLAlchemy-2.2.tar.gz) = 43a53ed174fc88db69568fbda5b131388e38436c4c3ed2f62607bf57149f9781772bfe5382eac54239790a10bb5a3ae22b89b2d1e3fc27ec77a1c0b9dbfe78ec 5SHA512 (Flask-SQLAlchemy-2.3.2.tar.gz) = e0c12e5cc5ddb3685f04c928185e4526fb6a94dedb5c53e2b5ece2e0f1cae6ea4c00b3f9d6863c1b6252357ccf2b5a4c1fca0185d2d741bdbc0ab62e2901d2ff
6Size (Flask-SQLAlchemy-2.2.tar.gz) = 100736 bytes 6Size (Flask-SQLAlchemy-2.3.2.tar.gz) = 105530 bytes