Hi, Attached is a diff of the NMU I've just released.
dh_python2 is a *debhelper* tool, and works perfectly fine with CDBS. Arguing that dh_python2 works best with dh sequencer is FUD! - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
diff -Nru giws-2.0.2/debian/changelog giws-2.0.2/debian/changelog --- giws-2.0.2/debian/changelog 2013-11-21 15:06:30.000000000 +0100 +++ giws-2.0.2/debian/changelog 2015-08-19 12:10:39.000000000 +0200 @@ -1,3 +1,11 @@ +giws (2.0.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Switch to dh_python2 helper (from python-support). + Closes: bug#786001. Thanks to dktrkranz and Graham Inggs. + + -- Jonas Smedegaard <[email protected]> Wed, 19 Aug 2015 12:10:30 +0200 + giws (2.0.2-1) unstable; urgency=low * New upstream release diff -Nru giws-2.0.2/debian/control giws-2.0.2/debian/control --- giws-2.0.2/debian/control 2013-11-21 15:06:20.000000000 +0100 +++ giws-2.0.2/debian/control 2015-08-19 12:10:06.000000000 +0200 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Sylvestre Ledru <[email protected]> Build-Depends: debhelper (>= 5), python, cdbs, python-libxml2, - python-support + python-dev (>= 2.3.5-7) Homepage: http://www.scilab.org/giws/ Standards-Version: 3.9.5 Vcs-Svn: https://bollin.googlecode.com/svn/giws/trunk diff -Nru giws-2.0.2/debian/rules giws-2.0.2/debian/rules --- giws-2.0.2/debian/rules 2010-05-17 14:32:32.000000000 +0200 +++ giws-2.0.2/debian/rules 2015-08-19 12:00:05.000000000 +0200 @@ -1,17 +1,14 @@ #!/usr/bin/make -f # Copyright 2008 - Sylvestre Ledru <[email protected]> -include /usr/share/python/python.mk - -DEB_PYTHON_SYSTEM := pysupport +# target binary python package must be declared before CDBS includes +DEB_PYTHON2_MODULE_PACKAGES = giws include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk -DEB_PYTHON_COMPILE_VERSION := $(shell pyversions -r) -DEB_DH_INSTALL_SOURCEDIR := debian/tmp -DEB_PYTHON_INSTALL_ARGS_ALL += --no-compile --root=$(CURDIR)/debian/giws/ $(py_setup_install_args) -DEB_INSTALL_CHANGELOGS_ALL += CHANGELOG +# install python stuff directly into its package (bypassing debhelper) +DEB_PYTHON_DESTDIR = debian/giws get-orig-source: uscan --upstream-version 0 --rename

