69 lines
1.9 KiB
RPMSpec
69 lines
1.9 KiB
RPMSpec
%global debug_package %{nil}
|
|
|
|
Name: python-tqdm
|
|
Version: 4.64.0
|
|
Release: 1
|
|
Summary: A Fast and Extensible Progress Bar for Python and CLI
|
|
License: MPLv2.0 and MIT
|
|
URL: https://github.com/tqdm/tqdm
|
|
Source0: https://files.pythonhosted.org/packages/98/2a/838de32e09bd511cf69fe4ae13ffc748ac143449bfc24bb3fd172d53a84f/tqdm-4.64.0.tar.gz
|
|
|
|
BuildRequires: python3-devel python3-setuptools gcc python3-toml python3-setuptools_scm
|
|
|
|
%description
|
|
tqdm derives from the Arabic word taqaddum which can mean "progress". Instantly
|
|
make your loops show a smart progress meter - just wrap any iterable with
|
|
tqdm(interable), and you are done!
|
|
|
|
%package -n python3-tqdm
|
|
Summary: A Fast and Extensible Progress Bar for Python and CLI
|
|
|
|
%{?python_provide:%python_provide python3-tqdm}
|
|
|
|
%description -n python3-tqdm
|
|
tqdm derives from the Arabic word taqaddum which can mean "progress". Instantly
|
|
make your loops show a smart progress meter - just wrap any iterable with
|
|
tqdm(interable), and you are done!
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n tqdm-%{version} -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
|
mv -v %{buildroot}%{python3_sitelib}/tqdm/tqdm.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
%files -n python3-tqdm
|
|
%defattr(-,root,root)
|
|
%doc README.rst examples
|
|
%license LICENCE
|
|
%{_bindir}/tqdm
|
|
%{python3_sitelib}/tqdm-*.egg-info/
|
|
%{python3_sitelib}/tqdm/
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%{_mandir}/man1/tqdm.1*
|
|
|
|
%changelog
|
|
* Wed Aug 3 2022 kkz <zhaoshuang@uniontech.com> - 4.64.0-1
|
|
- Update to 4.64.0
|
|
|
|
* Thu Jun 24 2021 hanhui <hanhui15@huawei.com> - 4.56.0-2
|
|
- add BuildRequires:gcc python3-toml python3-setuptools_scm
|
|
|
|
* Mon Feb 1 2021 chengguipeng <chengguiopeng1@huawei.com> - 4.56.0-1
|
|
- Update to 4.56.0
|
|
|
|
* Thu May 28 2020 huanghaitao <huanghaitao8@huawei.com> - 4.28.1-2
|
|
- Remove tests
|
|
|
|
* Wed Mar 4 2020 hexiujun <hexiujun1@huawei.com> - 4.28.1-1
|
|
- Package init
|