forked from pool/python-progressbar
2.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-progressbar?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
progressbar-2.3.tar.gz
Normal file
3
progressbar-2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:00a316c1a99b70a803d7430fd088da24f37dbfb64f81c4772b97fbc1e8031de4
|
||||||
|
size 9802
|
5
python-progressbar.changes
Normal file
5
python-progressbar.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 16 20:08:05 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial version (2.3)
|
||||||
|
|
48
python-progressbar.spec
Normal file
48
python-progressbar.spec
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
# vim: set sw=4 ts=4 et:
|
||||||
|
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||||
|
|
||||||
|
Name: python-progressbar
|
||||||
|
Version: 2.3
|
||||||
|
Release: 0
|
||||||
|
Summary: Text Progressbar Library for Python
|
||||||
|
Source: http://python-progressbar.googlecode.com/files/progressbar-%{version}.tar.gz
|
||||||
|
URL: http://code.google.com/p/python-progressbar/
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
License: GNU Lesser General Public License version 3 or later (LGPL v3 or later)
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
BuildRequires: python python-devel python-setuptools
|
||||||
|
BuildRequires: gcc make glibc-devel pkgconfig
|
||||||
|
%if 0%{?suse_version} >= 1120
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
%py_requires
|
||||||
|
|
||||||
|
%description
|
||||||
|
This library provides a text mode progressbar. This is tipically used to
|
||||||
|
display the progress of a long running operation, providing a visual clue that
|
||||||
|
processing is underway.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n "progressbar-%{version}"
|
||||||
|
find ./progressbar -type f -name '*.py' | while read py; do
|
||||||
|
%__perl -i -n -e 'print unless m,^#!, and $.==1' "$py"
|
||||||
|
done
|
||||||
|
|
||||||
|
%build
|
||||||
|
%__python ./setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__python ./setup.py install \
|
||||||
|
--prefix="%{_prefix}" \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--record-rpm=files.lst
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
|
%files -f files.lst
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE.txt README.txt
|
||||||
|
|
Reference in New Issue
Block a user