[Git][debian-gis-team/python-hdf4][master] 3 commits: Add patch to fix FTBFS by search Multi-Arch path for hdf4alt libraries. (closes: #1066395)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Mar 13 14:56:30 GMT 2024



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


Commits:
69a9b779 by Bas Couwenberg at 2024-03-13T15:51:58+01:00
Add patch to fix FTBFS by search Multi-Arch path for hdf4alt libraries. (closes: #1066395)

- - - - -
3c83ec29 by Bas Couwenberg at 2024-03-13T15:53:26+01:00
Update upstream repo URLs.

- - - - -
ef8aa33a by Bas Couwenberg at 2024-03-13T15:53:58+01:00
Set distribution to unstable.

- - - - -


7 changed files:

- debian/changelog
- debian/control
- debian/copyright
- + debian/patches/hdf4alt.patch
- + debian/patches/series
- debian/upstream/metadata
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+python-hdf4 (0.11.3-3) unstable; urgency=medium
+
+  * Team upload.
+  * Add patch to fix FTBFS by search Multi-Arch path for hdf4alt libraries.
+    (closes: #1066395)
+  * Update upstream repo URLs.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 13 Mar 2024 15:53:45 +0100
+
 python-hdf4 (0.11.3-2) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/control
=====================================
@@ -20,7 +20,7 @@ Build-Depends: debhelper-compat (= 13),
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-hdf4
 Vcs-Git: https://salsa.debian.org/debian-gis-team/python-hdf4.git
-Homepage: https://github.com/fhs/python-hdf4
+Homepage: https://github.com/fhs/pyhdf
 
 Package: python3-hdf4
 Architecture: any


=====================================
debian/copyright
=====================================
@@ -1,7 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: python-hdf4
+Upstream-Name: pyhdf
 Upstream-Contact: Andre Gosselin et al.
-Source: https://github.com/fhs/python-hdf4
+Source: https://github.com/fhs/pyhdf
 
 Files: *
 Copyright: 2014-2019, The pyhdf Authors


=====================================
debian/patches/hdf4alt.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Also check Multi-Arch path to fix FTBFS.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/1066395
+Forwarded: https://github.com/fhs/pyhdf/pull/71
+
+--- a/setup.py
++++ b/setup.py
+@@ -4,6 +4,7 @@ import sys
+ import os
+ import os.path as path
+ import shlex
++import sysconfig
+ 
+ from setuptools import Extension, setup
+ import numpy as np
+@@ -31,6 +32,7 @@ def _use_hdf4alt(libdirs):
+     if not sys.platform.startswith("linux"):
+         return False
+     libdirs.extend(os.environ.get("LD_LIBRARY_PATH", "").split(os.pathsep))
++    libdirs.append("/usr/lib/%s" % sysconfig.get_config_var('MULTIARCH'))
+     libdirs.append("/usr/lib")
+     libdirs.append("/usr/local/lib")
+     libdirs.append("/lib")


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+hdf4alt.patch


=====================================
debian/upstream/metadata
=====================================
@@ -1,4 +1,4 @@
-Bug-Database: https://github.com/fhs/python-hdf4/issues
-Bug-Submit: https://github.com/fhs/python-hdf4/issues/new
-Repository: https://github.com/fhs/python-hdf4.git
-Repository-Browse: https://github.com/fhs/python-hdf4
+Bug-Database: https://github.com/fhs/pyhdf/issues
+Bug-Submit: https://github.com/fhs/pyhdf/issues/new
+Repository: https://github.com/fhs/pyhdf.git
+Repository-Browse: https://github.com/fhs/pyhdf


=====================================
debian/watch
=====================================
@@ -2,6 +2,6 @@ version=4
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
 uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
-filenamemangle=s/(?:.*?\/)?(?:rel|v|python-hdf4)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/python-hdf4-$1.$2/ \
-https://github.com/fhs/python-hdf4/tags \
-(?:.*?/archive/(?:.*?/)?)?(?:rel|v|python-hdf4)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+filenamemangle=s/(?:.*?\/)?(?:rel|v|pyhdf)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/pyhdf-$1.$2/ \
+https://github.com/fhs/pyhdf/tags \
+(?:.*?/archive/(?:.*?/)?)?(?:rel|v|pyhdf)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-hdf4/-/compare/ff18c03568fe1c71fbc4a5dd87d7d94406ccfda2...ef8aa33a5906a7dcbbdb0f6852f9baf7e0c61c41

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-hdf4/-/compare/ff18c03568fe1c71fbc4a5dd87d7d94406ccfda2...ef8aa33a5906a7dcbbdb0f6852f9baf7e0c61c41
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/20240313/783cad1f/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list