File: rules

package info (click to toggle)
gitsome 0.8.0%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,424 kB
  • sloc: python: 9,280; sh: 28; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 522 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 PYBUILD_NAME=gitsome
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install-indep:
	# redirect python library
	sed -i "/import sys/ a sys.path.insert(1,'/usr/lib/python3/dist-packages/python-sigmavirus24-urltemplate/')" \
	debian/gitsome/usr/bin/gh

override_dh_missing:
	dh_missing --fail-missing

override_dh_clean:
	dh_clean
	find -name "gitsome.egg-info" | xargs rm -rf
	find -name "parser_table.py" | xargs rm -rf
	find -name "lastfailed" | xargs rm -rf

override_dh_auto_test: