Compare commits

3 Commits

Author SHA256 Message Date
0a8b0d5058 Accepting request 1302734 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1302734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycdlib?expand=0&rev=3
2025-09-04 16:00:00 +00:00
ece34a22c1 - Use libalternatives in TW and Leap 16.0
- Change source to github tag archive, the last tag is not released in
  pypi.
- update to 1.15.0:
  * Remove Python 2 compatibility
  * Add an encoding parameter to the walk API so non-standard ISOs can be used
  * Fix ISOs that only have a single extent for Path Tables
  * Add the 'udf_path' argument to add_file so UDF ISOs can add paths
  * Fix timestamps for UDF

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycdlib?expand=0&rev=11
2025-08-28 11:30:17 +00:00
eb794641a8 Accepting request 1282617 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycdlib?expand=0&rev=2
2025-06-04 18:29:19 +00:00
4 changed files with 39 additions and 6 deletions

View File

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

3
pycdlib-1.15.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Aug 28 10:23:04 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Use libalternatives in TW and Leap 16.0
- Change source to github tag archive, the last tag is not released in
pypi.
- update to 1.15.0:
* Remove Python 2 compatibility
* Add an encoding parameter to the walk API so non-standard ISOs can be used
* Fix ISOs that only have a single extent for Path Tables
* Add the 'udf_path' argument to add_file so UDF ISOs can add paths
* Fix timestamps for UDF
-------------------------------------------------------------------
Wed Jun 4 09:27:02 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycdlib
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 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
@@ -16,14 +16,20 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
Name: python-pycdlib
Version: 1.14.0
Version: 1.15.0
Release: 0
Summary: Pure python ISO manipulation library
License: LGPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/clalancette/pycdlib
Source: https://files.pythonhosted.org/packages/source/p/pycdlib/pycdlib-%{version}.tar.gz
Source: %{URL}/archive/v%{version}.tar.gz#/pycdlib-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -32,6 +38,15 @@ BuildRequires: fdupes
BuildRequires: mkisofs
BuildRequires: python-rpm-macros
BuildRequires: timezone
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
Requires: mkisofs
Requires: python3-pycdlib-common
BuildArch: noarch
@@ -71,12 +86,17 @@ This package includes the common files.
%python_clone -a %{buildroot}%{_bindir}/pycdlib-explorer
%python_clone -a %{buildroot}%{_bindir}/pycdlib-extract-files
%python_clone -a %{buildroot}%{_bindir}/pycdlib-genisoimage
%python_group_libalternatives pycdlib-explorer pycdlib-extract-files pycdlib-genisoimage
%check
export LC_ALL=ja_JP.UTF-8
export TZ=Asia/Tokyo
%pytest -k unit
%pre
# removing old update-alternatives entries
%python_libalternatives_reset_alternative pycdlib-explorer
%post
%{python_install_alternative pycdlib-explorer pycdlib-extract-files pycdlib-genisoimage}