File: rules

package info (click to toggle)
rpmlint 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,308 kB
  • sloc: python: 20,622; ansic: 2,511; xml: 1,272; makefile: 17; sh: 4
file content (20 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

override_dh_auto_build:
	rm -f __version__.py
	rm -f __isocodes__.py
	ISO_3166_1_URL="file:///usr/share/iso-codes/json/iso_3166-1.json" \
	ISO_639_3_URL="file:///usr/share/iso-codes/json/iso_639-3.json" \
	dh_auto_build

override_dh_auto_test:
	-dh_auto_test

execute_after_dh_python3:
	rm -fv debian/rpmlint/usr/lib/python3*/*-packages/.coverage

%:
	dh $@ --buildsystem=pybuild