File: rules

package info (click to toggle)
flask-restful 0.3.10-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,312 kB
  • sloc: python: 3,945; makefile: 277; pascal: 26; sh: 20
file content (16 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=flask-restful

#Disabling two tests until XML request handing is fixed. A detailed futher investigation
#is needed in class api mediatypes() in flask_restful/__init__.py or whatsoever.
export PYBUILD_TEST_ARGS=-k 'not test_media_types_method and not test_media_types_q'

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

execute_after_dh_auto_clean:
	rm -rf $(CURDIR)/docs/_build

execute_after_dh_auto_build:
	cd docs; PYTHONPATH=.. http_proxy='127.0.0.1:9' make html