tag 587131 +patch
thanks

On 01/-10/-28163 08:59 PM, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
>> dh_usrlocal: debian/python-paver/usr/local/bin/paver is not a directory
>> rmdir: failed to remove `debian/python-paver/usr/local/bin': Directory not 
>> empty
>> dh_usrlocal: rmdir debian/python-paver/usr/local/bin returned exit code 1
>> make: *** [binary] Error 1

By using the --destdir option to dh_auto_install instead of calling
setup.py directly, this issue can be avoided.

Regards,
Christian
diff -urN python-paver-1.0.2/debian/rules python-paver-1.0.2-new//debian/rules
--- python-paver-1.0.2/debian/rules	2010-06-25 16:24:31.000000000 +0200
+++ python-paver-1.0.2-new//debian/rules	2010-06-25 16:23:48.755367462 +0200
@@ -19,7 +19,7 @@
 	  debian/python-paver/usr/share/doc/python-paver/_static
 	dh_link /usr/share/javascript/jquery/jquery.js \
 	  /usr/share/doc/python-paver/html/_static/jquery.js
-	python setup.py install --root=$(CURDIR)/debian/python-paver
+	dh_auto_install --destdir=debian/python-paver
 
 override_dh_compress:
 	dh_compress -i -X.py -X.rst -X.js -X.html
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to