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

Set the right minimum required python package version in packages with private modules

parent 53cedd88
No related branches found
No related tags found
No related merge requests found
python-defaults (2.6.6-1) UNRELEASED; urgency=low python-defaults (2.6.6-1) unstable; urgency=low
[ Piotr Ożarowski ] [ Piotr Ożarowski ]
* dh_python2: typo in --help output fixed (thanks to Adam D. Barratt) * dh_python2: typo in --help output fixed (thanks to Adam D. Barratt)
* Bump python-minimal's Breaks of python2.5-minimal to << 2.5.5-7 (due to * Bump python-minimal's Breaks of python2.5-minimal to << 2.5.5-7 (due to
missing runpy module) missing runpy module)
* Set the right minimum required python package version in packages with
private modules
[ Scott Kitterman ] [ Scott Kitterman ]
* debian/python-policy.sgml and debian/pyversions.py fix typos (thanks to * debian/python-policy.sgml and debian/pyversions.py fix typos (thanks to
...@@ -12,7 +14,7 @@ python-defaults (2.6.6-1) UNRELEASED; urgency=low ...@@ -12,7 +14,7 @@ python-defaults (2.6.6-1) UNRELEASED; urgency=low
[ Matthias Klose ] [ Matthias Klose ]
* Bump version to 2.6.6. * Bump version to 2.6.6.
-- Matthias Klose <doko@debian.org> Tue, 24 Aug 2010 20:03:26 +0200 -- Piotr Ożarowski <piotr@debian.org> Tue, 31 Aug 2010 19:09:30 +0200
python-defaults (2.6.5-13) unstable; urgency=low python-defaults (2.6.5-13) unstable; urgency=low
......
...@@ -23,6 +23,7 @@ import logging ...@@ -23,6 +23,7 @@ import logging
from debpython.pydist import parse_pydep, guess_dependency from debpython.pydist import parse_pydep, guess_dependency
from debpython.version import SUPPORTED, DEFAULT, debsorted, vrepr, vrange_str from debpython.version import SUPPORTED, DEFAULT, debsorted, vrepr, vrange_str
MINPYCDEP = 'python (>= 2.6.5-11~)' # minumum version required for pycompile
log = logging.getLogger('dh_python') log = logging.getLogger('dh_python')
...@@ -119,7 +120,7 @@ class Dependencies(object): ...@@ -119,7 +120,7 @@ class Dependencies(object):
# make sure pycompile binary is available # make sure pycompile binary is available
if stats['compile']: if stats['compile']:
self.depend("python (>= 2.6.5-11~)") self.depend(MINPYCDEP)
for interpreter, version in stats['shebangs']: for interpreter, version in stats['shebangs']:
self.depend(interpreter) self.depend(interpreter)
...@@ -135,6 +136,7 @@ class Dependencies(object): ...@@ -135,6 +136,7 @@ class Dependencies(object):
# TODO: if versions[0] not in requested_versions: FTBFS # TODO: if versions[0] not in requested_versions: FTBFS
elif details.get('compile', False): elif details.get('compile', False):
# no hardcoded versions, but there's something to compile # no hardcoded versions, but there's something to compile
self.depend(MINPYCDEP)
args = '' args = ''
vr = options.vrange vr = options.vrange
if vr: if vr:
......
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