Commit 0a541b50 authored by Sandro Tosi's avatar Sandro Tosi

Switch to dh_python2

parent 439c9d2c
......@@ -5,8 +5,9 @@ basemap (1.0.7+dfsg-2) UNRELEASED; urgency=medium
- added python-owslib to Suggests, needed to retrieve images using WMS
servers
- bump Standards-Version to 3.9.6 (no changes needed)
* Switch to dh_python2
-- Sandro Tosi <morph@debian.org> Sat, 07 Feb 2015 10:59:20 +0000
-- Sandro Tosi <morph@debian.org> Sat, 07 Feb 2015 12:48:19 +0000
basemap (1.0.7+dfsg-1) unstable; urgency=low
......
......@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Sandro Tosi <morph@debian.org>
Build-Depends: debhelper (>= 8.0.0), python-all, python-all-dev, python-all-dbg, libgeos-dev, python-httplib2, python-dap, python-support, python-sphinx (>= 1.0.7+dfsg), python-numpy (>= 1:1.5.1-4), python-numpy-dbg, python-matplotlib, python-tk
Build-Depends: debhelper (>= 8.0.0), python-all, python-all-dev, python-all-dbg, libgeos-dev, python-httplib2, python-dap, dh-python, python-sphinx (>= 1.0.7+dfsg), python-numpy (>= 1:1.5.1-4), python-numpy-dbg, python-matplotlib, python-tk
Standards-Version: 3.9.6
Homepage:http://matplotlib.sourceforge.net/toolkits.html
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/basemap/trunk/
......
......@@ -4,7 +4,7 @@ PYVERS := $(shell pyversions -s)
LIB := $$(python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib")
%:
dh $@ --with sphinxdoc
dh $@ --with sphinxdoc,python2
override_dh_auto_install:
set -e ; \
......@@ -14,10 +14,15 @@ override_dh_auto_install:
done
dh_numpy
override_dh_pysupport:
dh_pysupport
#override_dh_pysupport:
# dh_pysupport
# # remove namespace file, already shipped with python-matplotlib
# rm $(CURDIR)/debian/python-mpltoolkits.basemap/usr/share/pyshared/mpl_toolkits/__init__.py
override_dh_python2:
dh_python2
# remove namespace file, already shipped with python-matplotlib
rm $(CURDIR)/debian/python-mpltoolkits.basemap/usr/share/pyshared/mpl_toolkits/__init__.py
rm $(CURDIR)/debian/python-mpltoolkits.basemap//usr/lib/python2.7/dist-packages/mpl_toolkits/__init__.py
build: build-arch build-indep ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment