From 1290b9e17a39771be3dcd7496a68ec626b91588b4bb49f5c60e1eec2514aa00d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 8 Sep 2024 13:06:35 +0000 Subject: [PATCH] - update to 1.6.0: * Add support for python 3.12 * Build using Visual Studio 17 2022 instead of Visual Studio 16 2019 * Drop support for python 3.7 and 3.8 * Drop support for Windows 32bit which is not supported in Visual Studio 17 2022 * Remove manylinux1 which is no longer supported by PyPA OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-crc32c?expand=0&rev=12 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + google-crc32c-1.5.0.tar.gz | 3 ++ google-crc32c-1.6.0.tar.gz | 3 ++ python-google-crc32c.changes | 61 ++++++++++++++++++++++++++++++++++ python-google-crc32c.spec | 63 ++++++++++++++++++++++++++++++++++++ 6 files changed, 154 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 google-crc32c-1.5.0.tar.gz create mode 100644 google-crc32c-1.6.0.tar.gz create mode 100644 python-google-crc32c.changes create mode 100644 python-google-crc32c.spec 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/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/google-crc32c-1.6.0.tar.gz b/google-crc32c-1.6.0.tar.gz new file mode 100644 index 0000000..73971dd --- /dev/null +++ b/google-crc32c-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:487897d69003543acc7771c73586a2868e8fb1e3dae87d38396d087cf62aa1ac +size 65326 diff --git a/python-google-crc32c.changes b/python-google-crc32c.changes new file mode 100644 index 0000000..30b8e95 --- /dev/null +++ b/python-google-crc32c.changes @@ -0,0 +1,61 @@ +------------------------------------------------------------------- +Sun Sep 8 13:05:53 UTC 2024 - Dirk Müller + +- update to 1.6.0: + * Add support for python 3.12 + * Build using Visual Studio 17 2022 instead of Visual Studio 16 + 2019 + * Drop support for python 3.7 and 3.8 + * Drop support for Windows 32bit which is not supported in + Visual Studio 17 2022 + * Remove manylinux1 which is no longer supported by PyPA + +------------------------------------------------------------------- +Mon Feb 26 20:33:31 UTC 2024 - Robert Schweikert + +- Include in SLE 15 SP4 and later (jsc#PED-6697) + +------------------------------------------------------------------- +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..3cc0670 --- /dev/null +++ b/python-google-crc32c.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-google-crc32c +# +# Copyright (c) 2024 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.6.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