- Update to 3.5.0

* Build wheels for Python 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xxhash?expand=0&rev=31
This commit is contained in:
Dirk Mueller 2024-10-10 14:44:24 +00:00 committed by Git OBS Bridge
commit 23a0a5bd84
6 changed files with 212 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

116
python-xxhash.changes Normal file
View File

@ -0,0 +1,116 @@
-------------------------------------------------------------------
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>
- Update to 3.4.1
- Build wheels for Python 3.12
- Remove setuptools_scm
- Changes from 3.3.0
- Upgrade xxHash to v0.8.2
- Drop support for Python 3.6
- Changes from 3.2.0
- Build Python 3.11 wheels.
- Remove setup.py test_suites, call unittest directly
-------------------------------------------------------------------
Tue Oct 24 13:48:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
- use setuptools_scm to handle version in metadata properly
-------------------------------------------------------------------
Sat Jun 10 17:44:26 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Sat Oct 29 18:00:38 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 3.1.0
* Type annotations.
* Enabled muslinux wheels building.
-------------------------------------------------------------------
Fri Sep 16 23:39:44 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- update to 3.0.0
* New set algorithms_available lists all implemented algorithms in xxhash package.
* Upgrade xxHash to v0.8.1.
* Drop support for EOL Python versions, require python >= 3.6 from now on.
* Migrate to github actions and build arm64 wheels for macOS.
* Always release GIL.
-------------------------------------------------------------------
Fri Aug 27 12:21:23 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Thu Aug 26 11:46:32 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.0.2
* Fix Travis CI OSX dpl python2.7 get-pip.py error
- from version 2.0.1
* Only to trigger Python 3.9 wheels building
-------------------------------------------------------------------
Mon Aug 24 05:03:36 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.0.0:
* Require xxHash version >= v0.8.0
* Upgrade xxHash to v0.8.0
* XXH3 hashes: `xxh3_64`, `xxh3_128`, and their oneshot functions
-------------------------------------------------------------------
Tue Jul 21 11:23:49 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.4.4
* Upgrade xxHash to v0.7.3
* Stop using PEP393 deprecated APIs
* Use XXH(32|64)_canonicalFromHash to replace u2bytes and ull2bytes
-------------------------------------------------------------------
Tue Feb 4 16:26:29 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.4.3
* Upgrade xxHash to v0.7.2
* Python 3.8 wheels
-------------------------------------------------------------------
Wed Oct 30 12:26:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.4.2:
* Fixed: setup.py fails when reading README.rst and the default encoding is not UTF-8
-------------------------------------------------------------------
Sat Sep 7 09:57:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Link against system libxxhash
- Fix Leap 15 build errors
-------------------------------------------------------------------
Thu Aug 29 13:58:34 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 1.4.1
* Upgrade xxHash to v0.7.1
* Fixed: xxh3.h in missing from source tarball
-------------------------------------------------------------------
Tue Mar 26 09:21:38 UTC 2019 - pgajdos@suse.com
- version update to 1.3.0
* Wheels are now built automatically
* Split CFFI variant into a separate package
* Add oneshot functions xxh{32,64}_{,int,hex}digest
* Allow input larger than 2GB
* Release the GIL on sufficiently large input
* Drop support for Python 3.2
-------------------------------------------------------------------
Fri Nov 10 15:01:06 UTC 2017 - alarrosa@suse.com
- Initial release of xxhash 1.0.1

66
python-xxhash.spec Normal file
View File

@ -0,0 +1,66 @@
#
# spec file for package python-xxhash
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-xxhash
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 setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: xxhash-devel
%python_subpackages
%description
xxhash is a Python binding for the xxHash library.
%prep
%setup -q -n xxhash-%{version}
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export LANG=en_US.UTF-8
export XXHASH_LINK_SO=1
%python_build
%install
export LANG=en_US.UTF-8
export XXHASH_LINK_SO=1
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
export LANG=en_US.UTF-8
export XXHASH_LINK_SO=1
mv xxhash{,.hide}
%pyunittest_arch discover -v
mv xxhash{.hide,}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitearch}/xxhash
%{python_sitearch}/xxhash-%{version}*-info
%changelog

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

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

BIN
xxhash-3.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.