diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:24:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:24:24 +0000 |
commit | e924fa27b9b060b0b78d00d8c7a9b5f40e7d968e (patch) | |
tree | 465d1177e2acd4df5fa27d9625b04ed22105655e /debian/rules | |
parent | Adding upstream version 2.1.0. (diff) | |
download | markdown-it-py-debian.tar.xz markdown-it-py-debian.zip |
Adding debian version 2.1.0-5.debian/2.1.0-5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4e9559e --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#! /usr/bin/make -f + + +# ignore linkify tests until linkify is package in Debian #997970 +export PYBUILD_TEST_ARGS=--ignore tests/test_linkify.py \ + --ignore tests/test_port/test_fixtures.py \ + -k 'not test_linkify' +export PYBUILD_NAME=markdown-it-py + + +PYTHON3S:=$(shell py3versions -vr) + + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_test: +ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS))) + dh_auto_test + set -e ; for pyvers in $(PYTHON3S); do \ + PYTHONPATH=. python$$pyvers -m pytest benchmarking/bench_core.py benchmarking/bench_packages.py ;\ + done +endif |