--- pyinotify-0.5.2.orig/debian/control +++ pyinotify-0.5.2/debian/control @@ -0,0 +1,56 @@ +Source: pyinotify +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Hans Ulrich Niedermann +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.3) +Standards-Version: 3.7.2 + +# Notes on the Architecture: field for the binary packages: +# * inotify is Linux-only. +# * inotify supports a limited number of architectures +# (cf. inotify-syscalls.h) +# * debian-policy specifies the Architecture: to be either +# "arch" or "arch-os". +# * dpkg-buildpackage only handles "arch" and "os-arch". +# dpkg-buildpackage explicitly fails for "i386-linux" and +# works for "linux-i386". +# * The behaviour of dpkg-buildpackage probably reflects that of +# dpkg-architecture -i${architecture} +# * buildd behaves differently... "i386" implies Linux, and +# "hurd-i386" is hurd specifically. "dpkg-architecture -L" +# output suggests this makes sense. +# Ergo: We half-ignore the Debian Policy, and explicitly list all +# architectures supported by inotify in the "arch" pattern, +# e.g. "i386" and hope we guessed right about the implication +# of "linux-". + +Package: python-pyinotify +Architecture: alpha amd64 arm i386 ia64 powerpc ppc64 s390 sh sparc sparc64 +Depends: ${python:Depends}, ${shlibs:Depends} +Provides: ${python:Provides} +Replaces: python2.3-pyinotify (<< 0.5.2-1.1), python2.4-pyinotify (<< 0.5.2-1.1) +Conflicts: python2.3-pyinotify (<< 0.5.2-1.1), python2.4-pyinotify (<< 0.5.2-1.1) +XB-Python-Version: ${python:Versions} +Description: Simple Linux inotify Python bindings + pyinotify is a simple wrapper for the Linux inotify mechanism. + . + inotify is a Linux Kernel feature available since 2.6.13. inotify makes + it possible for applications to easily be notified of filesystem changes. + . + Homepage: http://pyinotify.sourceforge.net/ + +Package: python-pyinotify-doc +Architecture: all +Depends: ${python:Depends} +Suggests: python-pyinotify +Description: Simple Linux inotify Python bindings + pyinotify is a simple wrapper for the Linux inotify mechanism. + . + inotify is a Linux Kernel feature available since 2.6.13. inotify makes + it possible for applications to easily be notified of filesystem changes. + . + This package contains Inotify's documentation and examples. + . + Homepage: http://pyinotify.sourceforge.net/ + --- pyinotify-0.5.2.orig/debian/copyright +++ pyinotify-0.5.2/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Hans Ulrich Niedermann on +Sat, 4 Feb 2006 12:50:56 +0000. + +It was downloaded from http://pyinotify.sourceforge.net/ + +Upstream Author: Sebastien Martini + +Copyright: + + Copyright (C) 2005-2006 Sebastien Martini + + 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. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL --- pyinotify-0.5.2.orig/debian/changelog +++ pyinotify-0.5.2/debian/changelog @@ -0,0 +1,44 @@ +pyinotify (0.5.2-1.1ubuntu2) feisty; urgency=low + + * debian/rules + - Rebuild the _inotify.so library for each python version + - Fixes LP:#85705 + + -- Christopher James Halse Rogers (RAOF) Sat, 17 Feb 2007 16:55:51 +1100 + +pyinotify (0.5.2-1.1ubuntu1) edgy; urgency=low + + * rebuild to fix package contents + * debian/control + - python-pyinotify: remove [dummy package] from description + - python-pyinotify-doc: suggest python-pyinotify instead of + python2.*-pyinotify + + -- Michael Bienia Fri, 8 Sep 2006 22:42:44 +0200 + +pyinotify (0.5.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update package for new python policy (Closes: #373497). + + -- Pierre Habouzit Fri, 30 Jun 2006 10:30:52 +0200 + +pyinotify (0.5.2-1) unstable; urgency=low + + * New upstream release. + + -- Hans Ulrich Niedermann Sun, 2 Apr 2006 02:35:31 +0200 + +pyinotify (0.5.1-1) unstable; urgency=low + + * New upstream release. + * Explicitly list all (Linux) architectures supported by inotify. + * Do ship private docs (they are linked to from the public docs). + + -- Hans Ulrich Niedermann Tue, 28 Mar 2006 14:25:09 +0200 + +pyinotify (0.5.0-1) unstable; urgency=low + + * Initial Release, closes: #351451. + + -- Hans Ulrich Niedermann Thu, 9 Mar 2006 15:48:55 +0100 --- pyinotify-0.5.2.orig/debian/rules +++ pyinotify-0.5.2/debian/rules @@ -0,0 +1,94 @@ +#!/usr/bin/make -f +# pyinotify debian/rules file +# +# Based on sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# 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) + +configure: configure-stamp +configure-stamp: + dh_testdir + for python in $(PYVERS); do \ + "$${python}" setup.py config; \ + done + touch $@ + +build: build-stamp +build-stamp: + dh_testdir +#Since setup.py doesn't segregate _inotify.so by the python version it's built +#against, we need to build and install in one go for each python version. +#(LP #85705) +# for python in $(PYVERS); do \ + "$${python}" setup.py build; \ + done + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + for python in $(PYVERS); do \ + "$${python}" setup.py clean --all; \ + done + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +#setup.py does not segregate the _inotify.so based on python build version +#We therefore need to rebuild it before installing for each version. + for python in $(PYVERS); do \ + $$python setup.py build --force ; \ + $$python setup.py install --root=$(CURDIR)/debian/python-pyinotify; \ + done + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installexamples -i + dh_installchangelogs -i ChangeLog + dh_link -i + dh_strip -i + dh_compress -i -Xexamples + dh_fixperms -i + dh_pysupport -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installchangelogs -a ChangeLog + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_pysupport -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pyinotify-0.5.2.orig/debian/python-pyinotify-doc.docs +++ pyinotify-0.5.2/debian/python-pyinotify-doc.docs @@ -0,0 +1,8 @@ +AUTHORS +NEWS +README +TODO +doc/*.html +doc/*.css +doc/private +doc/public --- pyinotify-0.5.2.orig/debian/python-pyinotify-doc.examples +++ pyinotify-0.5.2/debian/python-pyinotify-doc.examples @@ -0,0 +1 @@ +src/examples/* --- pyinotify-0.5.2.orig/debian/watch +++ pyinotify-0.5.2/debian/watch @@ -0,0 +1,4 @@ +version=3 +# The first versions were named 0.06 and 0.07, while they logically are +# 0.0.6 and 0.0.7, respectively. +opts="uversionmangle=s/^0\.0([67])$/0\.0\.$1/" http://sf.net/pyinotify/pyinotify-(.*)\.tar\.bz2 --- pyinotify-0.5.2.orig/debian/python-pyinotify.docs +++ pyinotify-0.5.2/debian/python-pyinotify.docs @@ -0,0 +1,4 @@ +AUTHORS +NEWS +README +TODO --- pyinotify-0.5.2.orig/debian/compat +++ pyinotify-0.5.2/debian/compat @@ -0,0 +1 @@ +4 --- pyinotify-0.5.2.orig/debian/pycompat +++ pyinotify-0.5.2/debian/pycompat @@ -0,0 +1 @@ +2