File python-async_upnp_client.spec of Package python-async_upnp_client

#
# spec file for package python-warrant
#
# Copyright (c) 2017 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
# 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 http://bugs.opensuse.org/


%define         skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-async_upnp_client
Version:        0.45.0
Release:        0
License:        Apache-2.0
Summary:        Async UPnP Client for Python
Group:          Development/Languages/Python
Url:            https://github.com/StevenLooman/async_upnp_client
Source:         https://pypi.python.org/packages/source/a/async_upnp_client/async_upnp_client-%{version}.tar.xz
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module wheel}
Provides:       python-async-upnp-client = %version-%release
Requires:       python-didl-lite = 1.4.0
Requires:       python-voluptuous >= 0.12.1
Requires:       python-aiohttp >= 3.9.0
Requires:       python-async_timeout >= 3.0
Requires:       python-defusedxml >= 0.6.0

BuildArch:      noarch

%python_subpackages

%description


%prep
%setup -q -n async_upnp_client-%{version}

%build
%pyproject_wheel
       
%install
%pyproject_install

%files %{python_files}
%license LICENSE.txt
%doc README.rst CHANGES.rst
%python311_only %{_bindir}/upnp-client
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by