You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/spyder-terminal/spyder-terminal-0.3.0.ebuild

42 lines
993 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1 virtualx
DESCRIPTION="Run system terminals inside Spyder"
HOMEPAGE="https://github.com/spyder-ide/spyder-terminal"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/coloredlogs[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/spyder-4.0.0[${PYTHON_USEDEP}]
dev-python/terminado[${PYTHON_USEDEP}]
www-servers/tornado[${PYTHON_USEDEP}]"
DEPEND="test? (
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/pytest-qt[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
python_prepare_all() {
# This works as regular user, but not inside virtx for some reason
# core dumped
rm spyder_terminal/tests/test_terminal.py
distutils-r1_python_prepare_all
}
pytthon_test() {
virtx pytest -vv
}