From 44f53e84fbab5bfea98884c55467b0687ee7ef5b525f9fc8de6ba17a7869ab2b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 7 May 2019 21:18:20 +0000 Subject: [PATCH] Accepting request 701092 from devel:languages:python:flask OBS-URL: https://build.opensuse.org/request/show/701092 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-SQLAlchemy?expand=0&rev=2 --- Flask-SQLAlchemy-2.3.2.tar.gz | 3 --- Flask-SQLAlchemy-2.4.0.tar.gz | 3 +++ python-Flask-SQLAlchemy.changes | 22 ++++++++++++++++++++++ python-Flask-SQLAlchemy.spec | 18 +++++++++++------- 4 files changed, 36 insertions(+), 10 deletions(-) delete mode 100644 Flask-SQLAlchemy-2.3.2.tar.gz create mode 100644 Flask-SQLAlchemy-2.4.0.tar.gz diff --git a/Flask-SQLAlchemy-2.3.2.tar.gz b/Flask-SQLAlchemy-2.3.2.tar.gz deleted file mode 100644 index b04067b..0000000 --- a/Flask-SQLAlchemy-2.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53 -size 105530 diff --git a/Flask-SQLAlchemy-2.4.0.tar.gz b/Flask-SQLAlchemy-2.4.0.tar.gz new file mode 100644 index 0000000..71c396c --- /dev/null +++ b/Flask-SQLAlchemy-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c9609b0d72871c540a7945ea559c8fdf5455192d2db67219509aed680a3d45a +size 128601 diff --git a/python-Flask-SQLAlchemy.changes b/python-Flask-SQLAlchemy.changes index 0e5b4fd..c250468 100644 --- a/python-Flask-SQLAlchemy.changes +++ b/python-Flask-SQLAlchemy.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat May 4 22:49:10 UTC 2019 - Arun Persaud + +- specfile: + * update copyright year + * be more specific in %files section + * CHANGES, README changed to rst + +- update to version 2.4.0: + * Make engine configuration more flexible. (:pr:`684`) + * Address SQLAlchemy 1.3 deprecations. (:pr:`684`) + * get_or_404() and first_or_404() now accept a description parameter + to control the 404 message. (:issue:`636`) + * Use time.perf_counter for Python 3 on Windows. (:issue:`638`) + * Drop support for Python 2.6 and 3.3. (:pr:`687`) + * Add an example of Flask's tutorial project, Flaskr, adapted for + Flask-SQLAlchemy. (:pr:`720`) + +- changes from version 2.3.3: + * Fix "AttributeError: 'NoneType' object has no attribute 'info'", + when using polymorphic models. (#651) + ------------------------------------------------------------------- Thu Oct 12 02:50:06 UTC 2017 - arun@gmx.de diff --git a/python-Flask-SQLAlchemy.spec b/python-Flask-SQLAlchemy.spec index 8d2667d..69c2f5d 100644 --- a/python-Flask-SQLAlchemy.spec +++ b/python-Flask-SQLAlchemy.spec @@ -1,7 +1,7 @@ # # spec file for package python-Flask-SQLAlchemy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Flask-SQLAlchemy -Version: 2.3.2 +Version: 2.4.0 Release: 0 Summary: SQLAlchemy support for Flask License: BSD-3-Clause @@ -34,6 +34,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Flask >= 0.10} BuildRequires: %{python_module SQLAlchemy >= 0.8.0} +BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -52,11 +53,14 @@ Adds SQLAlchemy support to your Flask application. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m pytest -v +%pytest %files %{python_files} -%license LICENSE -%doc CHANGES.rst README -%{python_sitelib}/* +%license LICENSE.rst +%doc CHANGES.rst README.rst +%dir %{python_sitelib}/flask_sqlalchemy +%{python_sitelib}/flask_sqlalchemy/* +%dir %{python_sitelib}/Flask_SQLAlchemy-%{version}-py*.egg-info +%{python_sitelib}/Flask_SQLAlchemy-%{version}-py*.egg-info/* %changelog