File: rules

package info (click to toggle)
isort 5.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 636 kB
  • sloc: python: 6,258; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export PYBUILD_NAME=isort
# Tests are too hard to run at build time
export PYBUILD_DISABLE=test

%:
	dh $@ --buildsystem=pybuild


execute_after_dh_clean:
	rm -r isort/_vendored/


execute_after_dh_auto_install:
	mkdir -p debian/isort/usr/bin
	mv debian/python3-isort/usr/bin/isort debian/isort/usr/bin/isort
	rmdir debian/python3-isort/usr/bin