Files
python-stdeb/ignore-unmet-deps.patch

49 lines
1.8 KiB
Diff
Raw Permalink Normal View History

Index: stdeb-0.10.0/stdeb/command/bdist_deb.py
===================================================================
--- stdeb-0.10.0.orig/stdeb/command/bdist_deb.py
+++ stdeb-0.10.0/stdeb/command/bdist_deb.py
@@ -56,7 +56,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.10.0/stdeb/util.py
===================================================================
--- stdeb-0.10.0.orig/stdeb/util.py
+++ stdeb-0.10.0/stdeb/util.py
@@ -1522,7 +1522,7 @@ def build_dsc(debinfo,
args = ['-S', '-sa']
if not sign_dsc:
- args += ['-uc', '-us']
+ args += ['-d', '-uc', '-us']
if ignore_source_changes:
args.append('-i.*')
Index: stdeb-0.10.0/test.sh
===================================================================
--- stdeb-0.10.0.orig/test.sh
+++ stdeb-0.10.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:"