commit python-parted for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-parted for openSUSE:Factory checked in at 2022-05-30 12:44:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-parted (Old) and /work/SRC/openSUSE:Factory/.python-parted.new.2254 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-parted" Mon May 30 12:44:43 2022 rev:5 rq:979832 version:3.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-parted/python-parted.changes 2022-01-11 21:24:18.177171245 +0100 +++ /work/SRC/openSUSE:Factory/.python-parted.new.2254/python-parted.changes 2022-05-30 12:45:41.448529508 +0200 @@ -1,0 +2,13 @@ +Mon May 30 09:50:41 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com> + +- 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. + +------------------------------------------------------------------- Old: ---- pyparted-3.11.7.tar.gz New: ---- more-features-exposed.patch pyparted-3.12.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-parted.spec ++++++ --- /var/tmp/diff_new_pack.k4Fe9a/_old 2022-05-30 12:45:41.960530189 +0200 +++ /var/tmp/diff_new_pack.k4Fe9a/_new 2022-05-30 12:45:41.964530195 +0200 @@ -19,18 +19,19 @@ %define srcname pyparted %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parted -Version: 3.11.7 +Version: 3.12.0 Release: 0 Summary: Python module for GNU parted License: GPL-2.0-or-later -Group: Development/Languages/Python 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 BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} # tests requires BuildRequires: e2fsprogs @@ -47,8 +48,7 @@ partition tables. %prep -%setup -q -n %{srcname}-%{version} -%autopatch -p1 +%autosetup -p1 -n %{srcname}-%{version} %build %python_build ++++++ more-features-exposed.patch ++++++ Index: pyparted-3.12.0/tests/test__ped_disktype.py =================================================================== --- pyparted-3.12.0.orig/tests/test__ped_disktype.py +++ pyparted-3.12.0/tests/test__ped_disktype.py @@ -75,11 +75,11 @@ class DiskTypeCheckFeatureTestCase(Requi class DiskTypeStrTestCase(RequiresDiskTypes): def runTest(self): - self.assertEqual(str(self.disktype['msdos']), '_ped.DiskType instance --\n name: msdos features: 1') + self.assertEqual(str(self.disktype['msdos']), '_ped.DiskType instance --\n name: msdos features: 9') self.assertEqual(str(self.disktype['aix']), '_ped.DiskType instance --\n name: aix features: 0') self.assertEqual(str(self.disktype['sun']), '_ped.DiskType instance --\n name: sun features: 0') self.assertEqual(str(self.disktype['amiga']), '_ped.DiskType instance --\n name: amiga features: 2') - self.assertEqual(str(self.disktype['gpt']), '_ped.DiskType instance --\n name: gpt features: 2') + self.assertEqual(str(self.disktype['gpt']), '_ped.DiskType instance --\n name: gpt features: 18') self.assertEqual(str(self.disktype['mac']), '_ped.DiskType instance --\n name: mac features: 6') self.assertEqual(str(self.disktype['bsd']), '_ped.DiskType instance --\n name: bsd features: 0') self.assertEqual(str(self.disktype['pc98']), '_ped.DiskType instance --\n name: pc98 features: 2') ++++++ pyparted-3.11.7.tar.gz -> pyparted-3.12.0.tar.gz ++++++ ++++ 1822 lines of diff (skipped)
participants (1)
-
Source-Sync