mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
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>
35 lines
741 B
Bash
35 lines
741 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit distutils-r1 flag-o-matic
|
|
|
|
DESCRIPTION="Python bindings for libelemental (sci-chemistry/gelemental)"
|
|
HOMEPAGE="http://freecode.com/projects/gelemental/"
|
|
SRC_URI="http://www.kdau.com/files/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="doc"
|
|
|
|
RDEPEND=">=sci-chemistry/gelemental-1.2.0"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
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
|
|
}
|