[Pkg-sugar-commit] [sugar-imageviewer-activity] 06/08: Modernize CDBS use: Generalize resolving build-dependency on python.

Jonas Smedegaard dr at jones.dk
Tue Dec 13 16:27:58 UTC 2016


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

js pushed a commit to branch master
in repository sugar-imageviewer-activity.

commit ca9acad7febd9db202f4b60f7cd41c2e75d79d77
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Dec 13 17:07:22 2016 +0100

    Modernize CDBS use: Generalize resolving build-dependency on python.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 41841f5..fb13d02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,7 +31,8 @@ DEB_UPSTREAM_URL = http://download.sugarlabs.org/sources/sucrose/fructose/$(DEB_
 DEB_UPSTREAM_TARBALL_EXTENSION = tar.bz2
 
 # Suppress unneeded auto-resolved build-dependency on python-dev
-CDBS_BUILD_DEPENDS_class_python-sugar_python = python
+#  * TODO: drop cdbs_python_binary fallback when cdbs 0.4.150 is stable
+CDBS_BUILD_DEPENDS_class_python-sugar_python = $(or $(cdbs_python2_defaultruntime),$(cdbs_python_binary))
 
 # Override Sugar toolkit to use
 CDBS_BUILD_DEPENDS_class_python-sugar_sugar = python-sugar3, unzip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-imageviewer-activity.git



More information about the pkg-sugar-commit mailing list