[SCM] csound/master: Build only for the default python version

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Thu Jul 14 03:47:40 UTC 2011


The following commit has been merged in the master branch:
commit d5f0532b68882ca0ad4ec4b8ee1728e610b2460d
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed Jul 13 21:58:02 2011 -0400

    Build only for the default python version

diff --git a/debian/control b/debian/control
index 794aa4b..cb38fe5 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Build-Depends: cdbs (>= 0.4.73~),
  liblua5.1-0-dev,
  tk-dev,
  tcl-dev,
- python-all-dev (>= 2.6.6-3~),
+ python-dev (>= 2.6.6-3~),
  puredata-dev,
  default-jdk,
  libfltk1.1-dev,
diff --git a/debian/rules b/debian/rules
index d137309..3d2853f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -102,6 +102,9 @@ DEB_SCONS_OPTIONS += \
 
 # Language Wrappers
 # TODO: build for all Python versions (not only current default one)
+# Force build of only the default one
+# UGLY HACK: abuse this variable to pass an appropriate -V option
+DEB_PYTHON_PRIVATE_MODULES_DIRS = -V $(shell pyversions -vd)
 TCLVERSION := $(shell dpkg -l tcl-dev | sed -n 's/.*\(8\.[45]\)\..*/\1/p')
 DEB_SCONS_OPTIONS += \
 	buildInterfaces=1 \
@@ -333,7 +336,7 @@ CDBS_BUILD_DEPENDS += , \
 	liblua5.1-0-dev, \
 	tk-dev, \
 	tcl-dev, \
-	python-all-dev (>= 2.6.6-3~), \
+	python-dev (>= 2.6.6-3~), \
 	puredata-dev, \
 	default-jdk
 

-- 
csound packaging



More information about the pkg-multimedia-commits mailing list