holgersson-overlay/dev-python/hdf5storage/hdf5storage-0.1.15-r2.ebuild
Nils Freydank 75ab648d92
dev-python/hdf5storage: Drop python3.7 support
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
2020-12-08 17:10:20 +01:00

39 lines
754 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Python library for using HDF5 formatted files"
HOMEPAGE="https://github.com/frejanordsiek/hdf5storage http://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="
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
dev-python/nose[${PYTHON_USEDEP}]
|| (
dev-lang/julia
dev-lang/julia-bin
)
)
"
src_test(){
esetup.py nosetests
}