forked from pool/python-libarchive-c
Accepting request 794181 from home:pgajdos:python
- version update to 2.9
* Changes to the library:
optimized the ArchiveEntry class (#94)
added support for the zstd format (#90)
fixed the top-level __all__ list (7b97d8b)
updated the code to support Python 3.8 (#88)
improved the add_file_from_memory method (#85 and #86)
lowered the level of log messages from warning to info (#83)
* Tests:
dropped testing with Python 3.4, added 3.7 and 3.8 (#88)
fixed unicode handling in entry tests (#84)
OBS-URL: https://build.opensuse.org/request/show/794181
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libarchive-c?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
06c3b9e539
commit
9e29a35e2b
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:06d44d5b9520bdac93048c72b7ed66d11a6626da16d2086f9aad079674d8e061
|
|
||||||
size 45182
|
|
||||||
3
libarchive-c-2.9.tar.gz
Normal file
3
libarchive-c-2.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60
|
||||||
|
size 46408
|
||||||
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 12:28:28 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 2.9
|
||||||
|
* Changes to the library:
|
||||||
|
optimized the ArchiveEntry class (#94)
|
||||||
|
added support for the zstd format (#90)
|
||||||
|
fixed the top-level __all__ list (7b97d8b)
|
||||||
|
updated the code to support Python 3.8 (#88)
|
||||||
|
improved the add_file_from_memory method (#85 and #86)
|
||||||
|
lowered the level of log messages from warning to info (#83)
|
||||||
|
* Tests:
|
||||||
|
dropped testing with Python 3.4, added 3.7 and 3.8 (#88)
|
||||||
|
fixed unicode handling in entry tests (#84)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:50:00 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:50:00 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-libarchive-c
|
# spec file for package python-libarchive-c
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,9 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
|
||||||
Name: python-libarchive-c
|
Name: python-libarchive-c
|
||||||
Version: 2.8
|
Version: 2.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python interface to libarchive
|
Summary: Python interface to libarchive
|
||||||
License: CC0-1.0
|
License: CC0-1.0
|
||||||
@@ -31,11 +30,11 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: libarchive-devel
|
Requires: libarchive-devel
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: libarchive-devel
|
BuildRequires: libarchive-devel
|
||||||
%endif
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -52,10 +51,9 @@ dynamically load and access the C library.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
export LANG="en_US.UTF-8"
|
||||||
%endif
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user