33 lines
734 B
Bash
33 lines
734 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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
|
|
}
|