File: rules

package info (click to toggle)
python-louvain 0.0%2B20181013git3fc1f575-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 176 kB
  • sloc: python: 533; makefile: 86
file content (20 lines) | stat: -rwxr-xr-x 628 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
export DH_VERBOSE = 1

export PYBUILD_NAME=python-louvain
VERS=0.11

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

override_dh_install:
	dh_install
	cd debian/python3-louvain/usr/lib/python3*/dist-packages && mv python_louvain-$(VERS).egg-info python_community-$(VERS).egg-info
	cd debian/python3-louvain/usr/bin && mv community louvain-community

override_dh_auto_clean:
	dh_auto_clean
	# clean, even if the package was renamed
	rm -rf debian/python3-louvain debian/python3-louvain.*.debhelper
	rm -rf debian/python3-community debian/python3-community.*.debhelper
	rm -f debian/python3-community.substvars