File: rules

package info (click to toggle)
magicgui 0.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,796 kB
  • sloc: python: 11,202; makefile: 11; sh: 9
file content (15 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

export PYBUILD_NAME=magicgui
export MAGICGUI_SOURCE_DIR=$(CURDIR)
export PYBUILD_TEST_ARGS=-k 'not test_pushbutton_icon' # Requires network

%:
	dh $@ --with=python3 --with=numpy3 --buildsystem=pybuild --test-pytest

override_dh_auto_test:
	for API in pyqt5 pyqt6 pyside6; do \
	  set -e; \
	  echo "################# $$API TEST ##################"; \
	  PYTEST_QT_API=$$API QT_API=$$API dh_auto_test; \
	done