mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/qtconsole: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST qtconsole-5.7.0.tar.gz 436635 BLAKE2B fac7cff969337f4f2d7f7450e91f15761512017e209a1a61f38fbc1da5007a7df0e48f801336002ee123889dc1af41fdc001b4ed579ac4264c1dc1ae4219da3e SHA512 597d977d0dcd4895fc1ad0adfdfde6acad8a50ee0d94a9747b5cdfef5b9a43af5aa105c866a06ccddf059b67ec09bbb963f6189aa0336e56e41d918950c030c8
|
||||
DIST qtconsole-5.7.1.tar.gz 436262 BLAKE2B 545e615fa2799a31d726030809cc82c981611521610eda195093938f280bbdf38734d35598375ed89dcd40d6041a49179e8cad2765d2b582e6ffc7d95ad2bf1a SHA512 ac4d1004738f3588fc5cf5bc1def5312f36af25f4b327a449e7a61987fc8b3f4060def28a3d0ffc20fd52b49c63c20be087e25ffe633e7dc03065d23c05365e5
|
||||
DIST qtconsole-5.7.2.tar.gz 436661 BLAKE2B 77f64dba2e1fbeedc2801c371dcfcfd152399792ae528279dd102a980c44ba3273359b482906c85731dead360f09ec006ae276061c7c2f90c39ed05258168437 SHA512 0082c53bb292981b1ddd142d1d6cae14ab31c8ab4edf3f8afac0a2dce68b6a11c8167b5894787f50a0d70f81083c153ef5a412ff122203fcca116fa6ed69d52a
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi virtualx
|
||||
|
||||
DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
|
||||
HOMEPAGE="
|
||||
https://www.spyder-ide.org/
|
||||
https://github.com/spyder-ide/qtconsole/
|
||||
https://pypi.org/project/qtconsole/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/ipykernel-4.1[${PYTHON_USEDEP}]
|
||||
dev-python/jupyter-core[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}]
|
||||
>=dev-python/qtpy-2.4.0[${PYTHON_USEDEP},gui,printsupport,svg]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/qtpy[${PYTHON_USEDEP},svg,testlib]
|
||||
)
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{asyncio,qt} )
|
||||
EPYTEST_RERUNS=10
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# remove upstream marks to let us override rerun count
|
||||
# (this test suite is extremely flaky)
|
||||
# https://github.com/pytest-dev/pytest-rerunfailures/issues/306
|
||||
sed -i -e '/pytest\.mark\.flaky/d' qtconsole/tests/*.py || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO; expects exact HTML, so perhaps fragile
|
||||
qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output
|
||||
)
|
||||
local -x QT_API
|
||||
for QT_API in pyqt5 pyqt6 pyside2 pyside6; do
|
||||
if has_version "dev-python/qtpy[${QT_API}]"; then
|
||||
local -x PYTEST_QT_API=${QT_API}
|
||||
einfo "Testing with ${QT_API}"
|
||||
nonfatal epytest ||
|
||||
die "Tests failed with ${EPYTHON} / ${QT_API}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi virtualx
|
||||
|
||||
DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
|
||||
HOMEPAGE="
|
||||
https://www.spyder-ide.org/
|
||||
https://github.com/spyder-ide/qtconsole/
|
||||
https://pypi.org/project/qtconsole/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/ipykernel-4.1[${PYTHON_USEDEP}]
|
||||
dev-python/jupyter-core[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}]
|
||||
>=dev-python/qtpy-2.4.0[${PYTHON_USEDEP},gui,printsupport,svg]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/qtpy[${PYTHON_USEDEP},svg,testlib]
|
||||
)
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{asyncio,qt} )
|
||||
EPYTEST_RERUNS=10
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# remove upstream marks to let us override rerun count
|
||||
# (this test suite is extremely flaky)
|
||||
# https://github.com/pytest-dev/pytest-rerunfailures/issues/306
|
||||
sed -i -e '/pytest\.mark\.flaky/d' qtconsole/tests/*.py || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO; expects exact HTML, so perhaps fragile
|
||||
qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output
|
||||
)
|
||||
local -x QT_API
|
||||
for QT_API in pyqt5 pyqt6 pyside2 pyside6; do
|
||||
if has_version "dev-python/qtpy[${QT_API}]"; then
|
||||
local -x PYTEST_QT_API=${QT_API}
|
||||
einfo "Testing with ${QT_API}"
|
||||
nonfatal epytest ||
|
||||
die "Tests failed with ${EPYTHON} / ${QT_API}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user