[SCM] Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. branch, master, updated. upstream/2.5.1_beta2_svn10284_dfsg-63-g6af457b

Anton Gladky gladky.anton at gmail.com
Sun Dec 11 14:19:48 UTC 2011


The following commit has been merged in the master branch:
commit 6af457b690799fddc1e815b415a06c6a0a7fc7f7
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sun Dec 11 15:10:08 2011 +0100

    Enable python-interface.

diff --git a/debian/control b/debian/control
index 777b99e..5e49833 100644
--- a/debian/control
+++ b/debian/control
@@ -17,13 +17,15 @@ Build-Depends: debhelper (>= 8), cmake, gfortran, libgl1-mesa-dev,
  python-dev (>= 2.6.6-3~), swig2.0
 Standards-Version: 3.9.2
 DM-Upload-Allowed: yes
+X-Python-Version: current
 Vcs-Git: git://git.debian.org/git/debian-science/packages/gmsh.git
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/gmsh.git
 Homepage: http://www.geuz.org/gmsh/
 
 Package: gmsh
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libcgns2 (>= 2.5.3), mpi-default-bin
+Depends: ${shlibs:Depends}, ${misc:Depends}, libcgns2 (>= 2.5.3), mpi-default-bin,
+ python (>= 2.7), python (<<2.8)
 Description: Three-dimensional finite element mesh generator
  Gmsh is an automatic 3D finite element mesh generator (primarily
  Delaunay) with build-in CAD and post-processing facilities. Its
diff --git a/debian/gmsh.pyinstall b/debian/gmsh.pyinstall
new file mode 100644
index 0000000..f90980e
--- /dev/null
+++ b/debian/gmsh.pyinstall
@@ -0,0 +1,2 @@
+debian/build/gmshpy/*.so gmshpy
+debian/build/gmshpy/*.py gmshpy
diff --git a/debian/rules b/debian/rules
index 6f290bd..04e8668 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,12 +2,12 @@
 BUILDDIR = $(CURDIR)/debian/build
 
 %:
-	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)
+	dh $@ --buildsystem=cmake --with python2 --builddirectory=$(BUILDDIR)
 
 extra_flags += -DCMAKE_CXX_FLAGS="-DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -fopenmp -lgl2ps -lGL -lglut" \
 -DCMAKE_INCLUDE_PATH:="/usr/include/mpi"\
 -DENABLE_METIS:=OFF\
--DENABLE_TAUCS:=OFF
+-DENABLE_TAUCS:=OFF\
 
 # PETSC_DIR is the location of PETSc.
 export PETSC_DIR=/usr/lib/petscdir/3.1

-- 
Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. 



More information about the debian-science-commits mailing list