Files
python-stdeb/ignore-unmet-deps.patch
John Vandenberg 4803178f89 Accepting request 972333 from home:jayvdb:branches:devel:languages:python
- Fixed %check by adding missing $
- Update to v0.10.0
  * The default Debian compat version has been changed from 7 to 9
    as well as new
- from v0.9.1
  * A few improvements for Python 3 as well as new options.
- Updated patches

OBS-URL: https://build.opensuse.org/request/show/972333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stdeb?expand=0&rev=15
2022-04-24 13:25:33 +00:00

49 lines
1.8 KiB
Diff

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:"