[med-svn] [Git][med-team/pdb2pqr][master] Use pkg-config to correctly detect libpython3.7m

Andreas Tille gitlab at salsa.debian.org
Fri Dec 13 14:13:58 GMT 2019



Andreas Tille pushed to branch master at Debian Med / pdb2pqr


Commits:
dbee7b96 by Andreas Tille at 2019-12-13T14:13:43Z
Use pkg-config to correctly detect libpython3.7m

- - - - -


3 changed files:

- debian/control
- debian/patches/series
- + debian/patches/use_pkg-config.patch


Changes:

=====================================
debian/control
=====================================
@@ -14,7 +14,8 @@ Build-Depends: debhelper-compat (= 12),
                python3-dev,
                python3-numpy,
                scons (>= 3.1.1-4),
-               dos2unix
+               dos2unix,
+               pkg-config
 Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/med-team/pdb2pqr
 Vcs-Git: https://salsa.debian.org/med-team/pdb2pqr.git


=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ fix_hardening_no_relro
 fix_no_debug_symbols_warning
 spelling.patch
 2to3.patch
+use_pkg-config.patch


=====================================
debian/patches/use_pkg-config.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Use pkg-config to correctly detect libpython3.7m
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 12 Dec 2019 15:41:47 +0100
+
+--- a/SConscript-main.py
++++ b/SConscript-main.py
+@@ -81,6 +81,7 @@ env = Environment(variables=vars,
+ 
+ 
+ python_lib = 'python' + gcv('VERSION')
++env.ParseConfig('pkg-config --cflags --libs python3')
+ env.Append(LIBS=[python_lib])
+ #To get swig to work on windows.
+ #env.Append(ENV={'PATH' : os.environ['PATH']})



View it on GitLab: https://salsa.debian.org/med-team/pdb2pqr/commit/dbee7b96cdb8cad7b60e8c6acffea068664ebe7c

-- 
View it on GitLab: https://salsa.debian.org/med-team/pdb2pqr/commit/dbee7b96cdb8cad7b60e8c6acffea068664ebe7c
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/debian-med-commit/attachments/20191213/e714729d/attachment.html>


More information about the debian-med-commit mailing list