# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 MY_PN="netCDF4" MY_P="${MY_PN}-${PV}" PYTHON_COMPAT=( python2_7 python{3_5,3_6,3_7} ) inherit distutils-r1 DESCRIPTION="Python interface to the netCDF C library." HOMEPAGE="http://unidata.github.io/netcdf4-python/netCDF4/index.html" SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" LICENSE="OSI Approved" SLOT="0" KEYWORDS="~amd64" IUSE="dap hdf mpi" RDEPEND=">=dev-python/cftime-1.0.3.4[${PYTHON_USEDEP}] >=dev-python/numpy-1.9.0[${PYTHON_USEDEP}] >=dev-python/cython-0.21[${PYTHON_USEDEP}] >=sci-libs/hdf5-1.8.4 >=sci-libs/netcdf-4.6.1[hdf5] dap? ( >=net-misc/curl-7.64.0 >=sci-libs/netcdf-4.6.1[dap] ) hdf? ( >=sci-libs/hdf-4.2.8 >=sci-libs/netcdf-4.6.1[hdf] ) mpi? ( >=dev-python/mpi4py-2.0.0 )" S="${WORKDIR}"/${MY_P} DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]"