debian/rules
raw| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=markdown-it-py |
| 4 | |
| 5 | |
| 6 | PYTHON3S:=$(shell py3versions -vr) |
| 7 | |
| 8 | |
| 9 | %: |
| 10 | dh $@ --buildsystem=pybuild |
| 11 | |
| 12 | override_dh_auto_test: |
| 13 | ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS))) |
| 14 | dh_auto_test |
| 15 | set -e ; for pyvers in $(PYTHON3S); do \ |
| 16 | PYTHONPATH=. python$$pyvers -m pytest benchmarking/bench_core.py benchmarking/bench_packages.py -k 'not test_markdown_it_pyrs';\ |
| 17 | done |
| 18 | endif |