[Reproducible-commits] [cdbs] 17/41: Drop variable cdbs_python_stem (replace with private variable) without deprecation (unused outside cdbs).

Mattia Rizzolo mattia at debian.org
Tue May 10 14:42:27 UTC 2016


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

mattia pushed a commit to branch reproducible
in repository cdbs.

commit e018fcfd0793a2ac88fad556d9b14d6dd86f0949
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Oct 8 20:33:45 2014 +0200

    Drop variable cdbs_python_stem (replace with private variable) without deprecation (unused outside cdbs).
    
    Verified against <http://codesearch.debian.net>.
---
 1/class/python-vars.mk.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/1/class/python-vars.mk.in b/1/class/python-vars.mk.in
index 3fd4e6c..af0f551 100644
--- a/1/class/python-vars.mk.in
+++ b/1/class/python-vars.mk.in
@@ -113,9 +113,9 @@ cdbs_python_systems = $(strip \
 		$(foreach p,$(_CDBS_PYTHONS),\
 			$(if $(_cdbs_$p_packages),\
 				$p))))
-cdbs_python_stem = $(if $(DEB_PYTHON_SYSTEM),,$(if $(_cdbs_python3_packages),3))
 # some build systems can handle only a single packaging system
-cdbs_python_stem += $(strip \
+_cdbs_python_singlesystem = $(strip \
+	$(cdbs_python_systems) \
 	$(if $(word 2,$(cdbs_python_systems)),$(error \
 	use of multiple python implementations is unsupported here - \
 	either change target binary package names, or explicitly set \
@@ -169,7 +169,7 @@ cdbs_curpythonsystems = $(strip $(if $(DEB_PYTHON_SYSTEM),\
 			python3))))
 cdbs_curpythonstem = $(strip \
 	$(if $(cdbs_python_single_system),\
-		$(cdbs_python_stem),\
+		$(patsubst python%,%,$(_cdbs_python_singlesystem)),\
 		$(if $(filter $(cdbs_curpkg),$(_cdbs_python3_packages)),\
 			3)))
 cdbs_curpythonindepbinary = python$(or $(strip \

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



More information about the Reproducible-commits mailing list