File: rules

package info (click to toggle)
pg8000 1.31.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 816 kB
  • sloc: python: 8,220; sh: 25; makefile: 11
file content (23 lines) | stat: -rwxr-xr-x 444 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
22
23
#!/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 $@ --with python3 --buildsystem=pybuild

override_dh_auto_clean:
	rm -f VERSION
	dh_auto_clean

override_dh_auto_build:
	echo "$(DEB_VERSION_UPSTREAM)" > VERSION
	dh_auto_build

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