Skip to content

Commit

Permalink
dev-python/pyicu: Force C++11
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/651748
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
SoapGentoo committed May 26, 2018
1 parent 0972d3f commit 891751d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dev-python/pyicu/pyicu-2.0.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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
Expand Down

0 comments on commit 891751d

Please sign in to comment.