|
|
45c780c |
%global pypi_name aioeafm
|
|
|
45c780c |
|
|
|
45c780c |
Name: python-%{pypi_name}
|
|
|
45c780c |
Version: 1.0.0
|
|
|
d96d621 |
Release: 8%{?dist}
|
|
|
45c780c |
Summary: Python wrapper for the UK Environment Agency Flood Monitoring API
|
|
|
45c780c |
|
|
|
45c780c |
License: ASL 2.0
|
|
|
45c780c |
URL: https://github.com/Jc2k/aioeafm
|
|
|
45c780c |
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
45c780c |
BuildArch: noarch
|
|
|
45c780c |
|
|
|
45c780c |
%description
|
|
|
45c780c |
This is a thin Python wrapper for the Real Time flood
|
|
|
45c780c |
monitoring API.
|
|
|
45c780c |
|
|
|
45c780c |
%package -n python3-%{pypi_name}
|
|
|
45c780c |
Summary: %{summary}
|
|
|
45c780c |
|
|
|
45c780c |
BuildRequires: python3-devel
|
|
|
45c780c |
BuildRequires: pyproject-rpm-macros
|
|
|
45c780c |
BuildRequires: python3dist(pytest)
|
|
|
45c780c |
BuildRequires: python3dist(pytest-aiohttp)
|
|
|
45c780c |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
45c780c |
|
|
|
45c780c |
%description -n python3-%{pypi_name}
|
|
|
45c780c |
This is a thin Python wrapper for the Real Time flood
|
|
|
45c780c |
monitoring API.
|
|
|
45c780c |
|
|
|
45c780c |
%prep
|
|
|
45c780c |
%autosetup -n %{pypi_name}-%{version}
|
|
|
45c780c |
%generate_buildrequires
|
|
|
45c780c |
%pyproject_buildrequires -r
|
|
|
45c780c |
|
|
|
45c780c |
%build
|
|
|
45c780c |
%pyproject_wheel
|
|
|
45c780c |
|
|
|
45c780c |
%install
|
|
|
45c780c |
%pyproject_install
|
|
|
45c780c |
%pyproject_save_files %{pypi_name}
|
|
|
45c780c |
|
|
|
45c780c |
%check
|
|
|
45c780c |
%pytest -v tests
|
|
|
45c780c |
|
|
|
45c780c |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
45c780c |
%doc README.md
|
|
|
45c780c |
%license LICENSE
|
|
|
45c780c |
|
|
|
45c780c |
%changelog
|
|
|
d96d621 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
|
|
|
d96d621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
d96d621 |
|
|
|
d1da3d5 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
|
|
|
d1da3d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
d1da3d5 |
|
|
|
57e304e |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 1.0.0-6
|
|
|
57e304e |
- Rebuilt for Python 3.11
|
|
|
57e304e |
|
|
|
6f0da1e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
|
|
6f0da1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6f0da1e |
|
|
|
7504591 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
|
7504591 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
7504591 |
|
|
|
113ba47 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.0-3
|
|
|
113ba47 |
- Rebuilt for Python 3.10
|
|
|
113ba47 |
|
|
|
f1f3afb |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
f1f3afb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f1f3afb |
|
|
|
45c780c |
* Thu Sep 17 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.0-1
|
|
|
45c780c |
- Update to latest upstream release 1.0.0
|
|
|
45c780c |
|
|
|
45c780c |
* Mon Sep 07 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.2-1
|
|
|
45c780c |
- Initial package for Fedora
|