[Python-modules-commits] r2663 - in /packages/pyinotify/trunk/debian: changelog control rules
kitterma-guest at users.alioth.debian.org
kitterma-guest at users.alioth.debian.org
Tue Jul 3 20:37:40 UTC 2007
Author: kitterma-guest
Date: Tue Jul 3 20:37:40 2007
New Revision: 2663
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2663
Log:
* Rebuild _inotify.so for each python version
* Suggest python-pyinotify instead of python2.*-pyinotify for
python-pyinotify-doc
Modified:
packages/pyinotify/trunk/debian/changelog
packages/pyinotify/trunk/debian/control
packages/pyinotify/trunk/debian/rules
Modified: packages/pyinotify/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyinotify/trunk/debian/changelog?rev=2663&op=diff
==============================================================================
--- packages/pyinotify/trunk/debian/changelog (original)
+++ packages/pyinotify/trunk/debian/changelog Tue Jul 3 20:37:40 2007
@@ -1,3 +1,11 @@
+pyinotify (0.7.0-3) unstable; urgency=low
+
+ * Rebuild _inotify.so for each python version
+ * Suggest python-pyinotify instead of python2.*-pyinotify for
+ python-pyinotify-doc
+
+-- Scott Kitterman <scott at kitterman.com> Tue, 03 Jul 2007 16:28:31 -0400
+
pyinotify (0.7.0-2) unstable; urgency=low
* Added armel and armeb to the supported architectures list. Thanks, Riku.
Modified: packages/pyinotify/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyinotify/trunk/debian/control?rev=2663&op=diff
==============================================================================
--- packages/pyinotify/trunk/debian/control (original)
+++ packages/pyinotify/trunk/debian/control Tue Jul 3 20:37:40 2007
@@ -44,7 +44,7 @@
Architecture: all
Section: doc
Depends: ${python:Depends}
-Suggests: python2.4-pyinotify | python2.3-pyinotify
+Suggests: python-pyinotify
Description: Simple Linux inotify Python bindings
pyinotify is a simple wrapper for the Linux inotify mechanism.
.
Modified: packages/pyinotify/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyinotify/trunk/debian/rules?rev=2663&op=diff
==============================================================================
--- packages/pyinotify/trunk/debian/rules (original)
+++ packages/pyinotify/trunk/debian/rules Tue Jul 3 20:37:40 2007
@@ -20,7 +20,9 @@
build: build-stamp
build-stamp:
dh_testdir
- for python in $(PYVERS); do \
+#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.
+ #for python in $(PYVERS); do \
"$${python}" setup.py build; \
done
touch $@
@@ -42,8 +44,10 @@
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
More information about the Python-modules-commits
mailing list