1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
10 inherit eutils distutils
12 DESCRIPTION="Python module for reading and writing GRIB files (edition 1 and edition 2)"
13 HOMEPAGE="http://code.google.com/p/pygrib/ http://pypi.python.org/pypi/pygrib/"
14 SRC_URI="http://pygrib.googlecode.com/files/${P}.tar.gz"
21 RDEPEND="dev-python/numpy
26 || ( media-libs/jasper media-libs/openjpeg )
32 # patch already be applied by upstream, avoid conflict with grib_api's script
33 # ref http://code.google.com/p/pygrib/issues/detail?id=22
34 epatch "${FILESDIR}"/${P}-fix_duplicate_name.patch