forked from pool/python-cstruct
Accepting request 1030926 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1030926 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cstruct?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f46ad51f4c92f7296f83c7e3397cd5d8eba9eb1cac0c3a4a9f7cffbf07a394b2
|
||||
size 9911
|
||||
3
python-cstruct-3.3.tar.gz
Normal file
3
python-cstruct-3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:edfa9dd96b2512a4d7cd24842b9234ba32a60a65e15e08f7dbfca35836ea81e3
|
||||
size 27470
|
||||
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 24 15:29:46 UTC 2022 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 3.3
|
||||
* Fix tests on 32bit architecture
|
||||
- Update to version 3.2
|
||||
* Add more tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 14 13:45:17 UTC 2022 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 3.1
|
||||
* Make CStruct/MemCStruct Pickle Friendly
|
||||
- Update to version 3.0
|
||||
* Flexible array support
|
||||
- Update to version 2.3
|
||||
* Fix compare with None
|
||||
- Update to version 2.2
|
||||
Fixes
|
||||
* Fix empty MemCStruct size
|
||||
Improvements
|
||||
* Python 3.10 support
|
||||
* pytest
|
||||
* black code style
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 07:17:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# spec file for package python-cstruct
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
|
||||
# Copyright (c) 2020-2022, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,14 +19,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cstruct
|
||||
Version: 1.8
|
||||
Version: 3.3
|
||||
Release: 0
|
||||
Summary: C-style structs for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/andreax79/python-cstruct
|
||||
Source: https://github.com/andreax79/python-cstruct/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -46,17 +45,14 @@ a string.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i -e '/^#!\//, 1d' \
|
||||
cstruct/__init__.py \
|
||||
cstruct/examples/fdisk.py \
|
||||
cstruct/examples/who.py \
|
||||
cstruct/tests/test_cstruct.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%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
|
||||
|
||||
Reference in New Issue
Block a user