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

ignore /usr/bin/python3 shebangs in all packages, not just in python3-* ones

parent 9e6fc028
No related branches found
No related tags found
No related merge requests found
python-defaults (2.7.3-3) UNRELEASED; urgency=low
* dh_python2: no longer sensitive to trailing slash in private dir names
(closes: #686358)
* dh_python2:
- no longer sensitive to trailing slash in private dir names
(closes: #686358)
- ignore /usr/bin/python3 shebangs in all packages, not just in
python3-* ones
- TODO: parse interpreter version number from --shebang option and add
apropriate dependency/rt* script arguments
-- Piotr Ożarowski <piotr@debian.org> Fri, 31 Aug 2012 18:06:26 +0200
......
......@@ -33,7 +33,7 @@ from debpython.version import RANGE_PATTERN, getver, get_requested_versions
log = logging.getLogger(__name__)
EGGnPTH_RE = re.compile(r'(.*?)(-py\d\.\d(?:-[^.]*)?)?(\.egg-info|\.pth)$')
SHEBANG_RE = re.compile(r'^#!\s*(.*?/bin/.*?)(python(\d+\.\d+)?(?:-dbg)?)(?:\s(.*))?')
SHEBANG_RE = re.compile(r'^#!\s*(.*?/bin/.*?)(python(2\.\d+)?(?:-dbg)?)(?:\s(.*))?$')
SHAREDLIB_RE = re.compile(r'NEEDED.*libpython(\d\.\d)')
INSTALL_RE = re.compile(r"""
(?P<pattern>.+?) # file pattern
......
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