# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit distutils DESCRIPTION="Library for parsing and interpreting the results of computational chemistry packages" HOMEPAGE="http://cclib.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" IUSE="" RDEPEND="dev-python/numpy" DEPEND="${RDEPEND}" DOCS="ANNOUNCE CHANGELOG THANKS" src_test() { ${python} test/testall.py || die } pkg_postinst(){ python_mod_optimize cclib } pkg_postrm(){ python_mod_cleanup cclib }