File: rules

package info (click to toggle)
python-sptest 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 208 kB
  • ctags: 112
  • sloc: python: 390; makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_VERBOSE=1

DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')

%:
	dh $@ --with python2 --buildsystem pybuild

get-orig-source:
	uscan --force-download --rename --repack --destdir=. \
		--download-version=$(DEB_UPSTREAM_VERSION)