[pytango] 09/25: Update boost library name for python3 on Fedora and centOS
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:17:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to tag v8.1.9
in repository pytango.
commit 279f9fceaa5ff50b56446220d52d4eede067c621
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date: Wed Apr 6 17:48:49 2016 +0200
Update boost library name for python3 on Fedora and centOS
---
setup.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/setup.py b/setup.py
index a752997..60f77de 100644
--- a/setup.py
+++ b/setup.py
@@ -343,6 +343,9 @@ def setup_args():
boost_library_name += pyver
elif 'gentoo' in dist_name:
boost_library_name += "-" + ".".join(map(str, py_ver[:2]))
+ elif 'fedora' in dist_name or 'centos' in dist_name:
+ if int(py_ver[0]) == 3:
+ boost_library_name += '3'
else:
inc_dir = os.path.join(BOOST_ROOT, 'include')
lib_dirs = [os.path.join(BOOST_ROOT, 'lib')]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list