File: rules

package info (click to toggle)
pyjwt 0.2.1-1%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 164 kB
  • ctags: 77
  • sloc: python: 286; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 490 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

# The test suite is not shipped in the source dist so can't be enabled.
# https://github.com/progrium/pyjwt/issues/36
export PYBUILD_DISABLE=test
export PYBUILD_NAME=jwt

export PYTHONWARNINGS=d

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

override_dh_auto_build:
	dh_auto_build
	cp debian/jwt.1 debian/jwt3.1
	sed -i 's/jwt/jwt3/g' debian/jwt3.1

override_dh_auto_install:
	dh_auto_install
	mv debian/python3-jwt/usr/bin/jwt debian/python3-jwt/usr/bin/jwt3