[Python-modules-commits] r9496 - in packages/pyparted/trunk/debian (3 files)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Wed Aug 26 14:38:32 UTC 2009


    Date: Wednesday, August 26, 2009 @ 14:38:31
  Author: dktrkranz
Revision: 9496

Do not define PARTITION_APPLE_TV_RECOVERY

Added:
  packages/pyparted/trunk/debian/patches/no_PARTITION_APPLE_TV_RECOVERY.patch
Modified:
  packages/pyparted/trunk/debian/changelog
  packages/pyparted/trunk/debian/patches/series

Modified: packages/pyparted/trunk/debian/changelog
===================================================================
--- packages/pyparted/trunk/debian/changelog	2009-08-26 14:10:39 UTC (rev 9495)
+++ packages/pyparted/trunk/debian/changelog	2009-08-26 14:38:31 UTC (rev 9496)
@@ -9,8 +9,10 @@
   * debian/patches/lower_parted_version.patch:
     - Lower required parted version, current Debian version already fulfil
       pyparted requirements.
+  * debian/patches/no_PARTITION_APPLE_TV_RECOVERY.patch:
+    - Do not define PARTITION_APPLE_TV_RECOVERY.
 
- -- Luca Falavigna <dktrkranz at debian.org>  Wed, 26 Aug 2009 14:09:35 +0000
+ -- Luca Falavigna <dktrkranz at debian.org>  Wed, 26 Aug 2009 14:20:14 +0000
 
 pyparted (2.0.12-1) unstable; urgency=low
 

Added: packages/pyparted/trunk/debian/patches/no_PARTITION_APPLE_TV_RECOVERY.patch
===================================================================
--- packages/pyparted/trunk/debian/patches/no_PARTITION_APPLE_TV_RECOVERY.patch	                        (rev 0)
+++ packages/pyparted/trunk/debian/patches/no_PARTITION_APPLE_TV_RECOVERY.patch	2009-08-26 14:38:31 UTC (rev 9496)
@@ -0,0 +1,52 @@
+Description:	Do not define PARTITION_APPLE_TV_RECOVERY.
+Origin:		Debian
+Forwarded:	not-needed
+
+Index: pyparted-2.1.1/src/_pedmodule.c
+===================================================================
+--- pyparted-2.1.1.orig/src/_pedmodule.c	2009-08-26 14:18:36.000000000 +0000
++++ pyparted-2.1.1/src/_pedmodule.c	2009-08-26 14:17:10.000000000 +0000
+@@ -481,7 +481,6 @@
+     PyModule_AddIntConstant(m, "PARTITION_PALO", PED_PARTITION_PALO);
+     PyModule_AddIntConstant(m, "PARTITION_PREP", PED_PARTITION_PREP);
+     PyModule_AddIntConstant(m, "PARTITION_MSFT_RESERVED", PED_PARTITION_MSFT_RESERVED);
+-    PyModule_AddIntConstant(m, "PARTITION_APPLE_TV_RECOVERY", PED_PARTITION_APPLE_TV_RECOVERY);
+     PyModule_AddIntConstant(m, "PARTITION_BIOS_GRUB", PED_PARTITION_BIOS_GRUB);
+ 
+     PyModule_AddIntConstant(m, "DISK_TYPE_EXTENDED", PED_DISK_TYPE_EXTENDED);
+Index: pyparted-2.1.1/src/parted/__init__.py
+===================================================================
+--- pyparted-2.1.1.orig/src/parted/__init__.py	2009-08-26 14:18:37.000000000 +0000
++++ pyparted-2.1.1/src/parted/__init__.py	2009-08-26 14:17:35.000000000 +0000
+@@ -105,7 +105,6 @@
+ from _ped import PARTITION_PALO
+ from _ped import PARTITION_PREP
+ from _ped import PARTITION_MSFT_RESERVED
+-from _ped import PARTITION_APPLE_TV_RECOVERY
+ from _ped import PARTITION_BIOS_GRUB
+ 
+ from _ped import DISK_TYPE_EXTENDED
+Index: pyparted-2.1.1/tests/_ped/test_partition.py
+===================================================================
+--- pyparted-2.1.1.orig/tests/_ped/test_partition.py	2009-08-26 14:18:37.000000000 +0000
++++ pyparted-2.1.1/tests/_ped/test_partition.py	2009-08-26 14:18:04.000000000 +0000
+@@ -109,7 +109,6 @@
+                      _ped.PARTITION_HIDDEN, _ped.PARTITION_RAID, _ped.PARTITION_LVM,
+                      _ped.PARTITION_HPSERVICE, _ped.PARTITION_PALO,
+                      _ped.PARTITION_PREP, _ped.PARTITION_MSFT_RESERVED,
+-                     _ped.PARTITION_APPLE_TV_RECOVERY,
+                      _ped.PARTITION_BIOS_GRUB]:
+             self.assertTrue(isinstance(self._part.is_flag_available(flag), bool))
+ 
+Index: pyparted-2.1.1/tests/_ped/test_ped.py
+===================================================================
+--- pyparted-2.1.1.orig/tests/_ped/test_ped.py	2009-08-26 14:18:37.000000000 +0000
++++ pyparted-2.1.1/tests/_ped/test_ped.py	2009-08-26 14:18:18.000000000 +0000
+@@ -40,7 +40,6 @@
+                   _ped.PARTITION_LBA, _ped.PARTITION_HPSERVICE,
+                   _ped.PARTITION_PALO, _ped.PARTITION_PREP,
+                   _ped.PARTITION_MSFT_RESERVED,
+-                  _ped.PARTITION_APPLE_TV_RECOVERY,
+                   _ped.PARTITION_BIOS_GRUB]:
+             self.assertNotEquals(_ped.partition_flag_get_name(f), "", "Could not get name for flag %s" % f)
+ 

Modified: packages/pyparted/trunk/debian/patches/series
===================================================================
--- packages/pyparted/trunk/debian/patches/series	2009-08-26 14:10:39 UTC (rev 9495)
+++ packages/pyparted/trunk/debian/patches/series	2009-08-26 14:38:31 UTC (rev 9496)
@@ -1,3 +1,4 @@
 python2.5_fallback
 no_HashNotImplemented
 lower_parted_version.patch
+no_PARTITION_APPLE_TV_RECOVERY.patch




More information about the Python-modules-commits mailing list