forked from pool/python-zipstream-ng
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
43eb56052b | |||
0fdd1d4262 | |||
45ff170ba6 | |||
f99b45e464 |
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 6 03:00:59 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 16 07:43:51 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||
|
||||
- Update to 1.8.0:
|
||||
* Support adding directory contents at the top level of the
|
||||
ZipStream by specifying an arcname of /
|
||||
* Fix issue where leading path separators could cause an
|
||||
incorrect size to be calculated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 06:43:48 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zipstream-ng
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,16 +17,18 @@
|
||||
|
||||
|
||||
Name: python-zipstream-ng
|
||||
Version: 1.7.1
|
||||
Version: 1.8.0
|
||||
Release: 0
|
||||
Summary: Modern and easy to use streamable zip file generator
|
||||
License: LGPL-3.0
|
||||
License: LGPL-3.0-only
|
||||
URL: https://github.com/pR0Ps/zipstream-ng
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zipstream-ng/zipstream-ng-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zipstream-ng/zipstream_ng-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
BuildArch: noarch
|
||||
@@ -54,16 +56,16 @@ Features:
|
||||
* No external dependencies.
|
||||
|
||||
%prep
|
||||
%autosetup -n zipstream-ng-%{version}
|
||||
%autosetup -n zipstream_ng-%{version}
|
||||
|
||||
# Remove shebangs for sitelib
|
||||
find . -type f -name "*.py" -exec sed -i '/^#!.*env python.*/d' {} ';'
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/zipserver
|
||||
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f92023b9ca578cd7fdd94ec733c65664ecf7ee32493e38cdf8e365a1316e9ffc
|
||||
size 35488
|
3
zipstream_ng-1.8.0.tar.gz
Normal file
3
zipstream_ng-1.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b7129d2c15d26934b3e1cb22256593b6bdbd03c553c26f4199a5bf05110642bc
|
||||
size 35887
|
Reference in New Issue
Block a user