Priority: optional
Maintainer: Guido Günther <agx@sigxcpu.org>
Build-Depends: cdbs, debhelper (>= 5), python-dev, python-support (>= 0.3),
- pychecker, gtk-doc-tools, sgml2x, docbook-utils, jade, python-dateutil
+ pychecker, gtk-doc-tools, sgml2x, docbook-utils, jade, python-dateutil, python-nose
Standards-Version: 3.8.2
Vcs-Git: http://honk.sigxcpu.org/git/git-buildpackage.git/
Vcs-Browser: http://git.debian.org/?p=users/agx/git-buildpackage.git
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
checks: $(PYCHECKS)
+ nosetests --with-doctest
endif
%.py: %
raise GbpError, "Cannot copy files, pipe failed."
return [ os.path.normpath(f) for f in files if files ]
-
-def _test():
- import doctest
- doctest.testmod()
-
-if __name__ == '__main__':
- _test()
-
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·:
if m:
return m.group('version')
-
-def _test():
- import doctest
- doctest.testmod()
-
-if __name__ == '__main__':
- _test()
-
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·:
tz = d.strftime("%z")
return '%d %s' % (seconds, tz)
-
-def _test():
- import doctest
- doctest.testmod()
-
-
-if __name__ == '__main__':
- _test()
-
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: