File: rules

package info (click to toggle)
braceexpand 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 128 kB
  • sloc: python: 251; makefile: 21
file content (17 lines) | stat: -rwxr-xr-x 379 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=braceexpand
%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	$(eval BUILD_DIR=$(shell pybuild --print '{build_dir}'))
	cp -r test_braceexpand.py $(BUILD_DIR)
	dh_auto_test
	rm $(BUILD_DIR)/test_braceexpand.py
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -rf braceexpand.egg-info