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

dh_python2: warnings about --install-layout=deb and translating

dependencies are just an info now
parent 8e18652e
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,8 @@ python-defaults (2.7.5-3) UNRELEASED; urgency=low ...@@ -6,6 +6,8 @@ python-defaults (2.7.5-3) UNRELEASED; urgency=low
[ Piotr Ożarowski ] [ Piotr Ożarowski ]
* Replace /usr/bin/dh_python2 with a shell script that invokes * Replace /usr/bin/dh_python2 with a shell script that invokes
dh-python's dh_python2 if debian/control mentions dh-python dh-python's dh_python2 if debian/control mentions dh-python
* dh_python2: warnings about --install-layout=deb and translating
dependencies are just an info now
-- Matthias Klose <doko@debian.org> Mon, 17 Jun 2013 11:09:36 +0200 -- Matthias Klose <doko@debian.org> Mon, 17 Jun 2013 11:09:36 +0200
......
...@@ -172,7 +172,7 @@ def guess_dependency(req, version=None): ...@@ -172,7 +172,7 @@ def guess_dependency(req, version=None):
# fall back to python-distname # fall back to python-distname
pname = sensible_pname(name) pname = sensible_pname(name)
log.warn('Cannot find installed package that provides %s. ' log.info('Cannot find installed package that provides %s. '
'Using %s as package name. Please add "%s correct_package_name" ' 'Using %s as package name. Please add "%s correct_package_name" '
'line to debian/pydist-overrides to override it if this is incorrect.', 'line to debian/pydist-overrides to override it if this is incorrect.',
name, pname, safe_name(name)) name, pname, safe_name(name))
......
...@@ -84,7 +84,7 @@ def fix_locations(package): ...@@ -84,7 +84,7 @@ def fix_locations(package):
'found in two locations:\n %s\n %s', 'found in two locations:\n %s\n %s',
ver, location, found_versions[ver]) ver, location, found_versions[ver])
exit(2) exit(2)
log.warn('Python %s should install files in %s. ' log.info('Python %s should install files in %s. '
'Did you forget "--install-layout=deb"?', 'Did you forget "--install-layout=deb"?',
ver, sitedir(version)) ver, sitedir(version))
if not isdir(dstdir): if not isdir(dstdir):
......
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