Skip to content
Snippets Groups Projects
Commit 64919839 authored by Scott Kitterman's avatar Scott Kitterman
Browse files

* Correct Python package names with hyphens in them being ignored

    (Closes: #657665)
parent 6ad547c6
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,10 @@ python-defaults (2.7.2-11) UNRELEASED; urgency=low ...@@ -6,8 +6,10 @@ python-defaults (2.7.2-11) UNRELEASED; urgency=low
* Move /usr/bin/pyversions from python to python-minimal since that's where * Move /usr/bin/pyversions from python to python-minimal since that's where
the actual script it's a symlink to lives, add Breaks/Replaces the actual script it's a symlink to lives, add Breaks/Replaces
* Bump standards version to 3.9.3 without further change * Bump standards version to 3.9.3 without further change
* Correct Python package names with hyphens in them being ignored
(Closes: #657665)
-- Scott Kitterman <scott@kitterman.com> Wed, 18 Apr 2012 17:29:50 -0400 -- Scott Kitterman <scott@kitterman.com> Fri, 04 May 2012 23:34:46 -0400
python-defaults (2.7.2-10) unstable; urgency=low python-defaults (2.7.2-10) unstable; urgency=low
......
...@@ -32,7 +32,7 @@ log = logging.getLogger(__name__) ...@@ -32,7 +32,7 @@ log = logging.getLogger(__name__)
PUBLIC_DIR_RE = re.compile(r'.*?/usr/lib/python(\d.\d+)/(site|dist)-packages') PUBLIC_DIR_RE = re.compile(r'.*?/usr/lib/python(\d.\d+)/(site|dist)-packages')
PYDIST_RE = re.compile(r""" PYDIST_RE = re.compile(r"""
(?P<name>[A-Za-z][A-Za-z0-9_.]*) # Python distribution name (?P<name>[A-Za-z][A-Za-z0-9_.\-]*) # Python distribution name
\s* \s*
(?P<vrange>(?:-?\d\.\d+(?:-(?:\d\.\d+)?)?)?) # version range (?P<vrange>(?:-?\d\.\d+(?:-(?:\d\.\d+)?)?)?) # version range
\s* \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