forked from pool/python-bitstruct
- Update to 8.20.0
* Python 3.13 instead of 3.7. * Bump CI artifact to v4. * CI release stuff. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstruct?expand=0&rev=15
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
bitstruct-8.19.0.tar.gz
Normal file
3
bitstruct-8.19.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d75ba9dded85c17e885a209a00eb8e248ee40762149f2f2a79360ca857467dac
|
||||
size 35631
|
||||
3
bitstruct-8.20.0.tar.gz
Normal file
3
bitstruct-8.20.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6b16a93097313f2a6c146640c93e5f988a39c33364f8c20a4286ac1c5ed5dae
|
||||
size 35637
|
||||
66
python-bitstruct.changes
Normal file
66
python-bitstruct.changes
Normal file
@@ -0,0 +1,66 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 08:14:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 8.20.0
|
||||
* Python 3.13 instead of 3.7.
|
||||
* Bump CI artifact to v4.
|
||||
* CI release stuff.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 9 19:22:57 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to 8.15.1.
|
||||
* support bytearray unpacking for CompiledFormats
|
||||
|
||||
- Update to 8.15.0.
|
||||
* support bytearray unpacking
|
||||
|
||||
- Update to 8.14.1.
|
||||
* c implementation: fix unpacking of truncated data in the presence of padding
|
||||
|
||||
- Update to 8.14.0.
|
||||
* fix segmentation faults on CI
|
||||
* C implementation: allow partial decoding of truncated data
|
||||
* python implementation: allow partial decoding of truncated data
|
||||
* Test on more Python versions.
|
||||
|
||||
- Update to 8.13.0.
|
||||
* Use PyFloat_Pack2() on Python 3.11a7
|
||||
* Update bitstream library.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 21 09:39:29 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pyunittest_arch macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 3 15:07:22 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Initial package, version 8.9.0
|
||||
59
python-bitstruct.spec
Normal file
59
python-bitstruct.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package python-bitstruct
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2020, 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-bitstruct
|
||||
Version: 8.20.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 >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This module is intended to have a similar interface as the python struct
|
||||
module, but working on bits instead of primitive data types (char, int, ...).
|
||||
|
||||
%prep
|
||||
%setup -q -n bitstruct-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%pyunittest_arch discover -v tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitearch}/bitstruct*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user