15
0

Accepting request 1035444 from home:mnhauke

- Update to version 5.0
  * Add support for enums
  * Add support for multiple definition to cstruct.parse
  * Add inspect method

OBS-URL: https://build.opensuse.org/request/show/1035444
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cstruct?expand=0&rev=9
This commit is contained in:
2022-11-14 08:00:03 +00:00
committed by Git OBS Bridge
parent 9108b57495
commit d757aa3ef3
4 changed files with 12 additions and 5 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Nov 12 11:16:08 UTC 2022 - Martin Hauke <mardnh@gmx.de>
- Update to version 5.0
* Add support for enums
* Add support for multiple definition to cstruct.parse
* Add inspect method
-------------------------------------------------------------------
Fri Nov 4 19:12:43 UTC 2022 - Martin Hauke <mardnh@gmx.de>

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cstruct
Version: 4.0
Version: 5.0
Release: 0
Summary: C-style structs for Python
License: MIT
@@ -52,7 +52,6 @@ a string.
%install
%python_install
%python_expand find %{buildroot}%{$python_sitelib} -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \;
%python_expand rm -R %{buildroot}%{$python_sitelib}/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check