[SCM] blender/master: debian/: more python3 simplification

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Fri Aug 16 13:04:53 UTC 2013


The following commit has been merged in the master branch:
commit 2ee930a23c9e5bc06f4d2854b8ca8c93668f5872
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Thu Aug 8 17:38:33 2013 +0200

    debian/: more python3 simplification
    
    - debian/control: python3.3 => python3
    - debian/rules: PY3VERS defined and used
    
    Git-Dch: Ignore

diff --git a/debian/control b/debian/control
index 4f45294..00d8889 100644
--- a/debian/control
+++ b/debian/control
@@ -41,8 +41,8 @@ Build-Depends: autotools-dev,
                libz-dev,
                libfontconfig-dev,
                pkg-config,
-               python3-all-dev (>= 3.3),
-               python3.3-dev,
+               python3-all-dev,
+               python3-dev,
                subversion
 X-Python3-Version: >= 3.3
 Build-Conflicts: nvidia-glx
diff --git a/debian/rules b/debian/rules
index 40fe941..c50a990 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 INSTDIR = debian/tmp
+PY3VERS = $(shell py3versions -dv)
 
 # Adapted from http://wiki.debian.org/SandroTosi/Svn_get-orig-source
 PACKAGE = blender
@@ -24,7 +25,7 @@ override_dh_auto_configure:
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_SKIP_RPATH=ON \
 		-DCMAKE_VERBOSE_MAKEFILE=ON \
-		-DPYTHON_VERSION=3.3 \
+		-DPYTHON_VERSION=$(PY3VERS) \
 		-DWITH_IMAGE_OPENJPEG=ON \
 		-DWITH_FFTW3=ON \
 		-DWITH_JACK=ON \

-- 
blender packaging



More information about the pkg-multimedia-commits mailing list