[Python-modules-commits] r31801 - in packages/basemap/trunk/debian (changelog control rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sat Feb 7 15:03:09 UTC 2015
Date: Saturday, February 7, 2015 @ 15:03:08
Author: morph
Revision: 31801
Add py3k packages; thanks to Eike von Seggern for report; Closes: #776604
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 13:19:56 UTC (rev 31800)
+++ packages/basemap/trunk/debian/changelog 2015-02-07 15:03:08 UTC (rev 31801)
@@ -7,8 +7,9 @@
- bump Standards-Version to 3.9.6 (no changes needed)
* Switch to dh_python2
* Introduce a proper -dbg package
+ * Add py3k packages; thanks to Eike von Seggern for report; Closes: #776604
- -- Sandro Tosi <morph at debian.org> Sat, 07 Feb 2015 13:19:22 +0000
+ -- Sandro Tosi <morph at debian.org> Sat, 07 Feb 2015 14:42:56 +0000
basemap (1.0.7+dfsg-1) unstable; urgency=low
Modified: packages/basemap/trunk/debian/control
===================================================================
--- packages/basemap/trunk/debian/control 2015-02-07 13:19:56 UTC (rev 31800)
+++ packages/basemap/trunk/debian/control 2015-02-07 15:03:08 UTC (rev 31801)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Sandro Tosi <morph at debian.org>
-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
+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.sourceforge.net/toolkits.html
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/basemap/trunk/
@@ -40,6 +40,38 @@
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
@@ -73,6 +105,39 @@
.
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}
Modified: packages/basemap/trunk/debian/rules
===================================================================
--- packages/basemap/trunk/debian/rules 2015-02-07 13:19:56 UTC (rev 31800)
+++ packages/basemap/trunk/debian/rules 2015-02-07 15:03:08 UTC (rev 31801)
@@ -1,24 +1,35 @@
#!/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,python2
+ 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-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_python2:
dh_python2
# remove namespace file, already shipped with python-matplotlib
- rm $(CURDIR)/debian/python-mpltoolkits.basemap//usr/lib/python2.7/dist-packages/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 ;
build-arch:
@@ -47,4 +58,5 @@
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
More information about the Python-modules-commits
mailing list