[Git][debian-gis-team/rasterio][master] 2 commits: Drop Python 2 support.

Bas Couwenberg gitlab at salsa.debian.org
Sun Jul 21 18:49:27 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / rasterio


Commits:
57a82c56 by Bas Couwenberg at 2019-07-21T17:38:48Z
Drop Python 2 support.

- - - - -
f716e5c1 by Bas Couwenberg at 2019-07-21T17:39:15Z
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,10 @@
-rasterio (1.0.24-3) UNRELEASED; urgency=medium
+rasterio (1.0.24-3) unstable; urgency=medium
 
+  * Team upload.
   * Bump Standards-Version to 4.4.0, no changes.
+  * Drop Python 2 support.
 
- -- Bas Couwenberg <sebastic at debian.org>  Wed, 10 Jul 2019 19:15:06 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 21 Jul 2019 19:38:50 +0200
 
 rasterio (1.0.24-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -7,22 +7,7 @@ Build-Depends: debhelper (>= 9),
                dh-python,
                libgdal-dev,
                gdal-bin,
-               cython,
                cython3,
-               python-affine (>= 1.3.0),
-               python-all,
-               python-all-dev,
-               python-attr (>= 16.0.0),
-               python-boto3,
-               python-click-plugins,
-               python-cligj (>= 0.5),
-               python-enum34,
-               python-hypothesis,
-               python-numpy (>= 1.10),
-               python-packaging,
-               python-pytest,
-               python-setuptools,
-               python-snuggs (>= 1.4.1),
                python3-affine (>= 1.3.0),
                python3-all,
                python3-all-dev,
@@ -41,20 +26,6 @@ Vcs-Browser: https://salsa.debian.org/debian-gis-team/rasterio
 Vcs-Git: https://salsa.debian.org/debian-gis-team/rasterio.git
 Homepage: https://github.com/mapbox/rasterio
 
-Package: python-rasterio
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${python:Depends}
-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},


=====================================
debian/rules
=====================================
@@ -10,7 +10,7 @@ export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
 export PYBUILD_TEST_PYTEST=1
 
 %:
-	dh $@ --with python2,python3 --buildsystem pybuild --parallel
+	dh $@ --with python3 --buildsystem pybuild --parallel
 
 override_dh_clean:
 	dh_clean
@@ -28,14 +28,9 @@ override_dh_install:
 	dh_install --list-missing
 
 	$(RM) -r debian/python3-rasterio/usr/bin
-	$(RM) -r debian/python-rasterio/usr/bin
 
 	$(RM) -r debian/*/usr/lib/python*/dist-packages/.hypothesis/
 
-override_dh_python2:
-	dh_python2 -ppython-rasterio
-	dh_numpy -ppython-rasterio
-
 override_dh_python3:
 	dh_python3 -ppython3-rasterio -prasterio
 	dh_numpy3 -ppython3-rasterio -prasterio



View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/compare/189ea306c20c311be80dd2f462bd75af692cfbbb...f716e5c179711be2d503c7ed27db65e0a9839d93

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/compare/189ea306c20c311be80dd2f462bd75af692cfbbb...f716e5c179711be2d503c7ed27db65e0a9839d93
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190721/f9c0d06a/attachment-0001.html>


More information about the Pkg-grass-devel mailing list