Blame python-accuweather.spec

3f75420
%global pypi_name accuweather
3f75420
3f75420
Name:           python-%{pypi_name}
84214f5
Version:        0.0.11
3f83d0b
Release:        10%{?dist}
3f75420
Summary:        Python wrapper for getting data from AccuWeather servers
3f75420
3f75420
License:        ASL 2.0
3f75420
URL:            https://github.com/bieniu/accuweather
3f75420
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
3f75420
BuildArch:      noarch
3f75420
3f75420
%description
3f75420
Python wrapper for getting weather data from AccuWeather
3f75420
servers for Limited Trial package.
3f75420
3f75420
%package -n     python3-%{pypi_name}
3f75420
Summary:        %{summary}
3f75420
3f75420
BuildRequires:  python3-devel
3f75420
BuildRequires:  python3dist(aiohttp)
3f75420
BuildRequires:  python3dist(pytest)
3f75420
BuildRequires:  python3dist(pytest-asyncio)
3f75420
BuildRequires:  python3dist(pytest-cov)
3f75420
BuildRequires:  python3dist(pytest-runner)
3f75420
BuildRequires:  python3dist(setuptools)
3f75420
%{?python_provide:%python_provide python3-%{pypi_name}}
3f75420
3f75420
%description -n python3-%{pypi_name}
3f75420
Python wrapper for getting weather data from AccuWeather
3f75420
servers for Limited Trial package.
3f75420
3f75420
%prep
3f75420
%autosetup -n %{pypi_name}-%{version}
3f75420
rm -rf %{pypi_name}.egg-info
3f75420
3f75420
%build
3f75420
%py3_build
3f75420
3f75420
%install
3f75420
%py3_install
3f75420
3f75420
%check
3f75420
%pytest -v tests
3f75420
3f75420
%files -n python3-%{pypi_name}
3f75420
%license LICENSE
3f75420
%doc README.md
3f75420
%{python3_sitelib}/%{pypi_name}/
3f75420
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
3f75420
3f75420
%changelog
3f83d0b
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-10
3f83d0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3f83d0b
a29513e
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 0.0.11-9
a29513e
- Rebuilt for Python 3.12
a29513e
84c9eb5
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-8
84c9eb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
84c9eb5
b083800
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-7
b083800
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
b083800
346f8d9
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.0.11-6
346f8d9
- Rebuilt for Python 3.11
346f8d9
6bf93b9
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-5
6bf93b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
6bf93b9
de89467
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-4
de89467
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
de89467
5fdfa57
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.11-3
5fdfa57
- Rebuilt for Python 3.10
5fdfa57
36549f4
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-2
36549f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
36549f4
84214f5
* Sat oct 10 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.11-1
84214f5
- Update to latest upstream release 0.0.11
84214f5
3f75420
* Mon Sep 07 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.10-1
3f75420
- Initial package for Fedora