File: rules

package info (click to toggle)
python-scrapli-replay 2023.7.30-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 456 kB
  • sloc: python: 2,625; makefile: 43
file content (20 lines) | stat: -rwxr-xr-x 605 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

UPSTREAM_GIT := https://github.com/scrapli/scrapli_replay
include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_NAME=scrapli

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

override_dh_auto_clean:
	rm -rf build .stestr *.egg-info .pybuild
	find . -iname '*.pyc' -delete
	for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done

# This package only exists so we can run tests in scrapli,
# so running these tests is both overkill and useless. If
# someone has time to waste on it, please contribute!
override_dh_auto_test:
	echo "No tests in this package..."