Skip to content
Snippets Groups Projects
Commit eb6e5e26 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

dh_python2: fix parsing .pyinstall files (a space between file name and module...

dh_python2: fix parsing .pyinstall files (a space between file name and module name is now required)
parent 0b76c9a5
No related branches found
No related tags found
No related merge requests found
python-defaults (2.6.6-11) UNRELEASED; urgency=low
* dh_python2: fix parsing .pyinstall files (a space between file name and
module name is now required)
-- Piotr Ożarowski <piotr@debian.org> Sat, 15 Jan 2011 21:14:38 +0100
python-defaults (2.6.6-10) experimental; urgency=low
* dh_python2: fix moving files from old debug locations (due to typo)
......
......@@ -35,7 +35,7 @@ EGGnPTH_RE = re.compile(r'(.*?)(-py\d\.\d(?:-[^.]*)?)?(\.egg-info|\.pth)$')
SHEBANG_RE = re.compile(r'^#!\s*/usr/bin/(?:env\s+)?(python(\d+\.\d+)?(?:-dbg)?).*')
INSTALL_RE = re.compile(r"""
(?P<pattern>.+?) # file pattern
\s* # optional Python module name:
\s+ # optional Python module name:
(?P<module>[A-Za-z][A-Za-z0-9_.]*)?
\s* # optional version range:
(?P<vrange>%s)?$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment