forked from pool/python-cstruct
Accepting request 1035578 from devel:languages:python
- 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/1035578 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cstruct?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db0711342f3fbe4a53f2fe020e3464e2fc06ea8e246dee0ffce358ea4ae95ab4
|
||||
size 28370
|
||||
3
python-cstruct-5.0.tar.gz
Normal file
3
python-cstruct-5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e929b879b9ebdac49bce16e170499180a7273bf381393da27a46bcdefea3fc7
|
||||
size 36194
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -17,9 +17,8 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!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 +51,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
|
||||
@@ -61,6 +59,7 @@ a string.
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc changelog.txt README.md
|
||||
%{python_sitelib}/cstruct*
|
||||
%{python_sitelib}/cstruct
|
||||
%{python_sitelib}/cstruct-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user