Bug#663616: missing Depends: python-pkg-resources

2012-03-13 Thread Khalid El Fathi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/12/2012 06:38 PM, Justin B Rye wrote:
 This package has what looks like an obvious and crippling library 
 dependency bug:

Hi Justin,

Thank you for your report bug. It's fixed in new version.

Cheers,
Khalid.

- -- 
 .''`.   Khalid El Fathi kha...@elfathi.fr
: :'  :  GPG: 4096R/9368CAEC
`. `'`
  `-
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPXxvjAAoJEOtK9aGTaMrsCqQP/jeUE5jI3ZpCQ8/ne2ITjSFw
edljNRqvFr3KWt2bTC3yKVqatiHyASzFn5iN08jmdNYxtDGjbI0uf2a9Mz2KRLmN
Kz36vm9immOH4zksxM3tGfvqJ3VZJXnXtSHcKEwVJto+0EnFaQg+nbpf/hU2hdBB
bfCEZh48dFIRRzeLZPG7hgMKuQsHmAoU2rUBx/Dp6nrLlOi4tLt9RKPWCHzJuLp6
ID0j5ZBZCT/wbNZ+uztZn+SPXsf9h109Ef/bokWmhXYNeg3fGDboBeOEOGX6bTbV
UFSIgKOHEglKWynyShOv0bJg4gF2jA4CWGR6MD7Os8Dw2Pwu2eWhDh/At86ziJHQ
zoh3sqouMge9ff4dVCHCQjxNZ8NJpsSGR7uS03HvO+nrgL3C0QcBCUwu5mBxXJAJ
57GfAvG+GbmDWUKsg9ZoF0WBVUkRJpK03iTI2jt9MTbJDHtUVIGYsUy8PsRr3Qgw
iTdGsTXt4AnRyfXbuL9SzhPn4zC5vJigbf0XOq/YsQOqTsOWrCvhHY6r9afrNavU
VtOAXHBAOr2tACKNZzBNFaGsKnZl8M8lSBRpiabXW+KgvMt/7Q8fBvf5l5l8i2l4
XgQRNJ5WhWb2p5HHMnHRysaBgORBRXORQ0nmPXfVZvdkdn3wVKSnvqgC12sMVeZH
3oLsZWsPwkp6M4bPZ7k5
=O3Gp
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663616: missing Depends: python-pkg-resources

2012-03-12 Thread Justin B Rye
Package: httpcode
Version: 0.5-1
Severity: important
Tags: patch

This package has what looks like an obvious and crippling library
dependency bug:

 $ sudo apt-get install httpcode
 [...]
 $ hc 404
 Traceback (most recent call last):
   File /usr/bin/hc, line 5, in module
 from pkg_resources import load_entry_point
 ImportError: No module named pkg_resources
 $ sudo apt-get install python-pkg-resources
 [...]
 $ hc 200
 Status code 200
 Message: OK
 Code explanation: Request fulfilled, document follows

My patch manually adds the required module package to the Depends:
line, but I Am Not A Pythonist; the correct solution might have
something to do with ${python:Depends} and/or dh_pywhatever.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages httpcode depends on:
ii  python   2.7.2-10
ii  python-colorama  0.2.4-1
ii  python2.62.6.7-4
ii  python2.72.7.2-8

httpcode recommends no packages.

httpcode suggests no packages.

-- no debconf information
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)
diff -ru httpcode-0.5.pristine/debian/control httpcode-0.5/debian/control
--- httpcode-0.5.pristine/debian/control	2012-03-08 23:11:52.0 +
+++ httpcode-0.5/debian/control	2012-03-12 17:31:07.471392472 +
@@ -10,7 +10,7 @@
 
 Package: httpcode
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-colorama 
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-colorama, python-pkg-resources
 Description: Explains the meaning of an HTTP status code on the command line 
  httpcode is a little utility that explains the meaning of an HTTP
  status code on the command line.