14
0
forked from pool/python-zstd

- Update to 1.5.7.2

* caching number of available cores from cpuinfo
    by 60 seconds (VM may change settings)
- from version 1.5.7.1
  * fixed function ZSTD_min_compression_level() - now
    returns real number, not some shifted int value
  * added some information functions about debug level
    builded with
  * module now building with -O3 level of optimization.
    Probably will be about 20% faster
  * module now building with binary stripping
    (wheels for 3.13 and 3.14 will be smaller)
  * module now building with disabled LTO
  * added pypy builds
- from version 1.5.7.0
  * Update bundled libzstd to 1.5.7
  * Wheel for linux are here and pipy (built
    on Ubuntu xenial, gcc-5, manylinux_2_14)
- from version 1.5.6.8
  * Make decompression of zstd stream data possible
    #228 and #100
  * Wheel for python3.12 amd64 uploaded here
- from version 1.5.6.7
  * support of multiple instances of interpreter
    with own GIL by @domysh
- Set ZSTD_EXTERNAL=1 to use system-provided libzstd
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=38
This commit is contained in:
2025-07-26 05:18:52 +00:00
committed by Git OBS Bridge
parent ed37617a12
commit e9983e96cc
4 changed files with 43 additions and 6 deletions

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Fri Jul 25 08:35:52 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.5.7.2
* caching number of available cores from cpuinfo
by 60 seconds (VM may change settings)
- from version 1.5.7.1
* fixed function ZSTD_min_compression_level() - now
returns real number, not some shifted int value
* added some information functions about debug level
builded with
* module now building with -O3 level of optimization.
Probably will be about 20% faster
* module now building with binary stripping
(wheels for 3.13 and 3.14 will be smaller)
* module now building with disabled LTO
* added pypy builds
- from version 1.5.7.0
* Update bundled libzstd to 1.5.7
* Wheel for linux are here and pipy (built
on Ubuntu xenial, gcc-5, manylinux_2_14)
- from version 1.5.6.8
* Make decompression of zstd stream data possible
#228 and #100
* Wheel for python3.12 amd64 uploaded here
- from version 1.5.6.7
* support of multiple instances of interpreter
with own GIL by @domysh
- Set ZSTD_EXTERNAL=1 to use system-provided libzstd
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
-------------------------------------------------------------------
Sun Mar 30 08:06:34 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-zstd
Version: 1.5.6.6
Version: 1.5.7.2
Release: 0
Summary: ZSTD Bindings for Python
License: BSD-2-Clause
@@ -27,8 +27,10 @@ URL: https://github.com/sergey-dryabzhinsky/python-zstd
Source: https://files.pythonhosted.org/packages/source/z/zstd/zstd-%{version}.tar.gz
Patch0: test-external.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -49,10 +51,11 @@ sed -i -e '/test_version/d' tests/__init__.py
%build
export CFLAGS="%{optflags}"
%python_build --legacy --external
export ZSTD_EXTERNAL=1
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check

View File

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

3
zstd-1.5.7.2.tar.gz Normal file
View File

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