File: rules

package info (click to toggle)
django-simple-captcha 0.5.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,336 kB
  • sloc: python: 1,220; makefile: 80; sh: 5
file content (17 lines) | stat: -rwxr-xr-x 442 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
# -*- makefile -*-

export PYBUILD_NAME=django-captcha

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

.PHONY: override_dh_auto_test
override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args="cd testproject && {interpreter} manage.py test captcha"

override_dh_install:
	dh_install

	find debian/python3-django-captcha -name Vera.ttf -exec \
		ln -sf /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf {} \;;