[geographiclib] 04/09: Install python files using latest Python Library Style Guide

Ross Gammon ross-guest at moszumanska.debian.org
Sun Sep 14 22:08:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository geographiclib.

commit 0252ab30ab83d35ed7a861f393ed74258173f580
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sun Sep 14 20:38:48 2014 +0200

    Install python files using latest Python Library Style Guide
---
 debian/control | 5 ++++-
 debian/rules   | 8 +++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 5d18bcb..d8f7e52 100644
--- a/debian/control
+++ b/debian/control
@@ -7,11 +7,14 @@ Priority: optional
 Build-Depends: debhelper (>= 9),
                autotools-dev,
                doxygen,
-               python-all
+               dh-python,
+               python-all (>= 2.6.6-3~),
+               python-setuptools
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/geographiclib.git
 Vcs-Git: git://anonscm.debian.org/pkg-grass/geographiclib.git
 Homepage: http://geographiclib.sf.net/
+X-Python-Version: >= 2.6
 
 Package: geographiclib-tools
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 766ee76..a562976 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,13 @@
 #!/usr/bin/make -f
+export PYBUILD_NAME=geographiclib
+export PYBUILD_SYSTEM=pybuild
 
 %:
-	dh $@ --with autotools-dev
+	dh $@ --with autotools-dev,python2
 
 #override_dh_auto_configure:
 #	dh_auto_configure --  --datadir=/usr/share/geographiclib --prefix=/usr
 
-#override_dh_auto_install:
-#	make -C python DESTDIR=$(CURDIR)/debian/tmp install
-#	dh_auto_install
-
 override_dh_install:
 	# Remove duplicate license information
 	rm debian/tmp/usr/share/doc/geographiclib/html/LICENSE.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/geographiclib.git



More information about the Pkg-grass-devel mailing list