| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | include /usr/share/dpkg/pkg-info.mk |
| 4 | |
| 5 | srcdir=$(shell pwd) |
| 6 | export PYBUILD_NAME=path |
| 7 | export LC_ALL=C.UTF-8 |
| 8 | export PYBUILD_TEST_ARGS=$(srcdir)/tests/test_path.py |
| 9 | |
| 10 | %: |
| 11 | dh $@ --buildsystem=pybuild |
| 12 | |
| 13 | execute_before_dh_auto_build: |
| 14 | sed -i path/__init__.py -e "s/@VERSION@/'$(DEB_VERSION_UPSTREAM)'/g" |
| 15 | |
| 16 | execute_after_dh_auto_clean: |
| 17 | rm -rf path.egg-info/ |