File: rules

package info (click to toggle)
jupyter-server-terminals 0.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: python: 752; makefile: 24; sh: 10
file content (22 lines) | stat: -rwxr-xr-x 500 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 DH_VERBOSE=1

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	dh_auto_install
	mv debian/python3-jupyter-server-terminals/usr/etc debian/python3-jupyter-server-terminals/etc

ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	mkdir -p debian/testhome
	export HOME=$$(pwd)/debian/testhome;
	    export JUPYTER_PLATFORM_DIRS=1; \
	    jupyter --paths; \
	    dh_auto_test
endif

execute_after_dh_auto_clean:
	rm -rf debian/testhome