File: rules

package info (click to toggle)
python-pynetbox 5.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,044 kB
  • sloc: python: 2,607; makefile: 16
file content (12 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

# A working Netbox instance is needed for tests
export PYBUILD_DISABLE=test

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

# The six==1.* dependency doesn't translate properly (broken `= 1.` version)
override_dh_gencontrol:
	sed -i s/\(=\ 1.\)/\(\<\<\ 2\)/ debian/python3-pynetbox.substvars
	dh_gencontrol