File: rules

package info (click to toggle)
python-prance 25.4.8.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,140 kB
  • sloc: python: 3,381; makefile: 205
file content (20 lines) | stat: -rwxr-xr-x 788 bytes parent folder | download
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