From: Andreas Tille Date: Tue, 11 Feb 2014 15:08:30 +0000 (+0100) Subject: Additional hint to Python Library Style Guide X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~409 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc3cf262dae8a3d1768fb0edca52e7d577d809fb;p=python-pysam.git Additional hint to Python Library Style Guide --- diff --git a/debian/rules b/debian/rules index 87fa96b..8dbc39a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,13 @@ #!/usr/bin/make -f +# Hint: +# https://wiki.debian.org/Python/LibraryStyleGuide +# suggests: +export PYBUILD_NAME=pysam +# which probably does not harm but due to the fact that there is +# some additional binary package a debian/python-pysam.install +# file is definitely needed. + DEBPKGNAME := python-$(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') TESTPKG := $(DEBPKGNAME)-tests pybuilddir := $(CURDIR)/build/lib.$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)-$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)