File: rules

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

# Copy the tests to the build directory.
export PYBUILD_BEFORE_TEST=cp {dir}/test.py {build_dir}

# Run the upstream tests.
export PYBUILD_TEST_ARGS=test.py

# Delete the tests from the build directory.
export PYBUILD_AFTER_TEST=rm {build_dir}/test.py


%:
	dh $@  --buildsystem=pybuild