File: Makefile

package info (click to toggle)
dh-python 7.20251231
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: python: 6,487; makefile: 605; perl: 251; sh: 36
file content (17 lines) | stat: -rw-r--r-- 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
include ../common.mk

check:
	# FIXME: This used to be a 2.7 + 3.x test. It may not be useful any more, without 2.x
	test -f debian/python3-foo/usr/lib/python3/dist-packages/foo.py
	grep -q 'Depends:.*python3-setuptools' debian/python3-foo/DEBIAN/control
	./debian/rules clean
	test -f foo.egg-info/SOURCES.txt
	grep -q extra-file foo.egg-info/SOURCES.txt
	test ! -f foo.egg-info/PKG-INFO
	test ! -f foo.egg-info/dependency_links.txt
	test ! -f foo.egg-info/requires.txt
	test ! -f foo.egg-info/top_level.txt

clean:
	./debian/rules clean