[Git][debian-gis-team/python-hdf4][master] 2 commits: Fix extension build (remove empty arguments)

Antonio Valentino gitlab at salsa.debian.org
Sun Dec 30 16:41:47 GMT 2018


Antonio Valentino pushed to branch master at Debian GIS Project / python-hdf4


Commits:
a7812710 by Antonio Valentino at 2018-12-30T16:38:57Z
Fix extension build (remove empty arguments)

- - - - -
9483fe01 by Antonio Valentino at 2018-12-30T16:39:52Z
Update changelog date

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0002-Do-not-pass-empty-arguments-to-setup.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -2,4 +2,4 @@ python-hdf4 (0.9.1-1) unstable; urgency=medium
 
   * Initial version (Closes: #917254)
 
- -- Antonio Valentino <antonio.valentino at tiscali.it>  Mon, 24 Dec 2018 21:06:25 +0000
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 30 Dec 2018 16:39:26 +0000


=====================================
debian/patches/0002-Do-not-pass-empty-arguments-to-setup.patch
=====================================
@@ -0,0 +1,21 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sun, 30 Dec 2018 16:37:26 +0000
+Subject: Do not pass empty arguments to setup
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index e847a51..d8d2570 100644
+--- a/setup.py
++++ b/setup.py
+@@ -148,7 +148,7 @@ _hdfext = Extension('pyhdf._hdfext',
+                     include_dirs = include_dirs,
+                     extra_compile_args = extra_compile_args,
+                     library_dirs = library_dirs,
+-                    extra_link_args=[extra_link_args],
++                    extra_link_args=[extra_link_args] if extra_link_args else [],
+                     libraries = libraries,
+                     )
+ 


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 0001-Use-hdf4-alt.patch
+0002-Do-not-pass-empty-arguments-to-setup.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-hdf4/compare/ac9300dd34e7096a562e59e2ea380f7ec673c2ed...9483fe01d2bea2569a33d44de19ddc72618237ad

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-hdf4/compare/ac9300dd34e7096a562e59e2ea380f7ec673c2ed...9483fe01d2bea2569a33d44de19ddc72618237ad
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/20181230/5e7fb822/attachment-0001.html>


More information about the Pkg-grass-devel mailing list