commit 9a3d019acc7fda387e1d24e388023cb102c0695b9b5e38860c4c6312383072b6 Author: Adrian Schröter Date: Fri May 3 20:51:29 2024 +0200 Sync from SUSE:SLFO:Main python-google-crc32c revision 5a875141fd136eeaa245cd1915bbaf38 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/google-crc32c-1.5.0.tar.gz b/google-crc32c-1.5.0.tar.gz new file mode 100644 index 0000000..33cb549 --- /dev/null +++ b/google-crc32c-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:029111b916bf130d9bcb13ad81d592e66623713f7791dd6d2bf366afd15dacf6 +size 26715 diff --git a/python-google-crc32c.changes b/python-google-crc32c.changes new file mode 100644 index 0000000..5cb6b06 --- /dev/null +++ b/python-google-crc32c.changes @@ -0,0 +1,44 @@ +------------------------------------------------------------------- +Sat Dec 16 20:04:15 UTC 2023 - Dirk Müller + +- use modern python stack for sle15 + +------------------------------------------------------------------- +Tue Sep 6 14:45:57 UTC 2022 - John Vandenberg + +- Update to v1.5.0 + * add support for Python 3.11 + * drop support for python 3.6 + * fix changelog header to consistent size +- from v1.4.0 + * add 'py.typed' declaration + * add empty slots to CommonChecksum + +------------------------------------------------------------------- +Thu Apr 7 10:36:52 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 1.3.0 + Features + * add support for Python 3.10 (#116) +- from version 1.2.0 + Features + * build wheels using CIBuildWheel (#103) + Documentation + * update list of supported wheel platforms / architectures (#105) +- from version 1.1.5 + Bug Fixes + * revert to silent fallback to pure-Python build (#93) + * fix segfault on MacOS 11 ("Big Sur") for Python < 3.9 (#93) +- from version 1.1.4 + Bug Fixes + * advise setting 'CRC32C_PURE_PYTHON' after build failure (#84) + * restore building 'manylinux1' wheels (#87) + * use correct Python 3.10 specifier (#88) +- from version 1.1.3 + Performance Improvements + * replace CFFI with a native C extension (#76) + +------------------------------------------------------------------- +Fri Jun 4 08:56:19 UTC 2021 - Matej Cepl + +- Initial packaging effort for google-crc32c version 1.1.2. diff --git a/python-google-crc32c.spec b/python-google-crc32c.spec new file mode 100644 index 0000000..f44ac5e --- /dev/null +++ b/python-google-crc32c.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-google-crc32c +# +# 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} +%define modname google-crc32c +Name: python-google-crc32c +Version: 1.5.0 +Release: 0 +Summary: A python wrapper of the C library 'Google CRC32C' +License: Apache-2.0 +URL: https://github.com/googleapis/python-crc32c +Source: https://github.com/googleapis/python-crc32c/archive/refs/tags/v%{version}.tar.gz#/google-crc32c-%{version}.tar.gz +BuildRequires: %{python_module cffi >= 1.0.0} +BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: libcrc32c-devel +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +%python_subpackages + +%description +A python wrapper of the C library 'Google CRC32C'. + +%prep +%autosetup -p1 -n python-crc32c-%{version} + +%build +export CFLAGS="%{optflags}" +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%pytest_arch + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitearch}/google_crc32c +%{python_sitearch}/google_crc32c-%{version}.dist-info + +%changelog