dev-python/pyelemental: Add missing -std declaration
authorJustin Lecher <jlec@gentoo.org>
Thu, 31 Dec 2015 12:52:55 +0000 (13:52 +0100)
committerJustin Lecher <jlec@gentoo.org>
Thu, 31 Dec 2015 12:55:03 +0000 (13:55 +0100)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570218

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild

index a815361614a4965282611d9ab0c66b8bdf1f53ba..c448087a5da9ced478f0849dffa545ecd3f4e967 100644 (file)
@@ -3,9 +3,10 @@
 # $Id$
 
 EAPI=5
+
 PYTHON_COMPAT=( python2_7 )
 
-inherit distutils-r1
+inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="Python bindings for libelemental (sci-chemistry/gelemental)"
 HOMEPAGE="http://freecode.com/projects/gelemental/"
@@ -22,6 +23,11 @@ DEPEND="${RDEPEND}
 
 PATCHES=( "${FILESDIR}"/${P}-gcc-4.7.patch )
 
+python_prepare_all() {
+       append-cxxflags -std=c++11
+       distutils-r1_python_prepare_all
+}
+
 python_install_all() {
        use doc && local HTML_DOCS=( docs/html/. )
        distutils-r1_python_install_all