14
0
forked from pool/python-xxhash

4 Commits

4 changed files with 25 additions and 8 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Oct 20 13:55:02 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.6.0
* Build wheels for Python 3.14
* Python free-threading support
* Typing: Use Buffer type stubs
* Deprecate xxhash.VERSION_TUPLE, it will be removed
in the next major release
-------------------------------------------------------------------
Fri May 2 03:21:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 10 14:36:39 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Thu Oct 10 14:36:39 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-xxhash # spec file for package python-xxhash
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 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
@@ -18,15 +18,17 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-xxhash Name: python-xxhash
Version: 3.5.0 Version: 3.6.0
Release: 0 Release: 0
Summary: Python binding for xxHash Summary: Python binding for xxHash
License: BSD-2-Clause License: BSD-2-Clause
URL: https://github.com/ifduyue/python-xxhash URL: https://github.com/ifduyue/python-xxhash
Source: https://files.pythonhosted.org/packages/source/x/xxhash/xxhash-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/x/xxhash/xxhash-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: xxhash-devel BuildRequires: xxhash-devel
@@ -42,12 +44,12 @@ xxhash is a Python binding for the xxHash library.
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export XXHASH_LINK_SO=1 export XXHASH_LINK_SO=1
%python_build %pyproject_wheel
%install %install
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export XXHASH_LINK_SO=1 export XXHASH_LINK_SO=1
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
@@ -61,6 +63,6 @@ mv xxhash{.hide,}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitearch}/xxhash %{python_sitearch}/xxhash
%{python_sitearch}/xxhash-%{version}*-info %{python_sitearch}/xxhash-%{version}.dist-info
%changelog %changelog

Binary file not shown.

3
xxhash-3.6.0.tar.gz Normal file
View File

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