Package: synce-kpm Version: 0.15-1 Severity: serious Tags: patch User: debian-pyt...@lists.debian.org Usertags: python2.6 Justification: http://lists.debian.org/debian-release/2010/02/msg00325.html
Hello, Your package fails to build from source with Python 2.6 as default: […] | running install_egg_info | running egg_info | creating synce_kpm.egg-info | writing synce_kpm.egg-info/PKG-INFO | writing top-level names to synce_kpm.egg-info/top_level.txt | writing dependency_links to synce_kpm.egg-info/dependency_links.txt | writing manifest file 'synce_kpm.egg-info/SOURCES.txt' | reading manifest file 'synce_kpm.egg-info/SOURCES.txt' | reading manifest template 'MANIFEST.in' | writing manifest file 'synce_kpm.egg-info/SOURCES.txt' | Copying synce_kpm.egg-info to /tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/local/lib/python2.6/dist-packages/synce_kpm-0.15.egg-info | running install_scripts | creating /tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/local/bin | copying build/scripts-2.6/synce-kpm -> /tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/local/bin | changing mode of /tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/local/bin/synce-kpm to 755 | mkdir -p /tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/share/synceKPM | mv /tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/lib/python2.6/site-packages/synceKPM/data \ | /tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/share/synceKPM | mv: cannot stat `/tmp/buildd/synce-kpm-0.15/debian/synce-kpm/usr/lib/python2.6/site-packages/synceKPM/data': No such file or directory The attached patch fixes this bug. -- Jakub Wilk
diff -Nru synce-kpm-0.15/debian/rules synce-kpm-0.15/debian/rules --- synce-kpm-0.15/debian/rules 2010-05-12 17:52:25.000000000 +0200 +++ synce-kpm-0.15/debian/rules 2010-06-04 23:55:40.000000000 +0200 @@ -2,6 +2,7 @@ PYVER=$(shell python -c 'import sys; print sys.version[:3]') +-include /usr/share/python/python.mk include $(CURDIR)/debian/update-patches.mk clean: @@ -25,11 +26,12 @@ dh_clean -k dh_installdirs python setup.py install \ + $(py_setup_install_args) \ --root=$(CURDIR)/debian/synce-kpm \ --single-version-externally-managed \ mkdir -p $(CURDIR)/debian/synce-kpm/usr/share/synceKPM - mv $(CURDIR)/debian/synce-kpm/usr/lib/python$(PYVER)/site-packages/synceKPM/data \ + mv $(CURDIR)/debian/synce-kpm/usr/lib/python$(PYVER)/*-packages/synceKPM/data \ $(CURDIR)/debian/synce-kpm/usr/share/synceKPM binary-indep: build install
signature.asc
Description: Digital signature