14
0
forked from pool/python-parted

- Update to 3.13.0:

- Help the _ped module garbage collection in the test suite
  - Use 'return NULL' rather than 'return (PyObject *) NULL' in
    pydisk.c
  - Use Py_VISIT() in *_traverse() functions
  - Free allocated memory for temporary string buffers
  - Use Py_RETURN_NONE through the _ped module code
  - Coding style updates for the C code.
  - Some minor cleanups for the test case code
  - Remove DeprecationWarning in py_ped_constraint_duplicate()
  - Drop remaining Python 2.x handling from the Makefile drop six
  - Reformat all Python source code using Python black
  - Replace outdated Red Hat sample GPLv2+ boilerplates
  - Add support for loongarch
  - Add support for no_automount partition flag
  - Add new disk types - disk uuid and partition uuid
  - Fix start sector for test partition
  - Add example for viewing and changing GPT partition type UUID
  - Accept device path via argv for partition dump example
  - Add type ID / UUID to partition dump example
  - Map partition type ID / UUID accessors to Partition class
  - Bind low level APIs for type ID and UUID accessors
  - Add support for new libparted disk type features in
    parted-3.5
- Remove unnecessary patches:
  - more-features-exposed.patch
  - python-parted-featurestest.patch
  - python-parted-no-six.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=19
This commit is contained in:
2024-03-16 18:04:00 +00:00
committed by Git OBS Bridge
parent 873c543bee
commit d280d98c4c
9 changed files with 59 additions and 129 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-parted
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define srcname pyparted
Name: python-parted
Version: 3.12.0
Version: 3.13.0
Release: 0
Summary: Python module for GNU parted
License: GPL-2.0-or-later
@@ -26,11 +26,7 @@ URL: https://github.com/dcantrell/pyparted/
Source0: https://github.com/dcantrell/pyparted/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
# catch exception for unknown 'disk flag', kkaempf@suse.de
Patch0: pyparted-3.10.patch
Patch3: python-parted-parted-binary.patch
Patch4: python-parted-featurestest.patch
Patch5: more-features-exposed.patch
# https://github.com/dcantrell/pyparted/pull/101
Patch6: python-parted-no-six.patch
Patch1: python-parted-parted-binary.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
@@ -62,10 +58,10 @@ partition tables.
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest discover -v
%files %{python_files}
%license COPYING
%doc AUTHORS NEWS README TODO
%license LICENSE
%doc AUTHORS NEWS README.md TODO
%{python_sitearch}/_ped*.so
%{python_sitearch}/parted
%{python_sitearch}/%{srcname}-%{version}-*.egg-info
%{python_sitearch}/%{srcname}-%{version}*-info
%changelog