File: rules

package info (click to toggle)
python-pyclustering 0.10.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,124 kB
  • sloc: cpp: 38,888; python: 24,311; sh: 384; makefile: 105
file content (17 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME=pyclustering

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

override_dh_auto_test:
	@true

override_dh_install:
	dh_install
	rm -fr debian/python3-$(PYBUILD_NAME)/usr/lib/**/dist-packages/pyclustering/samples/graphs
	rm -fr debian/python3-$(PYBUILD_NAME)/usr/lib/**/dist-packages/pyclustering/samples/images
	rm -fr debian/python3-$(PYBUILD_NAME)/usr/lib/**/dist-packages/pyclustering/samples/samples
	chmod a-x `find debian/python3-$(PYBUILD_NAME)/usr/share/pyclustering -type f`