| 1 | #!/usr/bin/make -f |
| 2 | include ../common.mk |
| 3 | |
| 4 | all: run check |
| 5 | |
| 6 | run: clean |
| 7 | dpkg-buildpackage -b -us -uc |
| 8 | |
| 9 | check: |
| 10 | grep -qe "^Depends: .*python3\(:any\)\? (<< 3\.[0-9]\+)" \ |
| 11 | debian/foo/DEBIAN/control |
| 12 | grep -qe "^Depends: .*python3\(:any\)\? (>= 3\.[0-9]\+~)" \ |
| 13 | debian/foo/DEBIAN/control |
| 14 | |
| 15 | clean: |
| 16 | ./debian/rules clean |
| 17 | rm -rf lib/Foo.egg-info build |