The following commit has been merged in the master branch:
commit 6143ed760dfd3077ffdc1fe40e579175ca2de036
Author: Francesco Paolo Lovergine <fran...@debian.org>
Date:   Tue Mar 13 23:50:00 2012 +0100

    Adding proper python support.

diff --git a/debian/control b/debian/control
index 94b6754..3764bcb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,9 @@ Section: science
 Priority: optional
 Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
 Uploaders: Francesco Paolo Lovergine <fran...@debian.org>
-Build-Depends: cdbs, debhelper (>= 8), autotools-dev, doxygen
+Build-Depends: cdbs, debhelper (>= 8), autotools-dev, doxygen, python-all
 Standards-Version: 3.9.3
+X-Python-Version: all
 Homepage: http://geographiclib.sf.net/
 Vcs-Browser: http://git.debian.org/?p=pkg-grass/geographiclib.git
 Vcs-Git: git://git.debian.org/git/pkg-grass/geographiclib.git
@@ -53,7 +54,6 @@ Package: python-geographiclib
 Architecture: any
 Section: python
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Provides: ${python:Provides}
 Description: Python binding for GeographicLib
  GeographicLib is a small set of C++ classes for converting between            
                                                                             
  geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates,      
                                                                               
diff --git a/debian/rules b/debian/rules
index 612e43f..338dfd7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,6 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/python-distutils.mk 
 
 DEB_CONFIGURE_EXTRA_FLAGS=--datadir=/usr/share/geographiclib --prefix=/usr

-- 
A library to solve some geodesic problems

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to