File: rules

package info (click to toggle)
python-cymruwhois 1.6-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: python: 363; makefile: 82; sh: 20
file content (20 lines) | stat: -rwxr-xr-x 716 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
export PYBUILD_NAME=cymruwhois

%:
	dh $@  --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_build:
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ docs/_build/html # HTML generator
	sed "s/command\./command (Python 3)/" docs/cymruwhois.1>docs/python3-cymruwhois.1
	dh_auto_build

override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/python3-cymruwhois/usr/bin/cymruwhois $(CURDIR)/debian/python3-cymruwhois/usr/bin/python3-cymruwhois

override_dh_auto_test:
	echo "Tests are disabled as they require network connectivity."