summaryrefslogtreecommitdiff
path: root/dev-python/spyder-unittest
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/spyder-unittest')
-rw-r--r--dev-python/spyder-unittest/Manifest2
-rw-r--r--dev-python/spyder-unittest/spyder-unittest-0.7.0.ebuild82
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/spyder-unittest/Manifest b/dev-python/spyder-unittest/Manifest
index 35e6e5536d5c..47401c33a046 100644
--- a/dev-python/spyder-unittest/Manifest
+++ b/dev-python/spyder-unittest/Manifest
@@ -1,3 +1,5 @@
DIST spyder-unittest-0.6.0.gh.tar.gz 105932 BLAKE2B b7a39e5756d27325bbe0dff32fb3922f667cdd1eb2c3a6d9e5eceb89abd921244fdf1685706bff181c75c59f86f92e405a1d08c5e86d7f15a27bfd46d32048ea SHA512 304843dcf6b51033a6acbc81a0ed274736d36967d95866075bb06a23487f29556256e39c213f685f5a6622743bba568814b5c099fa143e849fdb5608687f1c5c
+DIST spyder-unittest-0.7.0.gh.tar.gz 106314 BLAKE2B 7bb3cab3f0a405ccf292a9dc92038ab22bd7be322933c0e39ee26deb4dbbe4b3f038d4d104e566e48f46d98e502e129490529608aaa46e2f1e95c9141f795ae6 SHA512 3c404d9e5e6c7cb3a861c24b2cfa55077040bc95b7d9a8c84531e47d3fe7490cd84c6c713e302839b4fb715d6256e59f512e952b9781d9cbf31ee509f567d695
EBUILD spyder-unittest-0.6.0.ebuild 3984 BLAKE2B b45bb029dd17a4a5aa564a647a0287d88072e845f602032766e7ecf2a64615169d2865d4b8e87a988e5bfd7bc90c84b670a79e61cd67900f76ab357c7e327fcf SHA512 70696d5fb4a0a1e780d6bae6120202f516f8485b4187d60660acce6dc47c2478ee6743e19fcff2f5f67b51a9461f9e9ed3948afd24ae3d9e4e0851c24f58d266
+EBUILD spyder-unittest-0.7.0.ebuild 3973 BLAKE2B 06c5da946babbb3665ba839d2e4277a21dca883e367ec49dfbfa104030f6b958f9d33d29de944715bf67a06ebbf8eca353d249eadb1e0a81d9ee93bdbae9f7f2 SHA512 adeea0801aa4c021d408afaf5098b590fc501f6bfd9b3d127674d4cb0de1f949aa2a5f89ba6107369c4d7fa9d83803de82ae98f6f39e21d1b6dd020b80bebc73
MISC metadata.xml 427 BLAKE2B a6408ae9feaec15c7178f598d5e4acfe0ce4c966368ce4488d075a8fa08f3ff7cc17e74227ff3638a521667eb671d31f6b5da2679741385cf6cdaa88f63a6ce0 SHA512 17c545b696124de7dd0c49410f527f30f482f30ed2dec86d9e325807d3cbff04684eecb7eb9d4cedfeb40f6f0845e2ea0de027479c4da6e2d2f03c9f518857c4
diff --git a/dev-python/spyder-unittest/spyder-unittest-0.7.0.ebuild b/dev-python/spyder-unittest/spyder-unittest-0.7.0.ebuild
new file mode 100644
index 000000000000..2b8efeaeda75
--- /dev/null
+++ b/dev-python/spyder-unittest/spyder-unittest-0.7.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Plugin for Spyder to run tests and view the results"
+HOMEPAGE="https://github.com/spyder-ide/spyder-unittest"
+SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/spyder-6[${PYTHON_USEDEP}]
+ <dev-python/spyder-7[${PYTHON_USEDEP}]
+ dev-python/pyzmq[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
+
+DEPEND="test? (
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/pytest-qt[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Hangs
+ spyder_unittest/widgets/tests/test_datatree.py::test_contextMenuEvent_calls_exec
+ # clicked() does not seem to work in emerge env
+ spyder_unittest/widgets/tests/test_confpage.py::test_unittestconfigpage
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_forwards_sig_edit_goto
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_set_config_emits_newconfig
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_set_config_does_not_emit_when_invalid
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_config_with_unknown_framework_invalid
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_process_finished_updates_results
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_replace_pending_with_not_run
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_tests_collected
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_tests_started
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_tests_collect_error
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_tests_yield_results
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_set_message
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_run_tests_starts_testrunner
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_run_tests_with_pre_test_hook_returning_true
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_run_tests_with_pre_test_hook_returning_false
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_process_finished_updates_status_label
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_process_finished_abnormally_status_label
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_unittestwidget_handles_sig_single_test_run_requested
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_run_tests_and_display_results
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_run_tests_using_unittest_and_display_results
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_run_tests_with_print_using_unittest_and_display_results
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_run_with_no_tests_discovered_and_display_results
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_stop_running_tests_before_testresult_is_received
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_show_versions
+ spyder_unittest/widgets/tests/test_unittestgui.py::test_get_versions
+
+ # Broken in Pyside2
+ spyder_unittest/tests/test_unittestplugin.py::test_menu_item
+ spyder_unittest/tests/test_unittestplugin.py::test_pythonpath_change
+ spyder_unittest/tests/test_unittestplugin.py::test_default_working_dir
+ spyder_unittest/tests/test_unittestplugin.py::test_plugin_config
+ spyder_unittest/tests/test_unittestplugin.py::test_go_to_test_definition
+
+ # Don't depend on nose2
+ spyder_unittest/backend/workers/tests/test_print_versions.py::test_get_nose2_info
+)
+
+EPYTEST_IGNORE=(
+ # Example test that somehow gets picked up
+ doc/example/test_foo.py
+)
+
+python_test() {
+ virtx epytest
+}