diff options
author | David Seifert <soap@gentoo.org> | 2018-05-26 14:21:34 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-05-26 14:22:39 +0200 |
commit | 891751d5942d911a86930a0563171dfbe45103a0 (patch) | |
tree | 6e50f1443feaa361265de65adeee63ddde838208 /dev-python/pyicu | |
parent | dev-libs/log4cplus: Force C++11 (diff) | |
download | gentoo-891751d5942d911a86930a0563171dfbe45103a0.tar.gz gentoo-891751d5942d911a86930a0563171dfbe45103a0.tar.bz2 gentoo-891751d5942d911a86930a0563171dfbe45103a0.zip |
dev-python/pyicu: Force C++11
Closes: https://bugs.gentoo.org/651748
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/pyicu')
-rw-r--r-- | dev-python/pyicu/pyicu-2.0.3.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/pyicu/pyicu-2.0.3.ebuild b/dev-python/pyicu/pyicu-2.0.3.ebuild index 4dc247fee2d4..37fb2ef11b97 100644 --- a/dev-python/pyicu/pyicu-2.0.3.ebuild +++ b/dev-python/pyicu/pyicu-2.0.3.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic MY_PN="PyICU" MY_P="${MY_PN}-${PV}" @@ -30,6 +30,14 @@ S="${WORKDIR}/${MY_P}" DOCS=(CHANGES CREDITS README.md) +python_prepare_all() { + # bug 651748 + # due to ICU 59 requiring C++11 now + append-cxxflags -std=c++11 + + distutils-r1_python_prepare_all +} + python_test() { if [[ ${EPYTHON} == python2* ]]; then # See Bug #644226 |