| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_DISABLE=test |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --with python3 --buildsystem=pybuild |
| 7 |
|
| 8 |
|
| 9 |
override_dh_clean: |
| 10 |
dh_clean |
| 11 |
|
| 12 |
find test/generated -type f -name '*.py' -and ! -name '__init__.py' -exec rm {} \; |
| 13 |
|
| 14 |
# Upstream release is dirty, recreate files for Git to not be lost and |
| 15 |
# in order to avoid a +ds repack just for this issue. |
| 16 |
mkdir test/generated/testproto/__pycache__ |
| 17 |
touch test/generated/testproto/__pycache__/__init__.py |
| 18 |
mkdir test/generated/testproto/dot/com/__pycache__ |
| 19 |
touch test/generated/testproto/dot/com/__pycache__/__init__.py |