2022-09-20 09:47:00 +02:00
|
|
|
# Copyright 2020-2022 Gentoo Authors
|
2021-05-30 16:21:20 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-07-10 19:09:22 +02:00
|
|
|
EAPI="8"
|
2021-05-30 16:21:20 +02:00
|
|
|
|
2022-09-20 09:47:00 +02:00
|
|
|
PYTHON_COMPAT=( python3_10 )
|
2021-05-30 16:21:20 +02:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Python library for using HDF5 formatted files"
|
|
|
|
HOMEPAGE="https://github.com/frejanordsiek/hdf5storage https://pythonhosted.org/hdf5storage/"
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
|
|
|
|
|
|
|
LICENSE="BSD-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="doc test"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
|
|
|
dev-python/h5py[${PYTHON_USEDEP}]
|
|
|
|
dev-python/numpy[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
BDEPEND="
|
|
|
|
app-arch/unzip
|
|
|
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
|
|
test? (
|
|
|
|
dev-python/nose[${PYTHON_USEDEP}]
|
|
|
|
|| (
|
|
|
|
dev-lang/julia
|
|
|
|
dev-lang/julia-bin
|
|
|
|
)
|
|
|
|
)
|
|
|
|
"
|
|
|
|
|
|
|
|
src_test(){
|
|
|
|
esetup.py nosetests
|
|
|
|
}
|