[Git][debian-gis-team/pyspectral][master] 2 commits: New 0003-Switch-to-platformdirs.patch

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Fri Mar 29 18:12:45 GMT 2024



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


Commits:
b943d81b by Antonio Valentino at 2024-03-29T18:04:27+00:00
New 0003-Switch-to-platformdirs.patch

- - - - -
56cc9f71 by Antonio Valentino at 2024-03-29T18:05:22+00:00
Set distribution to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/0003-Switch-to-platformdirs.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pyspectral (0.13.0+ds-3) unstable; urgency=medium
+
+  * debian/patches:
+    - New 0003-Switch-to-platformdirs.patch (Closes: #1067988).
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Fri, 29 Mar 2024 18:05:06 +0000
+
 pyspectral (0.13.0+ds-2) unstable; urgency=medium
 
   * debian/rules:


=====================================
debian/control
=====================================
@@ -12,13 +12,13 @@ Build-Depends: debhelper-compat (= 13),
                dh-sequence-sphinxdoc,
                pybuild-plugin-pyproject,
                python3-all,
-               python3-appdirs,
                python3-dask,
                python3-docutils,
                python3-geotiepoints,
                python3-h5py,
                python3-matplotlib,
                python3-numpy,
+               python3-platformdirs,
                python3-pytest <!nocheck>,
                python3-requests,
                python3-responses,
@@ -57,10 +57,10 @@ Description: Reading and manipulaing satellite sensor spectral responses
 
 Package: python3-pyspectral
 Architecture: all
-Depends: python3-appdirs,
-         python3-dask,
+Depends: python3-dask,
          python3-geotiepoints,
          python3-h5py,
+         python3-platformdirs,
          python3-requests,
          python3-scipy,
          python3-yaml,


=====================================
debian/patches/0003-Switch-to-platformdirs.patch
=====================================
@@ -0,0 +1,36 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Fri, 29 Mar 2024 17:46:32 +0000
+Subject: Switch to platformdirs
+
+Forwarded: https://github.com/pytroll/pyspectral/pull/216
+---
+ pyspectral/config.py | 2 +-
+ setup.py             | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyspectral/config.py b/pyspectral/config.py
+index 0114641..7e4d900 100644
+--- a/pyspectral/config.py
++++ b/pyspectral/config.py
+@@ -26,7 +26,7 @@ from os.path import expanduser
+ from pathlib import Path
+ 
+ import yaml
+-from appdirs import AppDirs
++from platformdirs import AppDirs
+ 
+ try:
+     from yaml import UnsafeLoader
+diff --git a/setup.py b/setup.py
+index cbc5f6d..89616bf 100644
+--- a/setup.py
++++ b/setup.py
+@@ -33,7 +33,7 @@ except IOError:
+     long_description = ''
+ 
+ requires = ['docutils>=0.3', 'numpy', 'scipy', 'python-geotiepoints>=1.1.1',
+-            'h5py>=2.5', 'requests', 'pyyaml', 'appdirs']
++            'h5py>=2.5', 'requests', 'pyyaml', 'platformdirs']
+ 
+ dask_extra = ['dask[array]']
+ test_requires = ['pyyaml', 'dask[array]', 'xlrd', 'pytest', 'xarray', 'responses']


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 0001-Fix-tests.patch
 0002-Fix-install-data.patch
+0003-Switch-to-platformdirs.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyspectral/-/compare/bd33ce351621aa597747c2543793d056f7b25613...56cc9f71ff151e0ac38827d747a18b1217eef4b3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyspectral/-/compare/bd33ce351621aa597747c2543793d056f7b25613...56cc9f71ff151e0ac38827d747a18b1217eef4b3
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/20240329/e30e987d/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list