| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME := cached-property |
| 4 | |
| 5 | %: |
| 6 | dh $@ --with python3 --buildsystem=pybuild |
| 7 | |
| 8 | override_dh_auto_clean: |
| 9 | rm -rf $(PACKAGE_NAME).egg-info |
| 10 | rm -rf PKG-INFO |
| 11 | dh_auto_clean |
| 12 | |
| 13 | override_dh_install: |
| 14 | dh_install |
| 15 | # Copy the test suite to a decent location |
| 16 | mkdir -p debian/python3-cached-property/usr/share/python3-cached-property |
| 17 | cp -r tests/ debian/python3-cached-property/usr/share/python3-cached-property |