File: rules

package info (click to toggle)
iredis 1.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,388 kB
  • sloc: python: 6,494; sh: 16; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 521 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

export PYBUILD_NAME=iredis

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

execute_before_dh_auto_clean:
	cp debian/local/setup.py setup.py

execute_after_dh_auto_clean:
	rm -f setup.py

execute_before_dh_auto_configure:
	cp debian/local/setup.py setup.py

execute_after_dh_auto_install:
	mkdir -p debian/iredis/usr/lib/python3/dist-packages/iredis/data
	cp iredis/data/iredisrc debian/iredis/usr/lib/python3/dist-packages/iredis/data/iredisrc

override_dh_auto_test:
	# disabled, doesn't work yet