Bug#754328: devscripts: mk-origtargz fails on .zip files

James McCoy jamessan at debian.org
Wed Jul 9 23:28:21 UTC 2014


Control: severity -1 normal
Control: tag -1 moreinfo

On Wed, Jul 09, 2014 at 06:38:28PM -0400, Barry Warsaw wrote:
> I have a debian/watch file that points to a .zip on PyPI:
> 
> version=3
> http://pypi.python.org/packages/source/z/zope.browserpage/zope.browserpage-(\d.*)\.(?:tar\.gz|zip)
> 
> mk-orig-targz fails with the following error message:

$ uscan --no-conf --package zope.browserpage --upstream-version 0 --download --repack --watchfile watch
zope.browserpage: Newer version (4.1.0a1) available on remote site:
  http://pypi.python.org/packages/source/z/zope.browserpage/zope.browserpage-4.1.0a1.zip
  (local version is 0)
Successfully downloaded updated package zope.browserpage-4.1.0a1.zip
Successfully repacked ../zope.browserpage-4.1.0a1.zip as ../zope.browserpage_4.1.0a1.orig.tar.gz.

> % uscan --force-download --repack
> zope.browserpage: Version (4.1.0a1) available on remote site:
>   http://pypi.python.org/packages/source/z/zope.browserpage/zope.browserpage-4.1.0a1.zip
>     (local version is 4.0.0)
>     Use of uninitialized value $mime in string eq at /usr/bin/mk-origtargz line 315.

What does “file --dereference --brief --mime-type zope.browserpage-4.1.0a1.zip” show?

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20140709/6bbe0aaa/attachment.sig>


More information about the devscripts-devel mailing list