File python-apispec-webframeworks.spec of Package python-apispec-webframeworks
#
# spec file for package python-apispec-webframeworks
#
# Copyright (c) 2026 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-apispec-webframeworks
Version: 1.2.0
Release: 0
Summary: Web framework plugins for apispec
License: MIT
URL: https://github.com/marshmallow-code/apispec-webframeworks
Source: https://files.pythonhosted.org/packages/source/a/apispec-webframeworks/apispec_webframeworks-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module flit-core < 4}
BuildRequires: %{python_module pip}
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module apispec >= 6.0.0}
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module bottle}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module tornado > 6.5}
BuildRequires: %{python_module PyYAML}
# /SECTION
BuildRequires: fdupes
Requires: python-apispec >= 6.0.0
Suggests: python-pytest
Suggests: python-Flask >= 2.3.3
Suggests: python-tornado >= 6
Suggests: python-bottle >= 0.12.25
Suggests: python-aiohttp >= 3.9.3
Suggests: python-apispec-webframeworks
Suggests: python-tox
Suggests: python-pre-commit >= 3.5
BuildArch: noarch
%python_subpackages
%description
apispec plugins for integrating with various web frameworks.
These plugins used to be in ``apispec.ext`` but have since
been moved to their own package.
Included plugins:
* ``apispec_webframeworks.aiohttp``
* ``apispec_webframeworks.bottle``
* ``apispec_webframeworks.flask``
* ``apispec_webframeworks.tornado``
%prep
%autosetup -p1 -n apispec_webframeworks-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%{python_sitelib}/apispec_webframeworks
%{python_sitelib}/apispec_webframeworks-%{version}.dist-info
%changelog