[Python-modules-commits] r7956 - in packages/pyparted/trunk (13 files)

dktrkranz-guest at users.alioth.debian.org dktrkranz-guest at users.alioth.debian.org
Sun Mar 22 16:11:37 UTC 2009


    Date: Sunday, March 22, 2009 @ 16:11:36
  Author: dktrkranz-guest
Revision: 7956

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/pyparted/trunk/debian/
  packages/pyparted/trunk/debian/README.source
  packages/pyparted/trunk/debian/changelog
  packages/pyparted/trunk/debian/compat
  packages/pyparted/trunk/debian/control
  packages/pyparted/trunk/debian/copyright
  packages/pyparted/trunk/debian/docs
  packages/pyparted/trunk/debian/patches/
  packages/pyparted/trunk/debian/patches/python2.5_fallback
  packages/pyparted/trunk/debian/patches/series
  packages/pyparted/trunk/debian/pyversions
  packages/pyparted/trunk/debian/rules
  packages/pyparted/trunk/debian/watch


Property changes on: packages/pyparted/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/pyparted/trunk/debian/README.source
===================================================================
--- packages/pyparted/trunk/debian/README.source	                        (rev 0)
+++ packages/pyparted/trunk/debian/README.source	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,57 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.

Added: packages/pyparted/trunk/debian/changelog
===================================================================
--- packages/pyparted/trunk/debian/changelog	                        (rev 0)
+++ packages/pyparted/trunk/debian/changelog	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,5 @@
+pyparted (2.0.8-1) unstable; urgency=low
+
+  * Initial release (Closes: #512011).
+
+ -- Luca Falavigna <dktrkranz at ubuntu.com>  Sun, 22 Mar 2009 16:03:41 +0100

Added: packages/pyparted/trunk/debian/compat
===================================================================
--- packages/pyparted/trunk/debian/compat	                        (rev 0)
+++ packages/pyparted/trunk/debian/compat	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1 @@
+6

Added: packages/pyparted/trunk/debian/control
===================================================================
--- packages/pyparted/trunk/debian/control	                        (rev 0)
+++ packages/pyparted/trunk/debian/control	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,19 @@
+Source: pyparted
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Luca Falavigna <dktrkranz at ubuntu.com>
+Build-Depends: debhelper (>= 6), python-all-dev, python-support (>= 0.5.3), pkg-config, libparted1.8-dev (>= 1.8.6), automake, libdevmapper-dev, uuid-dev, quilt
+Standards-Version: 3.8.1
+Homepage: http://fedorahosted.org/pyparted/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyparted/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyparted/trunk/
+
+Package: python-pyparted
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python interface for libparted
+ pyparted is a set of Python modules that provide Python programmers an
+ interface to libparted (http://www.gnu.org/software/parted), the GNU parted
+ library for disk partitioning and filesystem manipulation.
+

Added: packages/pyparted/trunk/debian/copyright
===================================================================
--- packages/pyparted/trunk/debian/copyright	                        (rev 0)
+++ packages/pyparted/trunk/debian/copyright	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,41 @@
+This package was debianized by:
+
+    Luca Falavigna <dktrkranz at ubuntu.com> on Sun, 22 Mar 2009 16:03:41 +0100
+
+It was downloaded from:
+
+    https://fedorahosted.org/releases/p/y/pyparted/
+
+Upstream Authors:
+
+    David Cantrell <dcantrell at redhat.com>
+    Chris Lumens <clumens at redhat.com>
+
+Copyright:
+
+    Copyright © 2007-2009, Red Hat, Inc.
+
+License:
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 2 of the License, or
+    (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is:
+
+    Copyright © 2009 Luca Falavigna <dktrkranz at ubuntu.com>
+
+and is licensed under the GPL version 3, see above.
+

Added: packages/pyparted/trunk/debian/docs
===================================================================
--- packages/pyparted/trunk/debian/docs	                        (rev 0)
+++ packages/pyparted/trunk/debian/docs	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,3 @@
+AUTHORS
+BUGS
+README

Added: packages/pyparted/trunk/debian/patches/python2.5_fallback
===================================================================
--- packages/pyparted/trunk/debian/patches/python2.5_fallback	                        (rev 0)
+++ packages/pyparted/trunk/debian/patches/python2.5_fallback	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,31 @@
+Fallback to Python 2.5
+
+Index: pyparted-2.0.8/src/parted/cachedlist.py
+===================================================================
+--- pyparted-2.0.8.orig/src/parted/cachedlist.py	2009-03-22 16:57:15.000000000 +0100
++++ pyparted-2.0.8/src/parted/cachedlist.py	2009-03-22 16:57:44.000000000 +0100
+@@ -20,7 +20,10 @@
+ # Red Hat Author(s): Chris Lumens <clumens at redhat.com>
+ #
+ 
+-from collections import Sequence
++try:
++    from collections import Sequence
++except ImportError:
++    Sequence = type('Sequence', (object,), {})
+ 
+ class CachedList(Sequence):
+     """CachedList()
+Index: pyparted-2.0.8/src/parted/partition.py
+===================================================================
+--- pyparted-2.0.8.orig/src/parted/partition.py	2009-03-22 16:56:44.000000000 +0100
++++ pyparted-2.0.8/src/parted/partition.py	2009-03-22 16:56:54.000000000 +0100
+@@ -118,7 +118,7 @@
+         """The name of this partition."""
+         try:
+             return self.__partition.get_name()
+-        except parted.PartitionException as msg:
++        except parted.PartitionException:
+             return None
+ 
+     fileSystem = property(lambda s: s._fileSystem, lambda s, v: setattr(s, "_fileSystem", v))

Added: packages/pyparted/trunk/debian/patches/series
===================================================================
--- packages/pyparted/trunk/debian/patches/series	                        (rev 0)
+++ packages/pyparted/trunk/debian/patches/series	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1 @@
+python2.5_fallback

Added: packages/pyparted/trunk/debian/pyversions
===================================================================
--- packages/pyparted/trunk/debian/pyversions	                        (rev 0)
+++ packages/pyparted/trunk/debian/pyversions	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1 @@
+2.5-

Added: packages/pyparted/trunk/debian/rules
===================================================================
--- packages/pyparted/trunk/debian/rules	                        (rev 0)
+++ packages/pyparted/trunk/debian/rules	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,48 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	./configure --prefix=/usr
+	touch configure-stamp
+
+build: patch build-stamp
+build-stamp: configure-stamp  
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k  
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/python-pyparted install
+
+binary-indep: install
+
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_pysupport
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: packages/pyparted/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/pyparted/trunk/debian/watch
===================================================================
--- packages/pyparted/trunk/debian/watch	                        (rev 0)
+++ packages/pyparted/trunk/debian/watch	2009-03-22 16:11:36 UTC (rev 7956)
@@ -0,0 +1,2 @@
+version=3
+https://fedorahosted.org/releases/p/y/pyparted/pyparted-([0-9.]*)\.tar\.gz




More information about the Python-modules-commits mailing list