[Python-modules-commits] r7204 - in packages/pyinotify/trunk/debian (5 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Dec 28 13:55:49 UTC 2008


    Date: Sunday, December 28, 2008 @ 13:55:48
  Author: morph
Revision: 7204

  - bump Standards-Version to 3.8.0
    + added debian/README.source
  - correctly depending on '$(QUILT_STAMPFN)' (for configure-stamp target)
    and 'unpatch' (for clean target)
  - added removal of 'html/' dir (created by Debian package build system)
  - merged *-stamp removal in 'dh_clean' call
* debian/patches/use-sys-syscall-h.patch
  - added description (from previous changelog entries)

Added:
  packages/pyinotify/trunk/debian/README.source
Modified:
  packages/pyinotify/trunk/debian/changelog
  packages/pyinotify/trunk/debian/control
  packages/pyinotify/trunk/debian/patches/use-sys-syscall-h.patch
  packages/pyinotify/trunk/debian/rules

Added: packages/pyinotify/trunk/debian/README.source
===================================================================
--- packages/pyinotify/trunk/debian/README.source	                        (rev 0)
+++ packages/pyinotify/trunk/debian/README.source	2008-12-28 13:55:48 UTC (rev 7204)
@@ -0,0 +1,4 @@
+This package uses quilt as patch system, you can find some information
+about it at:
+
+    /usr/share/doc/quilt/README.source

Modified: packages/pyinotify/trunk/debian/changelog
===================================================================
--- packages/pyinotify/trunk/debian/changelog	2008-12-28 11:01:06 UTC (rev 7203)
+++ packages/pyinotify/trunk/debian/changelog	2008-12-28 13:55:48 UTC (rev 7204)
@@ -9,11 +9,19 @@
     - switch Vcs-Browser field to viewsvn
     - added -dbg package, adding python-all-dbg to build-depends
     - uncapitalized short descriptions of all binary packages
+    - bump Standards-Version to 3.8.0
+      + added debian/README.source
   * debian/rules
     - added -dbg building rules; thanks to Ezequiel Lara Gómez for the (partial)
       patch; Closes: #470990
+    - correctly depending on '$(QUILT_STAMPFN)' (for configure-stamp target)
+      and 'unpatch' (for clean target)
+    - added removal of 'html/' dir (created by Debian package build system)
+    - merged *-stamp removal in 'dh_clean' call
+  * debian/patches/use-sys-syscall-h.patch
+    - added description (from previous changelog entries)
 
- -- Sandro Tosi <morph at debian.org>  Sun, 28 Dec 2008 11:56:02 +0100
+ -- Sandro Tosi <morph at debian.org>  Sun, 28 Dec 2008 14:52:06 +0100
 
 pyinotify (0.7.1-1) unstable; urgency=low
   

Modified: packages/pyinotify/trunk/debian/control
===================================================================
--- packages/pyinotify/trunk/debian/control	2008-12-28 11:01:06 UTC (rev 7203)
+++ packages/pyinotify/trunk/debian/control	2008-12-28 13:55:48 UTC (rev 7204)
@@ -4,7 +4,7 @@
 Maintainer: Mikhail Gusarov <dottedmag at dottedmag.net>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-all-dbg, python-support (>= 0.3), quilt (>= 0.40)
-Standards-Version: 3.7.2
+Standards-Version: 3.8.0
 Homepage: http://pyinotify.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyinotify/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyinotify/trunk/

Modified: packages/pyinotify/trunk/debian/patches/use-sys-syscall-h.patch
===================================================================
--- packages/pyinotify/trunk/debian/patches/use-sys-syscall-h.patch	2008-12-28 11:01:06 UTC (rev 7203)
+++ packages/pyinotify/trunk/debian/patches/use-sys-syscall-h.patch	2008-12-28 13:55:48 UTC (rev 7204)
@@ -1,3 +1,5 @@
+# using sys/syscall.h, since inotify stuff is mainline linux on all lenny-supporting architectures
+
 Index: pyinotify-0.7.1/src/pyinotify/inotify_syscalls.h
 ===================================================================
 --- pyinotify-0.7.1.orig/src/pyinotify/inotify_syscalls.h	2007-09-20 01:15:32.000000000 +0700

Modified: packages/pyinotify/trunk/debian/rules
===================================================================
--- packages/pyinotify/trunk/debian/rules	2008-12-28 11:01:06 UTC (rev 7203)
+++ packages/pyinotify/trunk/debian/rules	2008-12-28 13:55:48 UTC (rev 7204)
@@ -8,37 +8,35 @@
 # List of python versions this package will be compiled for.
 # This list has to match the package list in debian/control.
 PYVERS = $(shell pyversions -r)
+
 CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
 
 configure: configure-stamp
-configure-stamp: patch
+configure-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	for python in $(PYVERS); do \
 	    "$${python}" setup.py config; \
-	done
-	for python in $(PYVERS); do \
 	    "$${python}-dbg" setup.py config; \
 	done
 	touch $@
 
 build:
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f configure-stamp
 
 	for python in $(PYVERS); do \
 	    "$${python}" setup.py clean --all; \
-	done
-	for python in $(PYVERS); do \
 	    "$${python}-dbg" setup.py clean --all; \
 	done
 
 	$(MAKE) clean
 
-	dh_clean
+	rm -rf html/
 
+	dh_clean configure-stamp
+
 install: build
 	dh_testdir
 	dh_testroot
@@ -53,6 +51,8 @@
 	    $$python setup.py build --force; \
 	    $$python setup.py install --root=$(CURDIR)/debian/python-pyinotify; \
 	done
+
+	# debug extension installation
 	for python in $(PYVERS); do \
 	    $$python-dbg setup.py build --force; \
 	    $$python-dbg setup.py install --root=$(CURDIR)/debian/python-pyinotify-dbg; \




More information about the Python-modules-commits mailing list