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
This commit is contained in:
Dominique Leuenberger 2019-05-07 21:18:20 +00:00 committed by Git OBS Bridge
parent 8221b8c5d2
commit 44f53e84fb
4 changed files with 36 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53
size 105530

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c9609b0d72871c540a7945ea559c8fdf5455192d2db67219509aed680a3d45a
size 128601

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sat May 4 22:49:10 UTC 2019 - Arun Persaud <arun@gmx.de>
- 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

View File

@ -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