- Update to 1.0.1

* Change deflate_tree: base_length[] and length_code[] not to
    be const to avoid C2166 error on windows
  * Drop support for python 3.8 and add support for python 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflate64?expand=0&rev=9
This commit is contained in:
Dirk Mueller 2025-01-13 10:11:38 +00:00 committed by Git OBS Bridge
commit d62621b46f
6 changed files with 137 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

3
inflate64-1.0.0.tar.gz Normal file
View File

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

3
inflate64-1.0.1.tar.gz Normal file
View File

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

47
python-inflate64.changes Normal file
View File

@ -0,0 +1,47 @@
-------------------------------------------------------------------
Mon Jan 13 09:45:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.0.1
* Change deflate_tree: base_length[] and length_code[] not to
be const to avoid C2166 error on windows
* Drop support for python 3.8 and add support for python 3.13
-------------------------------------------------------------------
Fri Feb 16 14:24:03 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Remove bogus runtime and test requirements
-------------------------------------------------------------------
Fri Dec 15 06:29:58 UTC 2023 - ecsos <ecsos@opensuse.org>
- Update to 1.0.0
* Changed
- Update CMakeLists.txt developer script
- Update to 1.0.0rc2
* Changed
- Update test runner for library developer (#11)
- Project status to be stable
- docs: update security policy
- Update to 1.0.0rc1
* Added
- Support python 3.12 (#9)
* Fixed
- Replace deprecated PyMem_Calloc with GIL free PyMem_RawCalloc
- Use PyMem_RawFree accordingly.
* Changed
- Bump cibuildwheel@2.16.2
- Update cibuildwheel configuration
- CI on ci.codeberg.org
- Minimum required Python verison to 3.8
-------------------------------------------------------------------
Tue Jun 27 12:48:05 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Dec 21 10:37:30 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for 0.3.1
- Required by py7zr

60
python-inflate64.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package python-inflate64
#
# Copyright (c) 2025 SUSE LLC
#
# 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-inflate64
Version: 1.0.1
Release: 0
Summary: Deflate64 compression/decompression library
License: LGPL-2.1-or-later
URL: https://codeberg.org/miurahr/inflate64
Source: https://files.pythonhosted.org/packages/source/i/inflate64/inflate64-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 45}
BuildRequires: %{python_module setuptools_scm >= 6.0.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
%description
A python package to provide compression and decompression feature with Enhanced Deflate algorithm.
%prep
%setup -q -n inflate64-%{version}
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch
%files %{python_files}
%doc README.rst
%license COPYING
%{python_sitearch}/inflate64
%{python_sitearch}/inflate64-%{version}.dist-info
%changelog