Package: python
Version: 2.6.7-2
Severity: normal

the package name guessing from install_requires/requires.txt of dh_python2 does
not work well for feature decorated requirements "package[feature]"
e.g. foolscap optionally has secure connections when pyopenssl is installed.
This can be required with:
foolscap[secure_connections]
this is used e.g. by tahoe-lafs

dh_python2 guesses this requirement to python-foolscap-secure-connections- and
thus requiring to override it to the correct package name python-foolscap.

W: pydist:177: Cannot find package that provides foolscap[secure_connections].
Using python-foolscap-secure-connections- as package name. Please add
"foolscap_secure_connections_ correct_package_name" line to debian/pydist-
overrides to override it.

dh_python2 should probably just strip the part in the square brackets to
provide a better guess



-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 
'natty-proposed'), (500, 'natty'), (100, 'natty-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-11-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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

Reply via email to