Skip to content
Snippets Groups Projects
Commit a4bc2bc8 authored by James Page's avatar James Page Committed by Piotr Ożarowski
Browse files

dhpython/pydist.py: Ensure that != dependency versions are ignored

parent a9db46f9
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,10 @@ dh-python (2.20160609) UNRELEASED; urgency=medium
* Standards-Version is 3.9.8 now (no changes needed)
* Changed Vcs-* URLs to https protocol
[ James Page ]
* dhpython/pydist.py: Ensure that != dependency versions are ignored
(LP: #1581065).
-- Piotr Ożarowski <piotr@debian.org> Thu, 18 Feb 2016 21:08:04 +0100
dh-python (2.20151103) unstable; urgency=medium
......
......@@ -150,7 +150,7 @@ def guess_dependency(impl, req, version=None, bdep=None):
# Debian dependency
return item['dependency']
if req_d['version'] and (item['standard'] or item['rules']) and\
req_d['operator'] not in (None, '=='):
req_d['operator'] not in (None, '==', '!='):
v = _translate(req_d['version'], item['rules'], item['standard'])
return "%s (%s %s)" % (item['dependency'], req_d['operator'], v)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment