[Python-modules-commits] [python-pynzb] 01/07: Restrict 2to3 to python3 build area

Carl Suster arcresu-guest at moszumanska.debian.org
Mon Jan 9 01:19:04 UTC 2017


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

arcresu-guest pushed a commit to branch master
in repository python-pynzb.

commit 881ff2b7d064e82e84846288b5cb9b5ff32cc4ac
Author: Carl Suster <carl at contraflo.ws>
Date:   Mon Jan 9 11:56:25 2017 +1100

    Restrict 2to3 to python3 build area
---
 debian/rules | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2585a83..5b9c1e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,8 @@
 export PYBUILD_NAME=pynzb
 
 export PYBUILD_TEST_ARGS=pynzb/tests.py
+export PYBUILD_AFTER_BUILD_python3=2to3 -n -w {build_dir}/pynzb/
 
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
-
-override_dh_auto_build:
-	2to3 -n -w pynzb/
-	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pynzb.git



More information about the Python-modules-commits mailing list