Compare commits

22 Commits

Author SHA256 Message Date
65f805a032 Accepting request 1282199 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=9
2025-06-03 15:54:55 +00:00
f494b775df Accepting request 1158569 from devel:languages:python
- 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/request/show/1158569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=8
2024-03-17 21:16:06 +00:00
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
9b410e6582 Accepting request 1083343 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1083343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=7
2023-04-28 14:23:29 +00:00
873c543bee Accepting request 1082661 from home:pgajdos:python
- do not require six
- added patches
  fix https://github.com/dcantrell/pyparted/issues/98
  + python-parted-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1082661
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=17
2023-04-27 21:55:21 +00:00
b55ec9babe Accepting request 990552 from devel:languages:python
- Rebase more-features-exposed.patch to catch another test failure.

OBS-URL: https://build.opensuse.org/request/show/990552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=6
2022-07-22 17:20:39 +00:00
cfc9a26831 - Rebase more-features-exposed.patch to catch another test failure.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=15
2022-07-21 13:13:36 +00:00
2ad7846727 Accepting request 979832 from devel:languages:python
- Update to 3.12.0:
  * Adjust how PED_PARTITION types are added to _ped
  * Add support for PARTITION_LINUX_HOME
  * Add units, devices, and partitions convenience dicts
  * Update version number and required libparted version
  * Correct PARTITION_* constant initialization
  * setup.py: port to setuptools
- Add patch more-features-exposed.patch:
  * msdos and GPT seem to expose more features, include them when checking.

OBS-URL: https://build.opensuse.org/request/show/979832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=5
2022-05-30 10:44:43 +00:00
5e7ec9dff0 - Update to 3.12.0:
* Adjust how PED_PARTITION types are added to _ped
  * Add support for PARTITION_LINUX_HOME
  * Add units, devices, and partitions convenience dicts
  * Update version number and required libparted version
  * Correct PARTITION_* constant initialization
  * setup.py: port to setuptools
- Add patch more-features-exposed.patch:
  * msdos and GPT seem to expose more features, include them when checking.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=13
2022-05-30 09:55:56 +00:00
9e83196714 Accepting request 945553 from devel:languages:python
- 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/request/show/945553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=4
2022-01-11 20:20:06 +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
45cc4b8445 Accepting request 810836 from devel:languages:python
- Enable -fcommon which is not default with GCC10.

OBS-URL: https://build.opensuse.org/request/show/810836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=3
2020-06-03 18:32:13 +00:00
f153efbba2 - Enable -fcommon which is not default with GCC10.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=10
2020-06-02 12:08:32 +00:00
1a85033211 Accepting request 611907 from devel:languages:python
- 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

- Update to 3.11.1
  * make package build reproducible (boo#1041090)

OBS-URL: https://build.opensuse.org/request/show/611907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=2
2018-05-29 14:51:08 +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
Tomáš Chvátal
ae81501588 Accepting request 611893 from home:bmwiedemann:branches:devel:languages:python
Update to 3.11.1
  * make package build reproducible (boo#1041090)

note: not tested

OBS-URL: https://build.opensuse.org/request/show/611893
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=7
2018-05-24 14:39:22 +00:00
aa130de5ee Accepting request 485698 from devel:languages:python
Updated python-parted, dependency for Kimchi virtualization web management tool

OBS-URL: https://build.opensuse.org/request/show/485698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parted?expand=0&rev=1
2017-04-11 07:44:59 +00:00
e8034f8647 - Update to 3.10.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=5
2017-04-04 08:11:32 +00:00
ec757dda0e Accepting request 485046 from home:cbosdonnat:branches:devel:languages:python
- Upate to 3.10.7
  Re-add the removed documentation files but BUGS as it has been removed
  from the release tarball

OBS-URL: https://build.opensuse.org/request/show/485046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=4
2017-04-04 08:11:09 +00:00
Denisart Benjamin
6369f6f1c9 Accepting request 329396 from home:olh:branches:devel:languages:python
- pyparted requires Python version 2.7 or higher

OBS-URL: https://build.opensuse.org/request/show/329396
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=3
2015-09-06 18:22:12 +00:00
27dfbed3f1 Accepting request 312748 from home:termim:branches:devel:languages:python
update to 3.10.5

OBS-URL: https://build.opensuse.org/request/show/312748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=2
2015-06-23 06:26:32 +00:00
Denisart Benjamin
1d3624619a Accepting request 262318 from home:cbosdonnat
Runtime dependency for kimchi

Changed: Get it to build on 13.1, the libparted-devel version constraint was too strict

OBS-URL: https://build.opensuse.org/request/show/262318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=1
2014-11-23 12:46:40 +00:00

Diff Content Not Available