Blame python-click-spinner.spec

4b9e776
# Created by pyp2rpm-3.3.4
4b9e776
%global pypi_name click-spinner
4b9e776
4b9e776
Name:           python-%{pypi_name}
4b9e776
Version:        0.1.10
babcdc5
Release:        5%{?dist}
4b9e776
Summary:        Spinner for Click
4b9e776
4b9e776
License:        MIT
4b9e776
URL:            https://github.com/click-contrib/click-spinner
4b9e776
Source0:        %{pypi_source}
4b9e776
BuildArch:      noarch
4b9e776
e1359a5
Provides:       python-blindspin = %{version}-%{release}
e1359a5
Obsoletes:      python-blindspin < 2.0.1
e1359a5
4b9e776
%description
4b9e776
Click Spinner shows the user some progress when a progress bar is
4b9e776
not suitable because you don’t know how much longer it would take.
4b9e776
4b9e776
%package -n     python3-%{pypi_name}
4b9e776
Summary:        %{summary}
4b9e776
4b9e776
BuildRequires:  python3-devel
4b9e776
BuildRequires:  python3dist(click)
4b9e776
BuildRequires:  python3dist(pytest)
4b9e776
BuildRequires:  python3dist(setuptools)
4b9e776
BuildRequires:  python3dist(six)
4b9e776
%{?python_provide:%python_provide python3-%{pypi_name}}
4b9e776
4b9e776
%description -n python3-%{pypi_name}
4b9e776
Click Spinner shows the user some progress when a progress bar is
4b9e776
not suitable because you don’t know how much longer it would take.
4b9e776
4b9e776
%prep
4b9e776
%autosetup -n %{pypi_name}-%{version}
4b9e776
rm -rf %{pypi_name}.egg-info
4b9e776
4b9e776
%build
4b9e776
%py3_build
4b9e776
4b9e776
%install
4b9e776
%py3_install
4b9e776
4b9e776
%check
4b9e776
%pytest -v tests
4b9e776
4b9e776
%files -n python3-%{pypi_name}
4b9e776
%doc README.md
4b9e776
%{python3_sitelib}/click_spinner/
4b9e776
%{python3_sitelib}/click_spinner-%{version}-py%{python3_version}.egg-info/
4b9e776
4b9e776
%changelog
babcdc5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-5
babcdc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
babcdc5
9bd3b3b
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1.10-4
9bd3b3b
- Rebuilt for Python 3.10
9bd3b3b
1ffd700
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-3
1ffd700
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1ffd700
e1359a5
* Thu Nov 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.10-2
e1359a5
- Obsolete python-blindspin (#1883154)
e1359a5
4b9e776
* Fri Sep 25 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.10-1
4b9e776
- Initial package for Fedora