File: rules

package info (click to toggle)
pyroma 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 660 kB
  • ctags: 204
  • sloc: python: 1,071; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 477 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_DISABLE=test
export DH_VERBOSE=1

export http_proxy = http://127.0.0.1:9
export https_proxy = https://127.0.0.1:9

%:
	dh $@ --with python2,python3 --buildsystem=pybuild --test-tox

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.txt

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