commit 23a0a5bd846d84cbb8b889b90685b860dd5a190328a32b0896887025548ac6f3 Author: Dirk Mueller Date: Thu Oct 10 14:44:24 2024 +0000 - 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-xxhash.changes b/python-xxhash.changes new file mode 100644 index 0000000..b8fd334 --- /dev/null +++ b/python-xxhash.changes @@ -0,0 +1,116 @@ +------------------------------------------------------------------- +Thu Oct 10 14:36:39 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 3.5.0 + * Build wheels for Python 3.13 + +------------------------------------------------------------------- +Fri Nov 17 08:07:01 UTC 2023 - ecsos + +- 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 + +- use setuptools_scm to handle version in metadata properly + +------------------------------------------------------------------- +Sat Jun 10 17:44:26 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sat Oct 29 18:00:38 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 3.1.0 + * Type annotations. + * Enabled muslinux wheels building. + +------------------------------------------------------------------- +Fri Sep 16 23:39:44 UTC 2022 - Yogalakshmi Arunachalam + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- Link against system libxxhash +- Fix Leap 15 build errors + +------------------------------------------------------------------- +Thu Aug 29 13:58:34 UTC 2019 - Marketa Calabkova + +- 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 diff --git a/python-xxhash.spec b/python-xxhash.spec new file mode 100644 index 0000000..607e875 --- /dev/null +++ b/python-xxhash.spec @@ -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 diff --git a/xxhash-3.4.1.tar.gz b/xxhash-3.4.1.tar.gz new file mode 100644 index 0000000..7c8febf --- /dev/null +++ b/xxhash-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0379d6cf1ff987cd421609a264ce025e74f346e3e145dd106c0cc2e3ec3f99a9 +size 84220 diff --git a/xxhash-3.5.0.tar.gz b/xxhash-3.5.0.tar.gz new file mode 100644 index 0000000..a707ff3 --- /dev/null +++ b/xxhash-3.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84f2caddf951c9cbf8dc2e22a89d4ccf5d86391ac6418fe81e3c67d0cf60b45f +size 84241