[Git][debian-gis-team/metpy][master] 3 commits: New 0004-Install-package-data.patch

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Feb 7 18:16:55 GMT 2026



Antonio Valentino pushed to branch master at Debian GIS Project / metpy


Commits:
3101700e by Antonio Valentino at 2026-02-07T18:12:15+00:00
New 0004-Install-package-data.patch

- - - - -
4449859b by Antonio Valentino at 2026-02-07T18:15:51+00:00
Reorder Files paragraphs in debian/copyright by directory depth.

Changes-By: lintian-brush
Fixes: lintian: globbing-patterns-out-of-order
See-also: https://lintian.debian.org/tags/globbing-patterns-out-of-order.html
Fixes: lintian: globbing-patterns-out-of-order
See-also: https://lintian.debian.org/tags/globbing-patterns-out-of-order.html

- - - - -
5bad66f6 by Antonio Valentino at 2026-02-07T18:16:04+00:00
Set distribution to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/copyright
- + debian/patches/0004-Install-package-data.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+metpy (1.7.1+ds-4) unstable; urgency=medium
+
+  * debian/patches:
+    - New 0004-Install-package-data.patch (Closes: #1126091).
+  * debian/rules:
+    - Do not install package data manually.
+  * Reorder Files paragraphs in d/copyright by directory depth.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 07 Feb 2026 18:15:53 +0000
+
 metpy (1.7.1+ds-3) unstable; urgency=medium
 
   * debian/patches:


=====================================
debian/copyright
=====================================
@@ -15,6 +15,10 @@ Files: *
 Copyright: 2008-2025, MetPy Developers
 License: BSD-3-Clause
 
+Files: debian/*
+Copyright: 2023-2026, Antonio Valentino <antonio.valentino at tiscali.it>
+License: BSD-3-Clause
+
 Files: src/metpy/_vendor/xarray.py
 Copyright: 2019, MetPy Developers.
 License: BSD-3-Clause and Apache-2.0
@@ -70,10 +74,6 @@ Files: src/metpy/plots/fonts/wx_symbols.ttf
 Copyright: NONE
 License: CC-BY-4.0
 
-Files: debian/*
-Copyright: 2023-2026, Antonio Valentino <antonio.valentino at tiscali.it>
-License: BSD-3-Clause
-
 License: BSD-3-Clause
  All rights reserved.
  .


=====================================
debian/patches/0004-Install-package-data.patch
=====================================
@@ -0,0 +1,26 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sat, 7 Feb 2026 17:51:29 +0000
+Subject: Install package data
+
+Forwarded: https://github.com/Unidata/MetPy/pull/3999
+---
+ pyproject.toml | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 2369170..b8c7f75 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -78,6 +78,12 @@ extras = [
+ "Twitter" = "https://twitter.com/MetPy"
+ "MetPy Mondays" = "https://www.youtube.com/playlist?list=PLQut5OXpV-0ir4IdllSt1iEZKTwFBa7kO"
+ 
++[tool.setuptools.package-data]
++metpy = ["*.txt"]
++"metpy.plots._static" = ["*.png"]
++"metpy.plots.colortable_files" = ["*.tbl"]
++"metpy.plots.nexrad_tables" = ["*.tbl"]
++
+ [tool.codespell]
+ skip = "*.tbl,*.ipynb,AUTHORS.txt,gempak.rst,.git,./staticdata,./docs/build,*.pdf,./talks,./tests/remote/fixtures"
+ exclude-file = ".codespellexclude"


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 0001-Skip-tests-requiring-internet.patch
 0002-No-network.patch
 0003-xarray-v2025.12.0-compat.patch
+0004-Install-package-data.patch


=====================================
debian/rules
=====================================
@@ -3,12 +3,7 @@
 include /usr/share/dpkg/pkg-info.mk
 export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM:+ds=)
 export PYBUILD_NAME=metpy
-export PYBUILD_BEFORE_TEST=\
-ln -s {dir}/conftest.py {dir}/tests 2>/dev/null || true; \
-ln -s {dir}/src/${PYBUILD_NAME}/*.txt {build_dir}/${PYBUILD_NAME} 2>/dev/null || true; \
-ln -s {dir}/src/${PYBUILD_NAME}/plots/_static {build_dir}/${PYBUILD_NAME}/plots 2>/dev/null || true; \
-ln -s {dir}/src/${PYBUILD_NAME}/plots/colortable_files {build_dir}/${PYBUILD_NAME}/plots 2>/dev/null || true; \
-ln -s {dir}/src/${PYBUILD_NAME}/plots/nexrad_tables {build_dir}/${PYBUILD_NAME}/plots 2>/dev/null || true
+export PYBUILD_BEFORE_TEST=cp {dir}/conftest.py {dir}/tests
 export PYBUILD_AFTER_TEST=rm -f {dir}/tests/conftest.py
 export PYBUILD_TEST_ARGS=-m "not network"
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/metpy/-/compare/fedb29904f0c2b894a47d5d1c60a36521dcd7f98...5bad66f632dbeba1ea2f7c666c4fcc95a3e17820

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/metpy/-/compare/fedb29904f0c2b894a47d5d1c60a36521dcd7f98...5bad66f632dbeba1ea2f7c666c4fcc95a3e17820
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/20260207/11a9a4ca/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list