[SCM] csound/master: Specify python version

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Sun Jul 3 19:02:29 UTC 2016


The following commit has been merged in the master branch:
commit 82ccb2f9c7cf97b8b2395d6441def8342eccaf46
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sat Jun 18 12:24:34 2016 -0400

    Specify python version

diff --git a/debian/Custom.cmake b/debian/Custom.cmake
index e96a2e8..b7d8b80 100644
--- a/debian/Custom.cmake
+++ b/debian/Custom.cmake
@@ -1,6 +1,6 @@
 
 
-
+set(Python_ADDITIONAL_VERSIONS "@PYVERSION@")
 set(PYTHON_MODULE_INSTALL_DIR "@PYLIBPATH@")
 #set(JAVA_MODULE_INSTALL_DIR "")
 set(LUA_MODULE_INSTALL_DIR "lib/lua/5.1/")
diff --git a/debian/rules b/debian/rules
index 013b4de..f487ce8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -150,7 +150,7 @@ build-doxygen-stamp:
 pre-build:: Custom.cmake
 Custom.cmake: debian/Custom.cmake
 	sed -e 's, at PYLIBPATH@,$(PYLIBPATH2),' -e 's, at MTUNE@,$(MTUNE),' \
-		-e 's, at DATE@,$(PACKAGE_DATE),' \
+		-e 's, at DATE@,$(PACKAGE_DATE),' -e 's, at PYVERSION@,$(cdbs_python_current_version),' \
 		debian/Custom.cmake > \
 		Custom.cmake
 

-- 
csound packaging



More information about the pkg-multimedia-commits mailing list