14
0
forked from pool/python-xxhash

4 Commits

4 changed files with 21 additions and 8 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
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>
- Update to 3.5.0
* Build wheels for Python 3.13
-------------------------------------------------------------------
Fri Nov 17 08:07:01 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

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

View File

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

BIN
xxhash-3.5.0.tar.gz LFS Normal file

Binary file not shown.