File: rules

package info (click to toggle)
python-notify2 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 160 kB
  • sloc: python: 451; makefile: 135; sh: 7
file content (20 lines) | stat: -rwxr-xr-x 423 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
# -*- makefile -*-
#DH_VERBOSE=1

# This is needed on buildd so that dbus can use ~/.dbus
export HOME = $(CURDIR)

export PYBUILD_TEST_CUSTOM := 1
export PYBUILD_TEST_ARGS := PYTHONS={version} dbus-run-session -- xvfb-run -a {dir}/debian/runtests.sh

PYTHON3=$(shell py3versions -vr)

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build
	rm -rf *.egg-info
	rm -rf .dbus