Compare commits

6 Commits

Author SHA256 Message Date
ec8a78dd26 Accepting request 1286087 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-acefile?expand=0&rev=6
2025-06-17 16:21:11 +00:00
a236fb8ac5 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-acefile?expand=0&rev=12
2025-06-16 12:10:19 +00:00
98dfc0c73c Accepting request 1285322 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1285322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-acefile?expand=0&rev=5
2025-06-13 16:45:51 +00:00
d26ca09d70 - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-acefile?expand=0&rev=10
2025-06-13 05:39:20 +00:00
463f16f653 Accepting request 1225078 from devel:languages:python
- update to 0.6.13:
  * Rephrase setup failure notices for clarity.
  * Improve seekable conformance of internal file-like
    wrappers.
  * Minor maintainability and test improvements.

OBS-URL: https://build.opensuse.org/request/show/1225078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-acefile?expand=0&rev=4
2024-11-19 21:23:30 +00:00
2d12e2a4e5 - update to 0.6.13:
* Rephrase setup failure notices for clarity.
  * Improve seekable conformance of internal file-like
    wrappers.
  * Minor maintainability and test improvements.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-acefile?expand=0&rev=8
2024-11-19 12:04:24 +00:00
4 changed files with 38 additions and 16 deletions

View File

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

3
acefile-0.6.13.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Jun 16 12:09:56 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Fri Jun 13 05:35:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Tue Nov 19 12:04:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <pgajdos@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-acefile
#
# Copyright (c) 2020 SUSE LLC
# 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
@@ -17,9 +17,9 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without libalternatives
Name: python-acefile
Version: 0.6.12
Version: 0.6.13
Release: 0
Summary: ACE 1.0 and 2.0 archive reader/extractor in pure Python
License: BSD-2-Clause
@@ -27,12 +27,14 @@ 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
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description
@@ -44,24 +46,24 @@ sed -i '1 {/^#!/d}' acefile.py
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/acefile-unace
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%post
%python_install_alternative acefile-unace
%postun
%python_uninstall_alternative acefile-unace
%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}/*
%{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