File: rules

package info (click to toggle)
python-fusepy 3.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: python: 997; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 429 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

build3vers := $(shell py3versions -sv)

export PYBUILD_NAME = fusepy

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

override_dh_auto_clean:
	rm -rf fusepy.py .pybuild *egg-info

override_dh_auto_build:
	cp -pv fuse.py fusepy.py
	dh_auto_build

override_dh_gencontrol:
	dh_gencontrol -- \
	  -Vlib:Depends=$(shell dpkg-query -W -f '$${Depends}' libfuse-dev \
			| sed -E 's/.*(libfuse[[:alnum:].-]+).*/\1/')