File: rules

package info (click to toggle)
py-macaroon-bakery 1.3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 660 kB
  • sloc: python: 7,670; makefile: 151
file content (11 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/make -f

export PYBUILD_NAME := macaroonbakery
export PYBUILD_TEST_PYTEST := 1
ifeq ($(PYBUILD_AUTOPKGTEST),1)
export PYBUILD_BEFORE_TEST := mkdir {build_dir}/macaroonbakery && cp -a {dir}/macaroonbakery/tests/ {build_dir}/macaroonbakery/
export PYBUILD_AFTER_TEST := rm -rf {build_dir}/macaroonbakery
endif

%:
	dh $@ --buildsystem=pybuild