summaryrefslogtreecommitdiffstats
path: root/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-09-07 13:08:31 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-09-07 13:13:17 +0200
commit721e4cbb529d247c9c1ebef68275e70a3086ae0b (patch)
tree2967ef4e10e2592661f664df4515d67dbc80cfe5 /package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
parent89920e9735cb561dccf1e1f81d35788fd10a655b (diff)
parentcec266ee1f708f11cc679cb4f81613fa4186003c (diff)
downloadbuildroot-721e4cbb529d247c9c1ebef68275e70a3086ae0b.tar.gz
buildroot-721e4cbb529d247c9c1ebef68275e70a3086ae0b.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch')
-rw-r--r--package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch b/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
index 478bac76f6..ec7aec4072 100644
--- a/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
+++ b/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
@@ -4,11 +4,13 @@ Date: Thu, 27 Jul 2017 09:46:07 +0200
Subject: [PATCH] Determine boost_python name depending on current Python
version
-Python2 requires boost_python27 and Python3 requires boost_python36
+Python2 requires boost_python27 and Python3 requires boost_python37
(since boost 1.67).
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Bernd: adapted for python-3.7]
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
setup.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -21,7 +23,7 @@ index fdf5c27..4b38569 100644
from setuptools import setup, find_packages, Extension
import sys, os
-+boostlib = "boost_python36"
++boostlib = "boost_python37"
+if sys.version_info < (3, 0):
+ boostlib = "boost_python27"
+
OpenPOWER on IntegriCloud