File: rules

package info (click to toggle)
pyusb 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 504 kB
  • sloc: python: 5,812; sh: 59; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
# -*- makefile -*-
export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog -S version)

export PYBUILD_NAME = usb

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

override_dh_auto_clean:
	dh_auto_clean
	$(RM) -r pyusb.egg-info/
	$(RM) usb/_version.py