equal
deleted
inserted
replaced
585 # the 'build-debs' package instead, which has a dependency on devscripts. |
585 # the 'build-debs' package instead, which has a dependency on devscripts. |
586 debuild = matchoutput('debuild --help', |
586 debuild = matchoutput('debuild --help', |
587 br'to run debian/rules with given parameter') |
587 br'to run debian/rules with given parameter') |
588 return dpkg and dh and dh_py2 and debuild |
588 return dpkg and dh and dh_py2 and debuild |
589 |
589 |
|
590 @check("debdeps", |
|
591 "debian build dependencies (run dpkg-checkbuilddeps in contrib/)") |
|
592 def has_debdeps(): |
|
593 # just check exit status (ignoring output) |
|
594 path = '%s/../contrib/debian/control' % os.environ['TESTDIR'] |
|
595 return matchoutput('dpkg-checkbuilddeps %s' % path, br'') |
|
596 |
590 @check("demandimport", "demandimport enabled") |
597 @check("demandimport", "demandimport enabled") |
591 def has_demandimport(): |
598 def has_demandimport(): |
592 return os.environ.get('HGDEMANDIMPORT') != 'disable' |
599 return os.environ.get('HGDEMANDIMPORT') != 'disable' |
593 |
600 |
594 @check("py3k", "running with Python 3.x") |
601 @check("py3k", "running with Python 3.x") |