commit: 273032462be1becbfd11b6480cf46c49466c7334 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Thu Dec 31 12:52:55 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Dec 31 12:55:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27303246
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 <jlec <AT> gentoo.org> dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild b/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild index a815361..c448087 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
