File: rules

package info (click to toggle)
pg8000 1.31.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 836 kB
  • sloc: python: 8,273; sh: 25; makefile: 9
file content (21 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=pg8000

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_auto_clean:
	rm -f VERSION

execute_before_dh_auto_build:
	echo "$(DEB_VERSION_UPSTREAM)" > VERSION

override_dh_auto_test:
	# Tests require a running postgresql server with a specific config