[SCM] Test git-repository for paraview branch, master, updated. upstream/3.10.1-34-ga0d65b4

Anton Gladky gladky.anton at gmail.com
Sun Jul 24 14:32:25 UTC 2011


The following commit has been merged in the master branch:
commit a0d65b4b4660bb569993e37a21a4a55db2479d12
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sun Jul 24 16:31:33 2011 +0200

    Enable python-support

diff --git a/debian/paraview.install b/debian/paraview.install
index 9ab7c60..2d0c696 100644
--- a/debian/paraview.install
+++ b/debian/paraview.install
@@ -3,6 +3,3 @@ usr/lib usr
 usr/lib/paraview/vistrails/plugin/pgui/resources/images/* usr/share/doc/paraview/images/vistrails/pgui/images
 usr/lib/paraview/vistrails/plugin/app/resources/images/app_icon.png usr/share/doc/paraview/images/vistrails/app/images
 usr/lib/paraview/CMake/branded_splash.png usr/share/docs/paraview/images/CMake/
-debian/paraview.xpm usr/share/pixmaps
-debian/paraview.xml usr/share/mime/packages
-debian/paraview.desktop usr/share/applications
diff --git a/debian/rules b/debian/rules
index d1e64b4..16e0bb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,10 +58,27 @@ override_dh_auto_clean:
 	rm -rf $(BUILDDIR)
 	rm -rf $(DESTDIR)
 	dh_clean
-	
-override_dh_auto_install:
-	dh_auto_install -- DESTDIR=$(DESTDIR)
 
 override_dh_auto_build:
 	dh_auto_build
 	cd $(BUILDDIR); make HTMLDocumentation
+
+override_dh_auto_install:
+	dh_auto_install -- DESTDIR=$(DESTDIR)
+	chmod a+x $(DESTDIR)/usr/lib/paraview/testing/FindString.tcl
+	if [ "$(PYVER)" = "2.6" ]; \
+	then \
+		dh_install -pparaview -XCMake -Xcmake -XMakefile \
+			--sourcedir=$(BUILDDIR) \
+			Utilities/VTKPythonWrapping/site-packages/paraview/ \
+			usr/lib/python$(PYVER)/dist-packages; \
+	else \
+		dh_install -pparaview -XCMake -Xcmake -XMakefile \
+			--sourcedir=$(BUILDDIR) \
+			Utilities/VTKPythonWrapping/site-packages/paraview/ \
+			usr/lib/python$(PYVER)/site-packages; \
+	fi
+	dh_python2 -pparaview
+	dh_install -pparaview --sourcedir=$(CURDIR)/debian paraview.xpm usr/share/pixmaps
+	dh_install -pparaview --sourcedir=$(CURDIR)/debian paraview.xml usr/share/mime/packages
+	dh_install -pparaview --sourcedir=$(CURDIR)/debian paraview.desktop usr/share/applications

-- 
Test git-repository for paraview



More information about the debian-science-commits mailing list