2cc9585
%global pypi_name pysqueezebox
2cc9585
2cc9585
Name:           python-%{pypi_name}
9addcdf
Version:        0.5.5
53b5510
Release:        14%{?dist}
2cc9585
Summary:        Python library to control Logitech Media Server
2cc9585
2cc9585
License:        ASL 2.0
2cc9585
URL:            https://github.com/rajlaud/pysqueezebox
a010990
Source0:        %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
2cc9585
BuildArch:      noarch
2cc9585
2cc9585
%description
2cc9585
Python library to control a Logitech Media Server asynchronously.
2cc9585
2cc9585
%package -n     python3-%{pypi_name}
2cc9585
Summary:        %{summary}
2cc9585
2cc9585
BuildRequires:  python3-devel
2cc9585
BuildRequires:  python3dist(setuptools)
9addcdf
BuildRequires:  python3dist(pytest)
6bc7bff
BuildRequires:  python3dist(aiohttp)
b246518
BuildRequires:  python3dist(async-timeout)
2cc9585
%{?python_provide:%python_provide python3-%{pypi_name}}
2cc9585
b246518
# This can be removed after the package is updated to 0.6.2 or later; upstream
b246518
# added the dependency to the metadata in
b246518
# https://github.com/rajlaud/pysqueezebox/commit/8cfc54b28992ea3c9034e5dfb73e486a24501673.
b246518
Requires:       python3dist(async-timeout)
b246518
2cc9585
%description -n python3-%{pypi_name}
2cc9585
Python library to control a Logitech Media Server asynchronously.
2cc9585
2cc9585
%prep
2cc9585
%autosetup -n %{pypi_name}-%{version}
2cc9585
rm -rf %{pypi_name}.egg-info
2cc9585
2cc9585
%build
2cc9585
%py3_build
2cc9585
2cc9585
%install
2cc9585
%py3_install
2cc9585
9addcdf
%check
9addcdf
%pytest -v tests --ignore tests/test_integration.py
2cc9585
2cc9585
%files -n python3-%{pypi_name}
2cc9585
%doc README.md
9addcdf
%license LICENSE
2cc9585
%{python3_sitelib}/%{pypi_name}/
2cc9585
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
2cc9585
2cc9585
%changelog
53b5510
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.5.5-14
53b5510
- Rebuilt for Python 3.13
53b5510
73b1299
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-13
73b1299
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
73b1299
a6b84c4
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-12
a6b84c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a6b84c4
b246518
* Sat Dec 02 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.5.5-11
b246518
- Add explicit async-timeout dependency
b246518
2f3a9c9
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-10
2f3a9c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2f3a9c9
c22bde8
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 0.5.5-9
c22bde8
- Rebuilt for Python 3.12
c22bde8
88e0e4f
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-8
88e0e4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
88e0e4f
1842ba2
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-7
1842ba2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1842ba2
62cc3d3
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.5.5-6
62cc3d3
- Rebuilt for Python 3.11
62cc3d3
deada53
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-5
deada53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
deada53
53993cc
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-4
53993cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
53993cc
38f9f29
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.5-3
38f9f29
- Rebuilt for Python 3.10
38f9f29
67eff38
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-2
67eff38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
67eff38
9addcdf
* Wed Dec 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.5-1
9addcdf
- Enable tests
9addcdf
- Update to latest upstream release 0.5.5
9addcdf
a010990
* Mon Oct 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.2-1
a010990
- Update to latest upstream release 0.5.2 (#1884991)
a010990
2cc9585
* Fri Oct 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
2cc9585
- Initial package for Fedora