File: rules

package info (click to toggle)
pyparsing 3.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 12,200 kB
  • sloc: python: 30,867; ansic: 422; sh: 112; makefile: 24
file content (21 lines) | stat: -rwxr-xr-x 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export PYBUILD_NAME = pyparsing
export PYBUILD_TEST_ARGS = -v -k "not test_range_check"

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build-indep:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=`pybuild --print {build_dir}` http_proxy='127.0.0.1:9' make -C docs html # HTML generator
endif

execute_after_dh_python3:
	rm -rvf debian/*/usr/lib/python3/dist-packages/*.html

override_dh_installexamples:
	dh_installexamples -i -ppython-pyparsing-doc -X.pyc -X__pycache__

override_dh_compress:
	dh_compress -i -X.py