# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-1.3.0.ebuild,v 1.4 2010/07/23 21:18:29 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.*" DISTUTILS_SRC_TEST="setup.py" inherit distutils eutils DESCRIPTION="A simple Python interface to HDF5 files." HOMEPAGE="http://h5py.alfven.org/ http://code.google.com/p/h5py/ http://pypi.python.org/pypi/h5py" SRC_URI="http://h5py.googlecode.com/files/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=sci-libs/hdf5-1.6.7 dev-python/numpy" DEPEND="${RDEPEND} dev-python/setuptools" PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" src_prepare() { epatch "${FILESDIR}/${P}-python-2.7.patch" distutils_src_prepare }