diff options
author | Matteo Bernardini | 2020-05-23 08:12:52 +0200 |
---|---|---|
committer | Matteo Bernardini | 2020-05-23 08:12:52 +0200 |
commit | 9b91bf41a9b6c2933b7757536fc9944e643602bf (patch) | |
tree | fb675a32bf315d68d76a87ac30b339d2f95fb5bd /python/python-gattlib/dont_hardcode_python_versions.patch | |
parent | ed0074d03fdb30fde2ae0f56100c935d31cefbb8 (diff) | |
download | slackbuilds-6e80487f0a858e964db00e8ce1cef8e776ee7760.tar.gz |
20200523.1 global branch merge.current-20200523.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python/python-gattlib/dont_hardcode_python_versions.patch')
-rw-r--r-- | python/python-gattlib/dont_hardcode_python_versions.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/python/python-gattlib/dont_hardcode_python_versions.patch b/python/python-gattlib/dont_hardcode_python_versions.patch new file mode 100644 index 0000000000..0e11e85d18 --- /dev/null +++ b/python/python-gattlib/dont_hardcode_python_versions.patch @@ -0,0 +1,19 @@ +Matteo Bernardini <ponce@slackbuilds.org> +--- +Don't hardcode python versions + +diff -Naur gattlib-0.20150805.orig/setup.py gattlib-0.20150805/setup.py +--- gattlib-0.20150805.orig/setup.py 2015-08-05 15:16:56.000000000 +0200 ++++ gattlib-0.20150805/setup.py 2018-05-02 09:45:04.625893000 +0200 +@@ -19,9 +19,9 @@ + glib_libs = [x.strip() for x in glib_libs if x] + + if sys.version_info.major == 3: +- boost_libs = ["boost_python-py34"] ++ boost_libs = ["boost_python3"+str(sys.version_info.minor)] + else: +- boost_libs = ["boost_python"] ++ boost_libs = ["boost_python2"+str(sys.version_info.minor)] + extension_modules = [ + Extension( + 'gattlib', |