# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython" inherit distutils DESCRIPTION="Python interface to scientific netCDF library." HOMEPAGE="http://pysclint.sourceforge.net/pycdf/" SRC_URI="mirror://sourceforge/pysclint/${PN}/${PV}/${PN}-${PV}.tar.gz" LICENSE="PSF-2" SLOT="0" KEYWORDS="~amd64 ~ia64 ~x86" IUSE="examples" DEPEND="dev-python/numpy sci-libs/szip" RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}-${PV}" src_install() { distutils_src_install dohtml doc/pyhdf.html doc/pyhdf.HDF.html doc/pyhdf.SD.html doc/pyhdf.V.html doc/pyhdf.VS.html dodoc CHANGES doc/pyhdf.HDF.txt doc/pyhdf.SD.txt doc/pyhdf.V.txt doc/pyhdf.VS.txt if use examples; then insinto /usr/share/doc/${PF} doins -r examples || die "doins failed" fi }