[rasterio] 03/13: Add python3 support

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Tue Sep 29 18:25:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch master
in repository rasterio.

commit 7e10476e522c6066e970c79ec3e30981c8a86703
Author: Johan Van de Wauw <johan at vandewauw.be>
Date:   Tue Sep 29 09:14:54 2015 +0200

    Add python3 support
---
 debian/control | 30 ++++++++++++++++++++++++++++--
 debian/rules   |  2 +-
 2 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index ec7bb50..1c5032e 100644
--- a/debian/control
+++ b/debian/control
@@ -7,17 +7,27 @@ Build-Depends: debhelper (>= 9),
                dh-python,
                libgdal-dev,
                gdal-bin,
+               cython,
                python-all,
                python-dev,
                python-setuptools,
                python-numpy,
                python-snuggs,
-               cython,
                python-affine,
                python-enum34,
                python-pytest,
                python-cligj(>=0.2),
                python-click-plugins,
+               python3-all,
+               python3-dev,
+               python3-setuptools,
+               python3-numpy,
+               python3-snuggs,
+               python3-affine,
+               python3-enum34,
+               python3-pytest,
+               python3-cligj(>=0.2),
+               python3-click-plugins,
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/rasterio.git
 Vcs-Git: git://anonscm.debian.org/pkg-grass/rasterio.git
@@ -29,12 +39,28 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${python:Depends}
-Description: Python API for using geospatial raster data with Numpy
+Description: Python 2 API for using geospatial raster data with Numpy
  Rasterio reads and writes geospatial raster datasets.
  .
  Rasterio employs GDAL under the hood for file I/O and raster formatting.
  Its functions typically accept and return Numpy ndarrays. Rasterio is designed
  to make working with geospatial raster data more productive and more fun.
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-rasterio
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Python 3 API for using geospatial raster data with Numpy
+ Rasterio reads and writes geospatial raster datasets.
+ .
+ Rasterio employs GDAL under the hood for file I/O and raster formatting.
+ Its functions typically accept and return Numpy ndarrays. Rasterio is designed
+ to make working with geospatial raster data more productive and more fun.
+ .
+ This package contains the Python 3 version of the library.
 
 Package: rasterio
 Architecture: all
diff --git a/debian/rules b/debian/rules
index a21bf67..6fdaf45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ export PYBUILD_TEST_PYTEST=1
 
 
 %:
-	dh $@ --with python2 --buildsystem pybuild
+	dh $@ --with python2,python3 --buildsystem pybuild
 
 override_dh_clean:
 	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/rasterio.git



More information about the Pkg-grass-devel mailing list