From 273032462be1becbfd11b6480cf46c49466c7334 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Thu, 31 Dec 2015 13:52:55 +0100 Subject: dev-python/pyelemental: Add missing -std declaration Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570218 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher --- dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dev-python/pyelemental') diff --git a/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild b/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild index a815361614a4..c448087a5da9 100644 --- a/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild +++ b/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild @@ -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 -- cgit v1.2.3-65-gdbad