|
|
f4870d5 |
%global pypi_name pyairnow
|
|
|
f4870d5 |
|
|
|
f4870d5 |
Name: python-%{pypi_name}
|
|
|
f4870d5 |
Version: 1.1.0
|
|
|
49f1950 |
Release: 12%{?dist}
|
|
|
f4870d5 |
Summary: Python wrapper for EPA AirNow Air Quality API
|
|
|
f4870d5 |
|
|
|
f4870d5 |
License: MIT
|
|
|
f4870d5 |
URL: https://github.com/asymworks/pyairnow
|
|
|
f4870d5 |
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
f4870d5 |
BuildArch: noarch
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%description
|
|
|
f4870d5 |
pyairnow is a simple and thin client library for interacting with the
|
|
|
f4870d5 |
AirNow United States EPA Air Quality Index API.
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%package -n python3-%{pypi_name}
|
|
|
f4870d5 |
Summary: %{summary}
|
|
|
f4870d5 |
|
|
|
f4870d5 |
BuildRequires: python3-devel
|
|
|
f4870d5 |
BuildRequires: pyproject-rpm-macros
|
|
|
f4870d5 |
BuildRequires: python3dist(pytest)
|
|
|
f4870d5 |
BuildRequires: python3dist(aioresponses)
|
|
|
f4870d5 |
BuildRequires: python3dist(pytest-asyncio)
|
|
|
f4870d5 |
BuildRequires: python3dist(pytest-cov)
|
|
|
f4870d5 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%description -n python3-%{pypi_name}
|
|
|
f4870d5 |
pyairnow is a simple and thin client library for interacting with the
|
|
|
f4870d5 |
AirNow United States EPA Air Quality Index API.
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%prep
|
|
|
f4870d5 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
f4870d5 |
%generate_buildrequires
|
|
|
f4870d5 |
%pyproject_buildrequires -r
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%build
|
|
|
f4870d5 |
%pyproject_wheel
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%install
|
|
|
f4870d5 |
%pyproject_install
|
|
|
f4870d5 |
%pyproject_save_files %{pypi_name}
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%check
|
|
|
f4870d5 |
%pytest -v tests
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
f4870d5 |
%license LICENSE
|
|
|
f4870d5 |
%doc README.md
|
|
|
f4870d5 |
|
|
|
f4870d5 |
%changelog
|
|
|
49f1950 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
|
|
|
49f1950 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
49f1950 |
|
|
|
9982048 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
|
|
|
9982048 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
9982048 |
|
|
|
e2a7461 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
|
|
|
e2a7461 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
e2a7461 |
|
|
|
d7b77b7 |
* Sun Jul 02 2023 Python Maint <python-maint@redhat.com> - 1.1.0-9
|
|
|
d7b77b7 |
- Rebuilt for Python 3.12
|
|
|
d7b77b7 |
|
|
|
bf15d0c |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
|
bf15d0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
bf15d0c |
|
|
|
7930d50 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
|
|
|
7930d50 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
7930d50 |
|
|
|
24f02da |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 1.1.0-6
|
|
|
24f02da |
- Rebuilt for Python 3.11
|
|
|
24f02da |
|
|
|
9286e4d |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
|
|
9286e4d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
9286e4d |
|
|
|
8ec7e78 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
|
|
8ec7e78 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
8ec7e78 |
|
|
|
8cdb454 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.0-3
|
|
|
8cdb454 |
- Rebuilt for Python 3.10
|
|
|
8cdb454 |
|
|
|
8d06f47 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
8d06f47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8d06f47 |
|
|
|
f4870d5 |
* Thu Sep 17 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.0-1
|
|
|
f4870d5 |
- Initial package for Fedora
|