holgersson-overlay/dev-python/control/control-0.8.4.ebuild

29 lines
634 B
Bash
Raw Normal View History

# Copyright 2020-2021 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 Control Systems Library"
HOMEPAGE="https://python-control.org https://pypi.org/project/control"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
BDEPEND="
${DEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"