File: rules

package info (click to toggle)
python-noiseprotocol 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,656 kB
  • sloc: python: 1,259; makefile: 25
file content (22 lines) | stat: -rwxr-xr-x 551 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

UPSTREAM_GIT := https://github.com/plizonczyk/noiseprotocol.git
include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_TEST_ARGS= -v tests

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

override_dh_auto_build:
	ln -s noise noiseprotocol
	dh_auto_build

override_dh_auto_clean:
	dh_auto_clean
	rm -f noiseprotocol

override_dh_fixperms:
	dh_fixperms
	rm -rf $(CURDIR)/debian/python3-noiseprotocol/usr/lib/python3/dist-packages/noise
	rm -rf $(CURDIR)/debian/python3-noiseprotocol/usr/lib/python3/dist-packages/examples