tags 672187 + patch tags 672187 + pending thanks Dear maintainer,
Given your IRC consent, I've prepared an NMU for pyinotify (versioned as 0.9.3-1.1) and uploaded it directly to NEW. Regards, OdyX
diff -Nru pyinotify-0.9.3/debian/changelog pyinotify-0.9.3/debian/changelog --- pyinotify-0.9.3/debian/changelog 2012-03-19 20:15:33.000000000 +0100 +++ pyinotify-0.9.3/debian/changelog 2012-06-16 12:58:55.000000000 +0200 @@ -1,3 +1,10 @@ +pyinotify (0.9.3-1.1) unstable; urgency=low + + * Non-maintainer upload with IRC maintainer consent. + * Add python3 package (Closes: #672187). + + -- Didier Raboud <o...@debian.org> Sat, 16 Jun 2012 12:58:31 +0200 + pyinotify (0.9.3-1) unstable; urgency=low * New upstream release. diff -Nru pyinotify-0.9.3/debian/control pyinotify-0.9.3/debian/control --- pyinotify-0.9.3/debian/control 2012-03-19 20:10:24.000000000 +0100 +++ pyinotify-0.9.3/debian/control 2012-06-16 12:44:31.000000000 +0200 @@ -3,12 +3,13 @@ Priority: optional Maintainer: Mikhail Gusarov <dotted...@debian.org> Uploaders: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> -Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~) +Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~), python3 Build-Depends-Indep: python-epydoc Standards-Version: 3.9.3 Homepage: https://github.com/seb-m/pyinotify Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyinotify/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyinotify/trunk/ +X-Python3-Version: >= 3.2 Package: python-pyinotify Architecture: all @@ -21,11 +22,24 @@ inotify is a Linux Kernel feature available since 2.6.13. inotify makes it possible for applications to easily be notified of filesystem changes. +Package: python3-pyinotify +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Provides: ${python3:Provides} +Suggests: python-pyinotify-doc +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 is the Python 3 version of the package. + Package: python-pyinotify-doc Architecture: all Section: doc Depends: ${misc:Depends} -Recommends: python-pyinotify +Recommends: python-pyinotify, python3-pyinotify Description: simple Linux inotify Python bindings -- documentation pyinotify is a simple wrapper for the Linux inotify mechanism. . diff -Nru pyinotify-0.9.3/debian/python3-pyinotify.install pyinotify-0.9.3/debian/python3-pyinotify.install --- pyinotify-0.9.3/debian/python3-pyinotify.install 1970-01-01 01:00:00.000000000 +0100 +++ pyinotify-0.9.3/debian/python3-pyinotify.install 2012-06-16 12:27:30.000000000 +0200 @@ -0,0 +1 @@ +usr/lib/python3 diff -Nru pyinotify-0.9.3/debian/python-pyinotify.install pyinotify-0.9.3/debian/python-pyinotify.install --- pyinotify-0.9.3/debian/python-pyinotify.install 1970-01-01 01:00:00.000000000 +0100 +++ pyinotify-0.9.3/debian/python-pyinotify.install 2012-06-16 12:27:30.000000000 +0200 @@ -0,0 +1 @@ +usr/lib/python2* diff -Nru pyinotify-0.9.3/debian/rules pyinotify-0.9.3/debian/rules --- pyinotify-0.9.3/debian/rules 2011-08-28 01:35:07.000000000 +0200 +++ pyinotify-0.9.3/debian/rules 2012-06-16 12:49:26.000000000 +0200 @@ -1,16 +1,29 @@ #!/usr/bin/make -f +PYTHON3=$(shell py3versions -vr) + %: - dh $@ --with python2 + dh $@ --with python2,python3 override_dh_auto_clean: dh_auto_clean -- --all + rm -rf build + rm -rf *.egg-info rm -rf html [ ! -e docstrings.orig ] || mv docstrings.orig docstrings -override_dh_auto_install: - dh_auto_install --destdir=$(CURDIR)/debian/python-pyinotify -- --install-layout=deb +build-python%: + python$* setup.py build + +override_dh_auto_build: $(PYTHON3:%=build-python%) + dh_auto_build + +install-python%: + python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb + +override_dh_auto_install: $(PYTHON3:%=install-python%) + dh_auto_install [ ! -e docstrings ] || mv docstrings docstrings.orig epydoc python2/pyinotify.py