1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk # DEB_VERSION
export PYBUILD_TEST_ARGS= -k 'not test_convert_defaults and not test_convert_output and not test_fetch_url_http and not test_convert_petstore_yaml and not test_convert_petstore_json and not test_convert_petstore_yaml_explicit_name and not test_convert_url and not test_convert_spec and not test_convert_parser_lazy_swagger_backend and not test_convert_parser_validated'
%:
dh $@ --buildsystem=pybuild
B = $(CURDIR)/debian/tmp/usr/bin
M = $(CURDIR)/debian/tmp/usr/share/man/man1
execute_before_dh_installman:
mkdir -pv $(M)
env PYTHONPATH=$(CURDIR) \
help2man --version-string="$(DEB_VERSION)" \
--no-info \
--name="resolving parser for Swagger/OpenAPI API specs" \
--output $(M)/prance.1 \
$(B)/prance
|