File python-aiormq.spec of Package python-aiormq

#
# spec file for package python-aiormq
#
# Copyright (c) 2023 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-aiormq
Version:        6.7.4
Release:        0
Summary:        Pure python AMQP asynchronous client library
License:        Apache-2.0
URL:            https://github.com/mosquito/aiormq
Source:         https://files.pythonhosted.org/packages/source/a/aiormq/aiormq-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module poetry-core}
Requires:       %{python_module pamqp}
Requires:       %{python_module setuptools}
Requires:       %{python_module yarl}
BuildArch:      noarch
%python_subpackages

%description
%{summary}.

%prep
%autosetup -n aiormq-%{version}

%build
export CFLAGS="%{optflags}"
%pyproject_wheel

%install
%pyproject_install
%{python_expand %fdupes %{buildroot}%{$python_sitearch}}
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%doc README.rst
%{python_sitelib}/aiormq
%{python_sitelib}/aiormq-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by