Commit d8ae097a authored by Sandro Tosi's avatar Sandro Tosi

Introduce a proper -dbg package

parent 0a541b50
......@@ -6,8 +6,9 @@ basemap (1.0.7+dfsg-2) UNRELEASED; urgency=medium
servers
- bump Standards-Version to 3.9.6 (no changes needed)
* Switch to dh_python2
* Introduce a proper -dbg package
-- Sandro Tosi <morph@debian.org> Sat, 07 Feb 2015 12:48:19 +0000
-- Sandro Tosi <morph@debian.org> Sat, 07 Feb 2015 13:19:22 +0000
basemap (1.0.7+dfsg-1) unstable; urgency=low
......
......@@ -40,6 +40,39 @@ Description: matplotlib toolkit to plot on map projections
disciplines (such as biology, geology and geophysics) requested and contributed
new features.
Package: python-mpltoolkits.basemap-dbg
Section: debug
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python-dbg, python-mpltoolkits.basemap (= ${binary:Version}), python-mpltoolkits.basemap-data (>= ${source:Version})
Description: matplotlib toolkit to plot on map projections (debug)
The matplotlib basemap toolkit is a library for plotting 2D data on maps in
Python. It is similar in functionality to the matlab mapping toolbox, the IDL
mapping facilities, GrADS, or the Generic Mapping Tools. PyNGL and CDAT are
other libraries that provide similar capabilities in Python.
.
Basemap does not do any plotting on its own, but provides the facilities to
transform coordinates to one of 23 different map projections (using the PROJ.4
C library). Matplotlib is then used to plot contours, images, vectors, lines or
points in the transformed coordinates. Shoreline, river and political boundary
datasets (from Generic Mapping Tools) are provided, along with methods for
plotting them. The GEOS library is used internally to clip the coastline and
political boundary features to the desired map projection region.
.
Basemap provides facilities for reading data in netCDF and Shapefile formats,
as well as directly over http using OPeNDAP. This functionality is provided
through the PyDAP client, and a Python interface to the Shapefile C library.
.
Basemap is geared toward the needs of earth scientists, particular
oceanographers and meteorologists. The author originally wrote Basemap to help
in his research (climate and weather forecasting), since at the time CDAT was
the only other tool in Python for plotting data on map projections. Over the
years, the capabilities of Basemap have evolved as scientists in other
disciplines (such as biology, geology and geophysics) requested and contributed
new features.
.
This package contains the debug extension for python-mpltoolkits.basemap.
Package: python-mpltoolkits.basemap-data
Architecture: all
Depends: ${misc:Depends}
......
......@@ -10,7 +10,7 @@ override_dh_auto_install:
set -e ; \
for python in $(PYVERS); do \
$$python setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap/usr --install-layout=deb; \
$$python-dbg setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap/usr --install-layout=deb; \
$$python-dbg setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap-dbg/usr --install-layout=deb; \
done
dh_numpy
......@@ -48,3 +48,8 @@ override_dh_clean:
override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
dh_strip -ppython-mpltoolkits.basemap --dbg-package=python-mpltoolkits.basemap-dbg
endif
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