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

@@ -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