15
0

Accepting request 523264 from home:jengelh:branches:devel:languages:python

- Compact description.

OBS-URL: https://build.opensuse.org/request/show/523264
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipstream?expand=0&rev=2
This commit is contained in:
Jan Matejek
2017-09-11 15:42:07 +00:00
committed by Git OBS Bridge
parent cca735cc8a
commit a2755c75ab
2 changed files with 14 additions and 10 deletions

View File

@@ -13,6 +13,7 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,15 +21,15 @@
Name: python-zipstream
Version: 1.1.4
Release: 0
License: GPL-3.0+
Summary: Zipfile generator
Url: https://github.com/allanlei/python-zipstream
License: GPL-3.0+
Group: Development/Languages/Python
Url: https://github.com/allanlei/python-zipstream
Source: https://files.pythonhosted.org/packages/source/z/zipstream/zipstream-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module nose}
%endif
@@ -37,12 +38,10 @@ BuildArch: noarch
%python_subpackages
%description
zipstream.py is a zip archive generator based on python 3.3's zipfile.py.
It was created to generate a zip file generator for streaming (ie web apps).
This is beneficial for when you want to provide a downloadable archive of a
large collection of regular files, which would be infeasible to generate the
archive prior to downloading or of a very large file that you do not want
to store entirely on disk or on memory.
zipstream.py is a ZIP archive generator based on Python 3.3's zipfile.py.
zipstream can create archives on the fly, which is useful for streaming
the archive to e.g. web clients without needing to store the archive on
disk first.
%prep
%setup -q -n zipstream-%{version}