File ignore-unmet-deps.patch of Package python-stdeb

Index: stdeb-0.9.0/stdeb/command/bdist_deb.py
===================================================================
--- stdeb-0.9.0.orig/stdeb/command/bdist_deb.py
+++ stdeb-0.9.0/stdeb/command/bdist_deb.py
@@ -48,7 +48,7 @@ class bdist_deb(Command):
             raise ValueError('could not find debian source directory')
 
         # define system command to execute (gen .deb binary pkg)
-        syscmd = ['dpkg-buildpackage','-rfakeroot','-b']
+        syscmd = ['dpkg-buildpackage','-d','-rfakeroot','-b']
 
         if not self.sign_results:
             syscmd.append('-uc')
Index: stdeb-0.9.0/stdeb/util.py
===================================================================
--- stdeb-0.9.0.orig/stdeb/util.py
+++ stdeb-0.9.0/stdeb/util.py
@@ -1408,7 +1408,7 @@ def build_dsc(debinfo,
     if sign_dsc:
         args = ()
     else:
-        args = ('-uc','-us')
+        args = ('-d','-uc','-us')
 
     dpkg_buildpackage('-S','-sa',*args,cwd=fullpath_repackaged_dirname)
 
Index: stdeb-0.9.0/test.sh
===================================================================
--- stdeb-0.9.0.orig/test.sh
+++ stdeb-0.9.0/test.sh
@@ -74,7 +74,7 @@ export DEB_BUILD_OPTIONS=nocheck # psyco
 ${PY2DSC} $SOURCE_TARBALL
 
 cd deb_dist/$DEBSOURCE
-dpkg-buildpackage -rfakeroot -uc -us
+dpkg-buildpackage -d -rfakeroot -uc -us
 cd ../..
 for DEBFILE in deb_dist/*.deb; do
   echo "contents of $DEBFILE from $SOURCE_TARBALL in case 1:"
@@ -98,7 +98,7 @@ cd $SOURCE_TARBALL_DIR
 $PYEXE -c "import sys; print('sys.version',sys.version)"
 $PYEXE setup.py --command-packages=stdeb.command sdist_dsc
 cd deb_dist/$DEBSOURCE
-dpkg-buildpackage -rfakeroot -uc -us
+dpkg-buildpackage -d -rfakeroot -uc -us
 cd ../..
 for DEBFILE in deb_dist/*.deb; do
   echo "contents of $DEBFILE from $SOURCE_TARBALL in case 2:"
openSUSE Build Service is sponsored by