diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2016-02-18 00:20:32 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2016-02-18 00:21:24 +0000 |
commit | dc8eac15691012571ae9baf3bdcc5bc729585875 (patch) | |
tree | 52f5108d60e6904d7a3419e91e958e725d1ce799 /dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild | |
parent | dev-ruby/classifier-reborn: Version bump (diff) | |
download | gentoo-dc8eac15691012571ae9baf3bdcc5bc729585875.tar.gz gentoo-dc8eac15691012571ae9baf3bdcc5bc729585875.tar.bz2 gentoo-dc8eac15691012571ae9baf3bdcc5bc729585875.zip |
dev-python/netcdf4-python: version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild')
-rw-r--r-- | dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild b/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild new file mode 100644 index 000000000000..65825e4d2255 --- /dev/null +++ b/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) + +inherit distutils-r1 + +MY_PN="netCDF4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python/numpy interface to the netCDF C library" +HOMEPAGE="http://unidata.github.io/netcdf4-python" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/numpy + sci-libs/hdf5 + sci-libs/netcdf:=[hdf,hdf5]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_P} + +python_test() { + cd test || die + ${PYTHON} run_all.py || die +} |