Commit b591f242 authored by Sandro Tosi's avatar Sandro Tosi

Imported Debian patch 1.0.7+dfsg-2

parents c6226e6e 014b8ee0
basemap (1.0.7+dfsg-2) experimental; urgency=medium
* debian/control
- added scipy to Suggests, needed for some interpolation routines
- added python-owslib to Suggests, needed to retrieve images using WMS
servers
- bump Standards-Version to 3.9.6 (no changes needed)
- update Homepage field
* Switch to dh_python2
* Introduce a proper -dbg package
* Add py3k packages; thanks to Eike von Seggern for report; Closes: #776604
* debian/copyright
- extend packaging copyright years
-- Sandro Tosi <morph@debian.org> Sat, 07 Feb 2015 15:15:57 +0000
basemap (1.0.7+dfsg-1) unstable; urgency=low
[ Jakub Wilk ]
......
......@@ -3,9 +3,9 @@ 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
Standards-Version: 3.9.5
Homepage:http://matplotlib.sourceforge.net/toolkits.html
Build-Depends: debhelper (>= 8.0.0), python-all, python-all-dev, python-all-dbg, python3-all, python3-all-dev, python3-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, python3-numpy, python3-numpy-dbg, python-matplotlib, python-tk
Standards-Version: 3.9.6
Homepage: http://matplotlib.org/basemap/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/basemap/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/basemap/trunk/
......@@ -13,6 +13,7 @@ Package: python-mpltoolkits.basemap
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-mpltoolkits.basemap-data (>= ${source:Version}), python-matplotlib
Recommends: python-dap, python-imaging
Suggests: python-scipy, python-owslib
Description: matplotlib toolkit to plot on map projections
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
......@@ -39,6 +40,104 @@ Description: matplotlib toolkit to plot on map projections
disciplines (such as biology, geology and geophysics) requested and contributed
new features.
Package: python3-mpltoolkits.basemap
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, python-mpltoolkits.basemap-data (>= ${source:Version}), python3-matplotlib
Suggests: python3-scipy
Description: matplotlib toolkit to plot on map projections (Python 3)
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 Python 3 version of python-mpltoolkits.basemap.
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: python3-mpltoolkits.basemap-dbg
Section: debug
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python3-dbg, python3-mpltoolkits.basemap (= ${binary:Version}), python-mpltoolkits.basemap-data (>= ${source:Version})
Description: matplotlib toolkit to plot on map projections (Python 3 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 python3-mpltoolkits.basemap.
Package: python-mpltoolkits.basemap-data
Architecture: all
Depends: ${misc:Depends}
......
......@@ -19,7 +19,7 @@ License: MIT
PERFORMANCE OF THIS SOFTWARE.
Files: debian/*
Copyright: 2011-2014 Sandro Tosi <morph@debian.org>
Copyright: 2011-2015 Sandro Tosi <morph@debian.org>
License: same as upstream
Files: docs/*
......
#!/usr/bin/make -f
PYVERS := $(shell pyversions -s)
PY2VERS := $(shell pyversions -s)
PY3VERS := $(shell py3versions -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,python3
override_dh_auto_install:
set -e ; \
for python in $(PYVERS); do \
for python in $(PY2VERS); 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
for python in $(PY3VERS); do \
$$python setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap/usr --install-layout=deb; \
$$python-dbg setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap-dbg/usr --install-layout=deb; \
done
dh_numpy
override_dh_pysupport:
dh_pysupport
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*/dist-packages/mpl_toolkits/__init__.py
override_dh_python3:
dh_python3
# remove namespace file, already shipped with python3-matplotlib
rm $(CURDIR)/debian/python3-mpltoolkits.basemap/usr/lib/python3*/dist-packages/mpl_toolkits/__init__.py
build: build-arch build-indep ;
......@@ -43,3 +54,9 @@ 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
dh_strip -ppython3-mpltoolkits.basemap --dbg-package=python3-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