Package: python-stdeb Version: 0.8.2-4 Followup-For: Bug #615858 Hello,
I ended up using the attached patch for this problem. Regards -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-stdeb depends on: ii debhelper 9.20150507 ii python 2.7.9-1 ii python-requests 2.4.3-6 ii python-setuptools 17.0-1 pn python:any <none> Versions of packages python-stdeb recommends: ii apt-file 2.5.4 ii dpkg-dev 1.17.25 ii python-all 2.7.9-1 Versions of packages python-stdeb suggests: pn python-all-dev <none> -- no debconf information
--- downloader.py 2015-05-27 19:28:33.444125512 +0200 +++ /usr/lib/python2.7/dist-packages/stdeb/downloader.py 2015-05-27 19:26:07.812543653 +0200 @@ -58,7 +58,7 @@ for url in urls: if url['packagetype']=='sdist': assert url['python_version']=='source', 'how can an sdist not be a source?' - if url['url'].endswith('.tar.gz'): + if url['url'].endswith('.tar.gz') or url['url'].endswith('.zip'): download_url = url['url'] if 'md5_digest' in url: expected_md5_digest = url['md5_digest']