Thanks for looking into this! * Paul Tagliamonte <t...@pault.ag>, 2012-02-23, 18:09:
-Build-Depends: debhelper (>= 7.0.8), python (>= 2.6.6-3~) +Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~), python-dulwich
For consistency with Depends, I'd add version constraint to python-dulwich.
-X-Python-Version: >= 2.5 +X-Python-Version: >= 2.6
Hmm, why?
-Format: http://dep.debian.net/deps/dep5 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
Wow, I didn't know it's need this to run tests these days. ;P
+override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + set -e; cd tests; for x in $(shell pyversions -r); do \ + $$x run-tests.py --with-hg=`which hg`; \ + done +endif
It's really that easy? Great. :) But it FTBFS here with: | set -e; cd tests; for x in python2.7 python2.6; do \ | $x run-tests.py --with-hg=`which hg`; \ | done | Traceback (most recent call last): | WARNING: Did not find prerequisite tool: unzip | File "run-tests.py", line 708, in <module> | main() | File "run-tests.py", line 704, in main | runtests(options, expecthg, tests) | File "run-tests.py", line 566, in runtests | installhg(options) | File "run-tests.py", line 239, in installhg | usecorrectpython() | File "run-tests.py", line 199, in usecorrectpython | os.symlink(sys.executable, mypython) | OSError: [Errno 2] No such file or directory -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org