Bas Couwenberg pushed to branch master at Debian GIS Project / python-cartopy


Commits:
07b76df6 by Bas Couwenberg at 2022-09-22T19:40:47+02:00
Use pybuild-plugin-pyproject instead of python3-setuptools.

- - - - -
0a64ee9c by Bas Couwenberg at 2022-09-22T19:59:13+02:00
Remove extra license files & strip RPATH.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/rules
- − debian/source/lintian-overrides


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ python-cartopy (0.21.0+dfsg-3) UNRELEASED; urgency=medium
 
   * Team upload.
   * Drop obsolete workaround for proj_api.h deprecation.
+  * Use pybuild-plugin-pyproject instead of python3-setuptools.
 
  -- Bas Couwenberg <[email protected]>  Mon, 12 Sep 2022 14:44:53 +0200
 


=====================================
debian/control
=====================================
@@ -5,12 +5,14 @@ Uploaders: Ghislain Antony Vaillant <[email protected]>,
 Section: python
 Priority: optional
 Rules-Requires-Root: no
-Build-Depends: cython3,
+Build-Depends: chrpath,
+               cython3,
                debhelper-compat (= 12),
                dh-python,
                libgeos-dev,
                libproj-dev (>= 8.0.0),
                proj-bin (>= 8.0.0),
+               pybuild-plugin-pyproject,
                python3-all-dev,
                python3-fiona,
                python3-matplotlib,


=====================================
debian/rules
=====================================
@@ -49,15 +49,19 @@ override_dh_auto_install:
        $(RM) -r 
debian/python3-cartopy/usr/lib/python3*/dist-packages/cartopy/tests/mpl/baseline_images
        mv debian/python3-cartopy/usr/bin/cartopy_feature_download.py 
debian/python3-cartopy/usr/bin/cartopy_feature_download
 
-override_dh_install:
-       dh_install
-
        # Remove documentation outside usr/share/doc
        $(RM) debian/*/usr/share/cartopy/data/shapefiles/gshhs/README.TXT
 
+       # Remove extra license files
+       $(RM) debian/*/usr/lib/python*/dist-packages/*/COPYING
+       $(RM) debian/*/usr/lib/python*/dist-packages/*/COPYING.LESSER
+
        # Don't include test output
        $(RM) -r debian/*/usr/lib/python*/dist-packages/cartopy_test_output
 
+       # Strip RPATH
+       chrpath --delete debian/*/usr/lib/python*/dist-packages/*/*.so
+
 override_dh_python3:
        dh_python3
        dh_numpy3


=====================================
debian/source/lintian-overrides deleted
=====================================
@@ -1,3 +0,0 @@
-# Build uses setuptools.
-missing-prerequisite-for-pyproject-backend setuptools.build_meta *
-



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/python-cartopy/-/compare/3c1b27384b3470e6114201249780b961a3d8ae8d...0a64ee9cc0c459a266abec002b155271cb3cf291

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/python-cartopy/-/compare/3c1b27384b3470e6114201249780b961a3d8ae8d...0a64ee9cc0c459a266abec002b155271cb3cf291
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to