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 <[email protected]> +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.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
