[Pkg-sugar-commit] [sugar-browse-activity] 12/32: Add convenience variable DEB_SUGAR_SOURCE_PKGBASE to python-sugar.mk.

Jonas Smedegaard dr at jones.dk
Mon Apr 20 09:46:44 UTC 2015


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

js pushed a commit to annotated tag debian/108-10
in repository sugar-browse-activity.

commit 6465f8a810215a5b3a1c5474c8672446b66bd4dc
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Sep 18 19:43:57 2009 +0200

    Add convenience variable DEB_SUGAR_SOURCE_PKGBASE to python-sugar.mk.
---
 debian/cdbs/1/class/python-sugar.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/cdbs/1/class/python-sugar.mk b/debian/cdbs/1/class/python-sugar.mk
index 2fd26cd..6709da5 100644
--- a/debian/cdbs/1/class/python-sugar.mk
+++ b/debian/cdbs/1/class/python-sugar.mk
@@ -64,6 +64,9 @@ else
 CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-central (>= 0.5.6)
 endif
 
+# Convenience variable for e.g. conflicts/provides/replaces
+DEB_SUGAR_SOURCE_PKGBASE ?= $(DEB_SOURCE_PACKAGE:%-$(firstword $(DEB_SUGAR_BRANCHES))=%)
+
 DEB_PYTHON_SUGAR_PACKAGES = $(filter sugar-%-activity, $(DEB_PACKAGES))
 
 # TODO: Move this to buildvars.mk

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



More information about the pkg-sugar-commit mailing list