15
0

Accepting request 1129796 from devel:languages:python

- 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/request/show/1129796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitstruct?expand=0&rev=6
This commit is contained in:
2023-11-30 21:00:43 +00:00
committed by Git OBS Bridge
4 changed files with 24 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb94b40e4218a23aa8f90406b836a9e6ed83e48b8d112ce3f96408463bd1b874
size 35315

3
bitstruct-8.19.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d75ba9dded85c17e885a209a00eb8e248ee40762149f2f2a79360ca857467dac
size 35631

View File

@@ -1,10 +1,22 @@
-------------------------------------------------------------------
Wed Nov 29 12:21:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <yarunachalam@suse.com>
@@ -38,7 +50,7 @@ Tue Jul 21 05:57:35 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <mardnh@gmx.de>

View File

@@ -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 devel >= 3.7}
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}