Blame python-xboxapi.spec

dac89e7
%global pypi_name xboxapi
dac89e7
dac89e7
Name:           python-%{pypi_name}
dac89e7
Version:        2.0.1
141c724
Release:        10%{?dist}
dac89e7
Summary:        Python XBOX One API wrapper
dac89e7
dac89e7
License:        MIT
dac89e7
URL:            https://github.com/mKeRix/xboxapi-python
dac89e7
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
dac89e7
BuildArch:      noarch
dac89e7
dac89e7
BuildRequires:  python3-devel
dac89e7
BuildRequires:  python3dist(setuptools)
dac89e7
dac89e7
%description
dac89e7
This is a Python wrapper for the unofficial Xbox API.
dac89e7
dac89e7
%package -n     python3-%{pypi_name}
dac89e7
Summary:        %{summary}
dac89e7
dac89e7
BuildRequires:  python3-devel
dac89e7
BuildRequires:  python3dist(setuptools)
dac89e7
BuildRequires:  python3dist(pytest)
dac89e7
%{?python_provide:%python_provide python3-%{pypi_name}}
dac89e7
dac89e7
%description -n python3-%{pypi_name}
dac89e7
This is a Python wrapper for the unofficial Xbox API.
dac89e7
dac89e7
%prep
dac89e7
%autosetup -n %{pypi_name}-python-%{version}
dac89e7
rm -rf %{pypi_name}.egg-info
dac89e7
dac89e7
%build
dac89e7
%py3_build
dac89e7
dac89e7
%install
dac89e7
%py3_install
dac89e7
dac89e7
%check
dac89e7
%pytest -v tests
dac89e7
dac89e7
%files -n python3-%{pypi_name}
dac89e7
%license LICENSE
dac89e7
%doc README.md
dac89e7
%{python3_sitelib}/%{pypi_name}/
dac89e7
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
dac89e7
dac89e7
%changelog
141c724
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-10
141c724
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
141c724
8f0b0fe
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.1-9
8f0b0fe
- Rebuilt for Python 3.12
8f0b0fe
0059d11
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-8
0059d11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0059d11
3a667d1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-7
3a667d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3a667d1
9923e7e
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.1-6
9923e7e
- Rebuilt for Python 3.11
9923e7e
f08525d
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-5
f08525d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f08525d
4ebaaa9
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
4ebaaa9
- Second attempt - Rebuilt for
4ebaaa9
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
4ebaaa9
a56fed1
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.1-3
a56fed1
- Rebuilt for Python 3.10
a56fed1
06658b2
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
06658b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
06658b2
dac89e7
* Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.1-1
dac89e7
- Initial package for Fedora