commit 66173f7950fe64bbf93e47a92dc5c8d6d07a5328136271d61103a0711b1e0e4d Author: Dirk Mueller Date: Thu Jan 22 13:52:30 2026 +0000 - update to 0.6.14: * Experimental support for free-threaded Python. * Fix memory leak in acebitstream module. * Add pytest smoke tests and configure GitHub Actions CI for testing. * Remove deprecated setup.py features. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-acefile?expand=0&rev=14 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/acefile-0.6.13.tar.gz b/acefile-0.6.13.tar.gz new file mode 100644 index 0000000..78c04e9 --- /dev/null +++ b/acefile-0.6.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42274f3d412728682fc1b2c8448b464ae315282f5023b5a765cd61218c1c9039 +size 54595 diff --git a/acefile-0.6.14.tar.gz b/acefile-0.6.14.tar.gz new file mode 100644 index 0000000..8afa08b --- /dev/null +++ b/acefile-0.6.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96957fd167136ef5bc1c133fe74da2453229ad19308d6b986cbcc3c76ed5511d +size 57152 diff --git a/python-acefile.changes b/python-acefile.changes new file mode 100644 index 0000000..d1aa5f6 --- /dev/null +++ b/python-acefile.changes @@ -0,0 +1,51 @@ +------------------------------------------------------------------- +Thu Jan 22 13:51:11 UTC 2026 - Dirk Müller + +- update to 0.6.14: + * Experimental support for free-threaded Python. + * Fix memory leak in acebitstream module. + * Add pytest smoke tests and configure GitHub Actions CI for + testing. + * Remove deprecated setup.py features. + +------------------------------------------------------------------- +Mon Jun 16 12:09:56 UTC 2025 - Markéta Machová + +- Convert to libalternatives + +------------------------------------------------------------------- +Fri Jun 13 05:35:23 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Tue Nov 19 12:04:15 UTC 2024 - Dirk Müller + +- update to 0.6.13: + * Rephrase setup failure notices for clarity. + * Improve seekable conformance of internal file-like + wrappers. + * Minor maintainability and test improvements. + +------------------------------------------------------------------- +Wed May 27 09:35:56 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- +Fri Jun 7 11:38:05 UTC 2019 - pgajdos@suse.com + +- require setup-tools +- call spec-cleaner +- note there are no upstream testsuite + +------------------------------------------------------------------- +Wed Apr 10 08:04:43 UTC 2019 - Jan Engelhardt + +- Use noun phrase in summary. + +------------------------------------------------------------------- +Sun Apr 7 03:27:24 PM UTC 2019 - John Vandenberg + +- Initial spec for v0.6.12 diff --git a/python-acefile.spec b/python-acefile.spec new file mode 100644 index 0000000..f89ee22 --- /dev/null +++ b/python-acefile.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-acefile +# +# Copyright (c) 2026 SUSE LLC and contributors +# +# 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/ +# + + +%define skip_python2 1 +%bcond_without libalternatives +Name: python-acefile +Version: 0.6.14 +Release: 0 +Summary: ACE 1.0 and 2.0 archive reader/extractor in pure Python +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://www.roe.ch/acefile +Source: https://files.pythonhosted.org/packages/source/a/acefile/acefile-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: alts +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: alts +Requires: python-setuptools +%python_subpackages + +%description +Read/test/extract ACE 1.0 and 2.0 archives in pure python. + +%prep +%setup -q -n acefile-%{version} +sed -i '1 {/^#!/d}' acefile.py + +%build +export CFLAGS="%{optflags}" +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/acefile-unace +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%pre +%python_libalternatives_reset_alternative acefile-unace + +%files %{python_files} +%doc NEWS.md README.md +%license LICENSE.md +%python_alternative %{_bindir}/acefile-unace +%{python_sitearch}/acefile.py +%pycache_only %{python_sitearch}/__pycache__/acefile.*.pyc +%{python_sitearch}/acebitstream.cpython-*-linux-gnu.so +%{python_sitearch}/acefile-%{version}.dist-info + +%check +# no testsuite found + +%changelog