Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyelemental/
Date: Thu, 31 Dec 2015 12:55:13
Message-Id: 1451566503.273032462be1becbfd11b6480cf46c49466c7334.jlec@gentoo
1 commit: 273032462be1becbfd11b6480cf46c49466c7334
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 12:52:55 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 12:55:03 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27303246
7
8 dev-python/pyelemental: Add missing -std declaration
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570218
11
12 Package-Manager: portage-2.2.26
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild | 8 +++++++-
16 1 file changed, 7 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild b/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild
19 index a815361..c448087 100644
20 --- a/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild
21 +++ b/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild
22 @@ -3,9 +3,10 @@
23 # $Id$
24
25 EAPI=5
26 +
27 PYTHON_COMPAT=( python2_7 )
28
29 -inherit distutils-r1
30 +inherit distutils-r1 flag-o-matic
31
32 DESCRIPTION="Python bindings for libelemental (sci-chemistry/gelemental)"
33 HOMEPAGE="http://freecode.com/projects/gelemental/"
34 @@ -22,6 +23,11 @@ DEPEND="${RDEPEND}
35
36 PATCHES=( "${FILESDIR}"/${P}-gcc-4.7.patch )
37
38 +python_prepare_all() {
39 + append-cxxflags -std=c++11
40 + distutils-r1_python_prepare_all
41 +}
42 +
43 python_install_all() {
44 use doc && local HTML_DOCS=( docs/html/. )
45 distutils-r1_python_install_all