[Python-modules-commits] r31799 - in packages/basemap/trunk/debian (changelog control rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sat Feb 7 13:19:33 UTC 2015


    Date: Saturday, February 7, 2015 @ 13:19:32
  Author: morph
Revision: 31799

Introduce a proper -dbg package

Modified:
  packages/basemap/trunk/debian/changelog
  packages/basemap/trunk/debian/control
  packages/basemap/trunk/debian/rules

Modified: packages/basemap/trunk/debian/changelog
===================================================================
--- packages/basemap/trunk/debian/changelog	2015-02-07 12:48:28 UTC (rev 31798)
+++ packages/basemap/trunk/debian/changelog	2015-02-07 13:19:32 UTC (rev 31799)
@@ -6,8 +6,9 @@
       servers
     - bump Standards-Version to 3.9.6 (no changes needed)
   * Switch to dh_python2
+  * Introduce a proper -dbg package
 
- -- Sandro Tosi <morph at debian.org>  Sat, 07 Feb 2015 12:48:19 +0000
+ -- Sandro Tosi <morph at debian.org>  Sat, 07 Feb 2015 13:19:22 +0000
 
 basemap (1.0.7+dfsg-1) unstable; urgency=low
 

Modified: packages/basemap/trunk/debian/control
===================================================================
--- packages/basemap/trunk/debian/control	2015-02-07 12:48:28 UTC (rev 31798)
+++ packages/basemap/trunk/debian/control	2015-02-07 13:19:32 UTC (rev 31799)
@@ -40,6 +40,39 @@
  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}

Modified: packages/basemap/trunk/debian/rules
===================================================================
--- packages/basemap/trunk/debian/rules	2015-02-07 12:48:28 UTC (rev 31798)
+++ packages/basemap/trunk/debian/rules	2015-02-07 13:19:32 UTC (rev 31799)
@@ -10,7 +10,7 @@
 	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_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




More information about the Python-modules-commits mailing list