2023-01-13 20:20:10 +01:00
|
|
|
# Copyright 2020-2023 Gentoo Authors
|
2020-10-24 19:46:46 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-10-27 17:36:40 +02:00
|
|
|
EAPI="8"
|
2020-10-24 19:46:46 +02:00
|
|
|
|
2022-11-22 22:38:13 +01:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
PYTHON_COMPAT=( python3_{10..11} )
|
2020-10-24 19:46:46 +02:00
|
|
|
inherit distutils-r1
|
2023-01-13 20:20:10 +01:00
|
|
|
# Hard-code the version for upstream's weird 0.9.3_post2 release.
|
|
|
|
MY_PV="0.9.3.post2"
|
2020-10-24 19:46:46 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Python Control Systems Library"
|
2021-05-15 23:59:53 +02:00
|
|
|
HOMEPAGE="https://python-control.readthedocs.io/ https://pypi.org/project/control/"
|
2023-01-13 20:20:10 +01:00
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
2020-10-24 19:46:46 +02:00
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
2022-12-31 16:18:00 +01:00
|
|
|
# Tests need nose which is getting cleaned from main tree.
|
|
|
|
RESTRICT="test"
|
2023-01-13 20:20:10 +01:00
|
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
2020-10-24 19:46:46 +02:00
|
|
|
|
2022-11-22 22:38:13 +01:00
|
|
|
BDEPEND="
|
2020-10-24 19:46:46 +02:00
|
|
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
|
|
dev-python/numpy[${PYTHON_USEDEP}]
|
|
|
|
dev-python/scipy[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|