From bae3c77837f45e5597c261bd2e57376a47c463a672841e6968de3187a5d82544 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 29 Nov 2023 12:22:57 +0000 Subject: [PATCH] - update to 8.19.0: * Python 3.12 support * raise minimum python version to 3.7 because of setuptools compatibility * try to fix pytest command * do not limit max. parallel CI jobs * use pytest * remove verbose output * Fix Text encoding and Errors to compile * Only build C extension for CPython 3. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstruct?expand=0&rev=12 --- bitstruct-8.17.0.tar.gz | 3 --- bitstruct-8.19.0.tar.gz | 3 +++ python-bitstruct.changes | 16 ++++++++++++++-- python-bitstruct.spec | 13 ++++++------- 4 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 bitstruct-8.17.0.tar.gz create mode 100644 bitstruct-8.19.0.tar.gz diff --git a/bitstruct-8.17.0.tar.gz b/bitstruct-8.17.0.tar.gz deleted file mode 100644 index 7c94c36..0000000 --- a/bitstruct-8.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb94b40e4218a23aa8f90406b836a9e6ed83e48b8d112ce3f96408463bd1b874 -size 35315 diff --git a/bitstruct-8.19.0.tar.gz b/bitstruct-8.19.0.tar.gz new file mode 100644 index 0000000..907c813 --- /dev/null +++ b/bitstruct-8.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d75ba9dded85c17e885a209a00eb8e248ee40762149f2f2a79360ca857467dac +size 35631 diff --git a/python-bitstruct.changes b/python-bitstruct.changes index c09b539..d36283f 100644 --- a/python-bitstruct.changes +++ b/python-bitstruct.changes @@ -1,10 +1,22 @@ +------------------------------------------------------------------- +Wed Nov 29 12:21:43 UTC 2023 - Dirk Müller + +- update to 8.19.0: + * Python 3.12 support + * raise minimum python version to 3.7 because of setuptools + compatibility + * try to fix pytest command + * do not limit max. parallel CI jobs + * use pytest + * remove verbose output + ------------------------------------------------------------------- Sun May 7 18:50:29 UTC 2023 - Dirk Müller - update to 8.17.0: * Text encoding and error action to unpack operations * Fix memory leak - * Fix Text encoding and Errors to compile + * Fix Text encoding and Errors to compile ------------------------------------------------------------------- Fri Sep 9 19:22:57 UTC 2022 - Yogalakshmi Arunachalam @@ -38,7 +50,7 @@ Tue Jul 21 05:57:35 UTC 2020 - Steve Kowalik - Update to 8.11.0: * Add support for copy and deepcopy inC extension. - * Only build C extension for CPython 3. + * Only build C extension for CPython 3. ------------------------------------------------------------------- Fri Apr 3 15:07:22 UTC 2020 - Martin Hauke diff --git a/python-bitstruct.spec b/python-bitstruct.spec index a3a1376..fe9c658 100644 --- a/python-bitstruct.spec +++ b/python-bitstruct.spec @@ -17,18 +17,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-bitstruct -Version: 8.17.0 +Version: 8.19.0 Release: 0 Summary: Interpret strings as packed binary data License: MIT URL: https://github.com/eerimoq/bitstruct Source: https://files.pythonhosted.org/packages/source/b/bitstruct/bitstruct-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -42,14 +42,13 @@ module, but working on bits instead of primitive data types (char, int, ...). %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -mv bitstruct bitstruct.hide %pyunittest_arch discover -v tests %files %{python_files}