blob: 8a7b76420ec53d99e88decf984f5a3fd9ab64d3d (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="Read/write Python types to/from HDF5 files, including MATLAB v7.3 MAT files"
HOMEPAGE="https://github.com/frejanordsiek/hdf5storage"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/frejanordsiek/hdf5storage"
else
COMMIT=09dfc5fb3a6a3f9c32c2479a896c7f14d3c8d830
SRC_URI="https://github.com/frejanordsiek/hdf5storage/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
KEYWORDS="~amd64"
fi
LICENSE="BSD"
SLOT="0"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/h5py[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_tests nose
|