File: rules

package info (click to toggle)
python-forbiddenfruit 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 208 kB
  • sloc: python: 529; ansic: 149; makefile: 47
file content (8 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download
1
2
3
4
5
6
7
8
#! /usr/bin/make -f

export PYBUILD_NAME := forbiddenfruit
export PYBUILD_BEFORE_TEST := FFRUIT_EXTENSION=true {interpreter} {dir}/setup.py build_ext && cp -a {dir}/build/lib*/ffruit*.so {dir}/tests/unit/
export PYBUILD_AFTER_TEST := rm -f {dir}/tests/unit/ffruit*.so

%:
	dh $@ --buildsystem=pybuild