[Git][debian-gis-team/rasterio][master] Enable numpy3 dh helper.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Dec 22 12:09:20 GMT 2022



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


Commits:
45394bb0 by Bas Couwenberg at 2022-12-22T12:56:28+01:00
Enable numpy3 dh helper.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ rasterio (1.3.4-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * Add Rules-Requires-Root to control file.
+  * Enable numpy3 dh helper.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 29 Nov 2022 16:12:59 +0100
 


=====================================
debian/control
=====================================
@@ -31,9 +31,9 @@ Rules-Requires-Root: no
 
 Package: python3-rasterio
 Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${python3:Depends}
+Depends: ${python3:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
 Description: Python 3 API for using geospatial raster data with Numpy
  Rasterio reads and writes geospatial raster datasets.
  .
@@ -47,8 +47,8 @@ Package: rasterio
 Architecture: all
 Depends: python3-rasterio (>= ${source:Version}),
          python3-rasterio (<< ${source:Version}.1~),
-         ${misc:Depends},
-         ${python3:Depends}
+         ${python3:Depends},
+         ${misc:Depends}
 Section: science
 Description: Command line tool for investigating geospatial rasters
  Rasterio reads and writes geospatial raster datasets.


=====================================
debian/rules
=====================================
@@ -38,7 +38,7 @@ export PYBUILD_TEST_ARGS=--ignore tests/test_env.py \
                          --ignore tests/test_warpedvrt.py
 
 %:
-	dh $@ --with python3 --buildsystem pybuild
+	dh $@ --with python3,numpy3 --buildsystem pybuild
 
 override_dh_clean:
 	dh_clean
@@ -66,7 +66,9 @@ override_dh_install:
 
 override_dh_python3:
 	dh_python3 -ppython3-rasterio -prasterio
-	dh_numpy3 -ppython3-rasterio -prasterio
+
+override_dh_numpy3:
+	dh_numpy3 -ppython3-rasterio
 
 debian/rasterio.1:
 	help2man rasterio -N -L en_US.utf8 -n "command line tools for reading/writing geospatial raster data" >debian/rasterio.1



View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/-/commit/45394bb02987971dadefa52287895f40cf7cd8c3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/-/commit/45394bb02987971dadefa52287895f40cf7cd8c3
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/20221222/9e68d3d6/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list