From ba6d96469df143b52295f8e79da648bf8a597407 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 18:08:06 +0200 Subject: Adding upstream version 5.20230130+deb12u1. Signed-off-by: Daniel Baumann --- tests/tpb02/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/tpb02/Makefile (limited to 'tests/tpb02/Makefile') diff --git a/tests/tpb02/Makefile b/tests/tpb02/Makefile new file mode 100644 index 0000000..3a86c66 --- /dev/null +++ b/tests/tpb02/Makefile @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +include ../common.mk + +DI=debian/python3-foo/usr/lib/python3/dist-packages/foo-0.1.dist-info + +check: + test -f debian/python3-foo/usr/lib/python3/dist-packages/foo/__init__.py + test -f debian/python3-foo/usr/bin/foo + grep -q ^foo/__init__.py, $(DI)/RECORD + test ! -f $(DI)/direct_url.json + grep -L ^foo-0.1.dist-info/direct_url.json, $(DI)/RECORD | grep -q RECORD + grep -q 'Depends:.*python3-tomli' debian/python3-foo/DEBIAN/control + grep -q 'Depends:.*python3-importlib-metadata \| python3 (>> 3\.5)' debian/python3-foo/DEBIAN/control + grep -L 'Depends:.*tox' debian/python3-foo/DEBIAN/control | grep -q control + find .pybuild -name test-executed | grep -q test-executed + test -f debian/python3-foo/usr/share/man/man1/foo.1.gz + +clean: + ./debian/rules clean -- cgit v1.2.3