2018-05-29 08:37:30 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-Flask-SQLAlchemy
|
|
|
|
#
|
2023-08-02 07:01:11 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-05-29 08:37:30 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-05-07 21:18:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-29 08:37:30 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-06-12 08:18:34 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2018-05-29 08:37:30 +00:00
|
|
|
Name: python-Flask-SQLAlchemy
|
2023-08-02 07:01:11 +00:00
|
|
|
Version: 3.0.5
|
2018-05-29 08:37:30 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: SQLAlchemy support for Flask
|
|
|
|
License: BSD-3-Clause
|
2019-09-26 17:03:01 +00:00
|
|
|
URL: https://github.com/mitsuhiko/flask-sqlalchemy
|
2023-08-02 07:01:11 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/f/flask_sqlalchemy/flask_sqlalchemy-%{version}.tar.gz
|
2022-12-03 15:54:04 +00:00
|
|
|
# BR krb5 - the test suite fails with krb5-mini (and users in any case will only ever get krb5, never krb5-mini)
|
2022-03-03 11:47:30 +00:00
|
|
|
BuildRequires: krb5
|
2023-08-02 07:01:11 +00:00
|
|
|
BuildRequires: %{python_module flit-core}
|
2022-12-03 15:54:04 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module wheel}
|
2018-05-29 08:37:30 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2022-12-03 15:54:04 +00:00
|
|
|
Requires: python-Flask >= 2.2
|
|
|
|
Requires: python-SQLAlchemy >= 1.4.18
|
2018-05-29 08:37:30 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
# SECTION test requirements
|
2022-12-03 15:54:04 +00:00
|
|
|
BuildRequires: %{python_module Flask >= 2.2}
|
|
|
|
BuildRequires: %{python_module SQLAlchemy >= 1.4.18}
|
2018-05-29 08:37:30 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
# /SECTION
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Adds SQLAlchemy support to your Flask application.
|
|
|
|
|
|
|
|
%prep
|
2023-08-02 07:01:11 +00:00
|
|
|
%autosetup -p1 -n flask_sqlalchemy-%{version}
|
2018-05-29 08:37:30 +00:00
|
|
|
|
|
|
|
%build
|
2022-12-03 15:54:04 +00:00
|
|
|
%pyproject_wheel
|
2018-05-29 08:37:30 +00:00
|
|
|
|
|
|
|
%install
|
2022-12-03 15:54:04 +00:00
|
|
|
%pyproject_install
|
2018-05-29 08:37:30 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2019-05-07 21:18:20 +00:00
|
|
|
%pytest
|
2018-05-29 08:37:30 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
2019-05-07 21:18:20 +00:00
|
|
|
%license LICENSE.rst
|
|
|
|
%doc CHANGES.rst README.rst
|
2023-08-02 07:01:11 +00:00
|
|
|
%{python_sitelib}/flask_sqlalchemy
|
|
|
|
%{python_sitelib}/flask_sqlalchemy-%{version}.dist-info
|
2018-05-29 08:37:30 +00:00
|
|
|
|
|
|
|
%changelog
|