| 1 |
|
| 2 |
include ../common.mk |
| 3 |
|
| 4 |
DI=debian/python3-foo/usr/lib/python3/dist-packages/foo-0.1.dist-info |
| 5 |
|
| 6 |
check: |
| 7 |
test -f debian/python3-foo/usr/lib/python3/dist-packages/foo/__init__.py |
| 8 |
test -f debian/python3-foo/usr/bin/foo |
| 9 |
test ! -f $(DI)/RECORD |
| 10 |
test ! -f $(DI)/direct_url.json |
| 11 |
grep -q debian debian/python3-foo/usr/lib/python3/dist-packages/foo-0.1.dist-info/INSTALLER |
| 12 |
grep -q 'Depends:.*python3-cachy' debian/python3-foo/DEBIAN/control |
| 13 |
grep -v -q 'Depends:.*python3-importlib-metadata' debian/python3-foo/DEBIAN/control |
| 14 |
grep -L 'Depends:.*tox' debian/python3-foo/DEBIAN/control | grep -q control |
| 15 |
find .pybuild -name test-executed | grep -q test-executed |
| 16 |
test -f debian/python3-foo/usr/share/man/man1/foo.1.gz |
| 17 |
|
| 18 |
clean: |
| 19 |
./debian/rules clean |