File: rules

package info (click to toggle)
pyroma 5.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 508 kB
  • sloc: python: 1,161; makefile: 43
file content (19 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-
export PYBUILD_NAME=pyroma
export PYBUILD_TEST_ARGS=-k 'not RatingsTest' {dir}/pyroma/tests.py
export DH_VERBOSE=1

# Force UTF-8 locale
export LC_ALL=C.UTF-8

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.txt

override_dh_auto_install:
	dh_auto_install
	# Renaming Python3 binary
	mv debian/python3-pyroma/usr/bin/pyroma debian/python3-pyroma/usr/bin/pyroma3