3 Commits

Author SHA256 Message Date
d280d98c4c - 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
2024-03-16 18:04:00 +00:00
fbb22f7e25 - update to 3.11.7:
* Do not remove the generated tarballs. 
  * Update the RELEASE file. 
  * tests: Fix flag_get_name tests 
  * Avoid potential NULL dereferences in pydisk.c and pytimer.c 
  * New - example to query device capacity 
  * correct spelling mistake 
  * Make the partition name a property on parted.Partition objects 
  * 'from collections' -> 'from collections.abc' 
  * Add some more examples
  * Small correction to the PED_EXCEPTION_FIX handling. 
  * Restore returning None for get_name
  * Handle PED_EXCEPTION_FIX 
  * check for undefined flags
  * added support for newer pyparted versions
  * Support pypi.python.org for releases 
  * Forgot the "/" in the path name 
  * Remove assumption that temp devices get created in /tmp 
  * Adjust test case numbers for GeometryWriteTestCase again
  * Revert "Use copy.deepcopy() rather than .duplicate()"
  * Remove another unnecessary os.close() from baseclass.py
  * Remove rogue close() call in baseclass.py
  * Ignore the 'const' and just use these values as 'char *'
  * Use copy.deepcopy
  * More file descriptor close statements.
  * Fixes for the RequiresDeviceNode class
  * Use a smaller length for GeometryWriteTestCase
  * Close the RequiresDeviceNode file descriptor before removal.
  * Fix writing NULL sectors using a Geometry object
  * Use Decimal

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=12
2022-01-11 10:12:51 +00:00
Tomáš Chvátal
d7e8562b4a - Add patch to tweak features detected in tests (parted changes
from suse):
  * python-parted-featurestest.patch
- Add patch python-parted-parted-binary.patch to run parted full
  path as user does not see sbin binaries
- Add patch no-last-flag-check.patch from debian
- Add patch python-parted-unittests.patch from ubuntu to fix tests

- Implement singlespec version for python3
- Refresh patch pyparted-3.10.patch to work with python3
- Enable testsuite to validate it somehow

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=8
2018-05-24 15:42:35 +00:00