[pynfft] 03/03: d/rules: add missing py2 and py3 detection

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Jun 9 14:38:56 UTC 2014


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

ghisvail-guest pushed a commit to branch master
in repository pynfft.

commit 08f6a4aa4e11454c02a0ba55962b85807dd55370
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Mon Jun 9 15:34:37 2014 +0100

    d/rules: add missing py2 and py3 detection
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index a2c9ebc..2fc3f5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,8 @@ PYTHON2_DEBUG_PACKAGE=${PYTHON2_PACKAGE}-dbg
 PYTHON_DOC_PACKAGE=${PYTHON2_PACKAGE}-doc
 PYTHON3_PACKAGE=python3-${SOURCE_PACKAGE}
 PYTHON3_DEBUG_PACKAGE=${PYTHON3_PACKAGE}-dbg
+PYTHON2:=$(shell pyversions -vr)
+PYTHON3:=$(shell py3versions -vr)
 
 %:
 	dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pynfft.git



More information about the debian-science-commits mailing list