Accepting request 533207 from home:apersaud:branches:devel:languages:python

Please check new man page setup

- specfile:
  * added man page, fixed path for man-page in setup.py
  * added fdupes
- update to version 4.19.2:
  * flush() on refresh() (#459 from #317)
  * status printer updates (#331)
    + use sp() in refresh()
    + remove redundant clear():nomove=False
  * misc minor documentation updates
  * unit tests
- changes from version 4.19.1:
  * rate_(no)inv(_fmt) (#72, b228bc3)
  * __repr__() tidy (#389)
  * fix write() before initialisation AttributeError: _lock (#457)
  * man pages
  * documentation updates

OBS-URL: https://build.opensuse.org/request/show/533207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=11
This commit is contained in:
Thomas Bechtold 2017-10-11 06:59:36 +00:00 committed by Git OBS Bridge
parent 1701033f69
commit 81ede59d2c
4 changed files with 33 additions and 5 deletions

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Oct 10 01:44:30 UTC 2017 - arun@gmx.de
- specfile:
* added man page, fixed path for man-page in setup.py
* added fdupes
- update to version 4.19.2:
* flush() on refresh() (#459 from #317)
* status printer updates (#331)
+ use sp() in refresh()
+ remove redundant clear():nomove=False
* misc minor documentation updates
* unit tests
- changes from version 4.19.1:
* rate_(no)inv(_fmt) (#72, b228bc3)
* __repr__() tidy (#389)
* fix write() before initialisation AttributeError: _lock (#457)
* man pages
* documentation updates
-------------------------------------------------------------------
Fri Oct 6 14:01:07 UTC 2017 - jengelh@inai.de

View File

@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-tqdm
Version: 4.18.0
Version: 4.19.2
Release: 0
Summary: An extensible progress meter
License: MPL-2.0 and MIT
@ -30,6 +30,7 @@ Source: https://files.pythonhosted.org/packages/source/t/tqdm/tqdm-%{ver
BuildRequires: %{python_module devel}
BuildRequires: %{python_module rpm-macros}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
%if %{with test}
@ -53,6 +54,8 @@ and does not require ncurses.
%prep
%setup -q -n tqdm-%{version}
# fix installation directory for man pages
sed -i 's#man/man1#share/man/man1#' setup.py
%build
%python_build
@ -60,9 +63,11 @@ and does not require ncurses.
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/tqdm
%python_clone -a %{buildroot}%{_mandir}/man1/tqdm.1
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative tqdm
%{python_install_alternative tqdm tqdm.1}
%postun
%python_uninstall_alternative tqdm
@ -82,5 +87,6 @@ and does not require ncurses.
%endif
%{python_sitelib}/*
%python_alternative %{_bindir}/tqdm
%python_alternative %{_mandir}/man1/tqdm.1
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eea226601a7fe0b39ef4266a7de7ab50746a4e5c13306036fd05b06f9c9aad29
size 97279

3
tqdm-4.19.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6fd7479f3fb0ba653290e61d97917b2621c51cc8e31dc19963b5002904abaa1
size 98623