commit 58b352a8258a2ac589beb8124bf3913f7f60918651b3f9147f55886736f8a309 Author: Adrian Schröter Date: Fri May 3 23:34:43 2024 +0200 Sync from SUSE:SLFO:Main python-xxhash revision 5c54bb3364d42e2ba3d1a80bcd73109d 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/python-xxhash.changes b/python-xxhash.changes new file mode 100644 index 0000000..095f3ef --- /dev/null +++ b/python-xxhash.changes @@ -0,0 +1,87 @@ +------------------------------------------------------------------- +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..42bb557 --- /dev/null +++ b/python-xxhash.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-xxhash +# +# Copyright (c) 2022 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-xxhash +Version: 3.1.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} +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}/* + +%changelog diff --git a/xxhash-3.1.0.tar.gz b/xxhash-3.1.0.tar.gz new file mode 100644 index 0000000..2be2e18 --- /dev/null +++ b/xxhash-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac21b1e21dc6fdfee9a57b53f4777539d53a84f2e1546a3f802f159f9966bdc1 +size 74389