File: rules

package info (click to toggle)
postgresfixture 0.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 224 kB
  • sloc: python: 1,094; makefile: 5
file content (12 lines) | stat: -rwxr-xr-x 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/make -f

export PYBUILD_NAME := postgresfixture
export PYBUILD_TEST_ARGS := {dir}/postgresfixture/tests
# The main purpose of packaging this was to make the fixture available to
# other packages' test suites, so it doesn't seem worth adding another
# binary package for the command-line interface at the moment.  If you need
# this you can use "python3 -m postgresfixture" instead.
export PYBUILD_AFTER_INSTALL := rm -rfd '{destdir}/usr/bin'

%:
	dh $@ --buildsystem=pybuild