Bug#834238: dh-python: misparses dh-control and copies build profiles into substvars

2016-08-13 Thread Chris Lamb
tags 834238 + patch thanks Patch attached. The spec for this field is here: https://wiki.debian.org/BuildProfileSpec An_alternative diff could be: -\(?(?P[>=<]+\s*[^\)]+)?\)? +\(?(?P[>=<]+(?!!)\s*[^\)]+)?\)? .. if there is a good reason why we make the parens optional, rather th

Bug#834238: dh-python: misparses dh-control and copies build profiles into substvars

2016-08-13 Thread Mattia Rizzolo
package: dh-python version: 2.20160721 severity: normal Dear maintainer, I wanted to add a bunch of build profiles to a python package of mine, but stumbled upon this dh-python's bug. When using the --recommends flag, dh_python[23] look up the python package name and translates it into a debian