blob: ef680dead6e8207c913ddd406ac53b52ab7bf1f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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.3 2010/07/23 21:11:23 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=""
DEPEND=">=sci-libs/hdf5-1.6.7
dev-python/numpy"
RDEPEND="${DEPEND}"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
src_prepare() {
epatch "${FILESDIR}/${P}-python-2.7.patch"
distutils_src_prepare
}
|