FS#18424 - [namcap] Add support for multiple compression types
Attached to Project:
Arch Linux
Opened by Pierre Schmitz (Pierre) - Monday, 22 February 2010, 06:44 GMT
Last edited by Dan McGee (toofishes) - Monday, 01 March 2010, 05:08 GMT
Opened by Pierre Schmitz (Pierre) - Monday, 22 February 2010, 06:44 GMT
Last edited by Dan McGee (toofishes) - Monday, 01 March 2010, 05:08 GMT
|
Details
Namcap currently doesn't support any compression except
gzip. The attached patch includes a wrapepr script which
decompresses gzip, bz2 and xz archives and just forwards the
pure tar to namcap.
This is meant as a workaround until those compression types are supported within python. When applying this patch the following line has to be removed from the PKGBUILD: ln -s namcap.py ${pkgdir}/usr/bin/namcap || return 1 |
This task depends upon
Closed by Dan McGee (toofishes)
Monday, 01 March 2010, 05:08 GMT
Reason for closing: Fixed
Additional comments about closing: 2.5
Monday, 01 March 2010, 05:08 GMT
Reason for closing: Fixed
Additional comments about closing: 2.5
BTW, this one is a trivial typo:
http://bugs.archlinux.org/task/15591#comment48110
Also, I tried doing your changes locally but it doesn't work. Sending the uncompressed package to namcap.py directly doesn't even work:
$ namcap.py freeciv-2.2.0-1-x86_64.pkg.tar
Error: Cannot process freeciv-2.2.0-1-x86_64.pkg.tar