File: rules

package info (click to toggle)
anosql 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 256 kB
  • sloc: python: 633; makefile: 197; sql: 66
file content (13 lines) | stat: -rwxr-xr-x 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=anosql


%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# Requires pytest-postgresql not yet in debian
	py.test-3 tests -k 'not test_simple and not test_psycopg2'
endif