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

no longer generates python2.X | python2.Y depenendies for public modules (Closes: 625740)

parent a1a5d931
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,8 @@ python-defaults (2.7.3-1) unstable; urgency=low
+ "/usr/bin/python2" → "/usr/bin/python"
- new --shebang option to replace all shebangs in bin dirs
(example: --shebang /usr/bin/python2.6)
- no longer generates python2.X | python2.Y depenendies for public modules
(Closes: 625740)
* pyversions, dh_python2, pycompile: allow to override system's list of
supported Python versions via DEBPYTHON_SUPPORTED and default Python
version via DEBPYTHON_DEFAULT env. variables
......
......@@ -94,11 +94,13 @@ class Dependencies(object):
tpl = 'python-dbg' if dbgpkg else 'python'
minv = pub_vers[0]
maxv = pub_vers[-1]
if dbgpkg:
tpl2 = 'python%d.%d-dbg'
else:
tpl2 = 'python%d.%d'
self.depend(' | '.join(tpl2 % i for i in debsorted(pub_vers)))
# generating "python2.X | python2.Y | python2.Z" dependencies
# disabled (see #625740):
#if dbgpkg:
# tpl2 = 'python%d.%d-dbg'
#else:
# tpl2 = 'python%d.%d'
#self.depend(' | '.join(tpl2 % i for i in debsorted(pub_vers)))
# additional Depends to block python package transitions
if minv <= DEFAULT:
......
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