[SCM] libmediainfo/master: Install python modules

hyperair at users.alioth.debian.org hyperair at users.alioth.debian.org
Sat Aug 17 22:23:47 UTC 2013


The following commit has been merged in the master branch:
commit 7eda431c550bc9d23ef1c5873fc1d48817e74f9a
Author: Chow Loong Jin <hyperair at debian.org>
Date:   Sun Aug 18 02:31:58 2013 +0800

    Install python modules

diff --git a/debian/rules b/debian/rules
index 63a7d91..5299ca6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,12 @@ override_dh_auto_build:
 
 override_dh_auto_install:
 	dh_auto_install -DProject/GNU/Library
+	for py in $(shell pyversions -vr); do												\
+		install -D -m644 Source/MediaInfoDLL/MediaInfoDLL.py debian/tmp/usr/lib/python$$py/dist-packages/MediaInfoDLL.py;	\
+	done
+	for py3 in $(shell py3versions -vr); do												\
+		install -D -m644 Source/MediaInfoDLL/MediaInfoDLL3.py debian/tmp/usr/lib/python$$py3/dist-packages/MediaInfoDLL3.py;	\
+	done
 
 override_dh_install:
 	dh_install

-- 
libmediainfo packaging



More information about the pkg-multimedia-commits mailing list