17
0

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:
2019-05-07 21:18:20 +00:00
committed by Git OBS Bridge
parent b45a70d010
commit 2a9a98d7b6
4 changed files with 36 additions and 10 deletions

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