[med-svn] [Git][med-team/python-pysam][master] Add patch to fix proper so ext
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Fri Dec 30 15:35:18 GMT 2022
Nilesh Patra pushed to branch master at Debian Med / python-pysam
Commits:
d004947e by Nilesh Patra at 2022-12-30T14:34:01+00:00
Add patch to fix proper so ext
- - - - -
2 changed files:
- + debian/patches/python3.11.patch
- debian/patches/series
Changes:
=====================================
debian/patches/python3.11.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Add patch to return proper sysconf so for current python
+Author: Nilesh Patra <nilesh at debian.org>
+Last-Update: 2022-12-30
+--- a/pysam/__init__.py
++++ b/pysam/__init__.py
+@@ -96,5 +96,7 @@
+ if pysam.config.HTSLIB == "builtin":
+ pysam_libs.append('libchtslib')
+
+- so = sysconfig.get_config_var('SO')
++ so = sysconfig.get_config_var('EXT_SUFFIX')
++ if not so:
++ so = sysconfig.get_config_var('SO')
+ return [os.path.join(dirname, x + so) for x in pysam_libs]
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ skip_test_remote.patch
clean_less
skip-test-on-32-bit.patch
disable-tests-python3.11.patch
+python3.11.patch
View it on GitLab: https://salsa.debian.org/med-team/python-pysam/-/commit/d004947ed6babe5958b89ccdabb2839dbf31e45a
--
View it on GitLab: https://salsa.debian.org/med-team/python-pysam/-/commit/d004947ed6babe5958b89ccdabb2839dbf31e45a
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/20221230/e293a455/attachment.htm>
More information about the debian-med-commit
mailing list