Пакет python3-module-aiohttp-wsgi: Specfile

%define oname aiohttp-wsgi

%def_with check

Name: python3-module-%oname
Version: 0.10.0
Release: alt2

Summary: WSGI adapter for aiohttp
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/aiohttp-wsgi/
Vcs: https://github.com/etianen/aiohttp-wsgi.git

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-aiohttp
BuildRequires: python3-module-pytest
%endif

%py3_provides aiohttp_wsgi
%py3_requires aiohttp

%description
aiohttp-wsgi is a WSGI adapter for aiohttp.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_pytest -v

%files
%doc *.rst LICENSE
%_bindir/*
%python3_sitelibdir/aiohttp_wsgi
%python3_sitelibdir/aiohttp_wsgi-%version.dist-info


%changelog
* Wed Jan 24 2024 Anton Vyatkin <toni@altlinux.org> 0.10.0-alt2
- Fixed FTBFS.

* Thu Apr 06 2023 Anton Vyatkin <toni@altlinux.org> 0.10.0-alt1
- New version 0.10.0

* Tue Jul 27 2021 Grigory Ustinov <grenka@altlinux.org> 0.6.3-alt2
- Drop python2 support.

* Tue Jan 10 2017 Igor Vlasenko <viy@altlinux.ru> 0.6.3-alt1
- automated PyPI update

* Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.1.2-alt1.git20150331.1.1
- (NMU) rebuild with rpm-build-python3-0.1.9
  (for common python3/site-packages/ and auto python3.3-ABI dep when needed)

* Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 0.1.2-alt1.git20150331.1
- NMU: Use buildreq for BR.

* Tue Apr 28 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20150331
- Initial build for Sisyphus