[rasterio] 04/06: Use python2 for rio command line

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Thu Nov 13 20:46:18 UTC 2014


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

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

commit 2d0cc730562cfd54c8f7b63774e9772878030a6a
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Wed Nov 12 20:46:10 2014 +0100

    Use python2 for rio command line
    
    There are some issues with using click and python3.
    
    "At the moment, it is strongly recommended is to use Python 2 for Click utilities unless Python 3 is a hard requirement."
    From http://click.pocoo.org/3/python3/
---
 debian/control          | 6 +++---
 debian/rasterio.install | 2 +-
 debian/rules            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 1219179..618232a 100644
--- a/debian/control
+++ b/debian/control
@@ -57,11 +57,11 @@ Description: Python 3 API for using geospatial raster data with Numpy
 
 Package: rasterio
 Architecture: all
-Depends: python3,
-         python3-rasterio (= ${binary:Version}), 
+Depends: python,
+         python-rasterio (= ${binary:Version}), 
          ${misc:Depends},
          ${python3:Depends}
-Description: Python 3 API for using geospatial raster data with Numpy
+Description: Command line tool for investigating geospatial rasters
  Rasterio reads and writes geospatial raster datasets.
  .
  Rasterio employs GDAL under the hood for file I/O and raster formatting.
diff --git a/debian/rasterio.install b/debian/rasterio.install
index 846b90f..25b161f 100644
--- a/debian/rasterio.install
+++ b/debian/rasterio.install
@@ -1 +1 @@
-debian/python3-rasterio/usr/bin/* usr/bin/
+debian/python-rasterio/usr/bin/* usr/bin/
diff --git a/debian/rules b/debian/rules
index b69741a..e0990b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ override_dh_clean:
 	rm -f .coverage 
 
 debian/rio.1:
-	help2man rio -N >debian/rio.1
+	help2man rio -N -n "command line interface to rasterio">debian/rio.1
 
 override_dh_install:
 	dh_install

-- 
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