##// END OF EJS Templates
hghave: add a check for debian packaging tools
Augie Fackler -
r26110:2dcfb98c default
parent child Browse files
Show More
@@ -414,6 +414,16 b' def has_aix():'
414 def has_osx():
414 def has_osx():
415 return sys.platform == 'darwin'
415 return sys.platform == 'darwin'
416
416
417 @check("debhelper", "debian packaging tools")
418 def has_debhelper():
419 dpkg = matchoutput('dpkg --version',
420 "Debian `dpkg' package management program")
421 dh = matchoutput('dh --help',
422 'dh is a part of debhelper.')
423 dh_py2 = matchoutput('dh_python2 --help',
424 'other supported Python versions')
425 return dpkg and dh and dh_py2
426
417 @check("absimport", "absolute_import in __future__")
427 @check("absimport", "absolute_import in __future__")
418 def has_absimport():
428 def has_absimport():
419 import __future__
429 import __future__
General Comments 0
You need to be logged in to leave comments. Login now