[med-svn] [mypy] 01/01: enable packaging under Jessie

Michael Crusoe misterc-guest at moszumanska.debian.org
Thu May 5 14:14:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

misterc-guest pushed a commit to branch master
in repository mypy.

commit 9de4b431e87214649c1d6518a1410712868a1fcb
Author: Michael R. Crusoe <crusoe at ucdavis.edu>
Date:   Thu May 5 07:14:15 2016 -0700

    enable packaging under Jessie
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index e668ff7..52847cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,15 +4,16 @@
 DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
 VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
 export PYBUILD_NAME = mypy-lang
+PPATH=$(CURDIR):$(CURDIR)/lib-typing/3.2
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=$(CURDIR) help2man build/*/mypy --no-info \
+	PYTHONPATH=$(PPATH) help2man build/*/mypy --no-info \
 		   --version-string="${VERSION}" \
 		   --name 'Optional Static Typing for Python' > debian/mypy.1
-	PYTHONPATH=$(CURDIR) help2man build/*/stubgen --no-info \
+	PYTHONPATH=$(PPATH) help2man build/*/stubgen --no-info \
 		   --no-discard-stderr --version-string="${VERSION}" \
 		   --name 'Generate draft stubs for Python modules.' > \
 		   debian/stubgen.1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mypy.git



More information about the debian-med-commit mailing list