diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-30 12:00:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-30 12:00:55 +0100 |
commit | 2e8abb8c82f14dd064991a1afd337b2f022b37f6 (patch) | |
tree | d600b9d779be602cd4b6e93bf715ec8fba07624c /dev-python/spyder-kernels | |
parent | adcf4f8116a4a850dae301fb4dbcd7b71cb35975 (diff) |
gentoo auto-resync : 30:08:2024 - 12:00:55
Diffstat (limited to 'dev-python/spyder-kernels')
-rw-r--r-- | dev-python/spyder-kernels/Manifest | 2 | ||||
-rw-r--r-- | dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild | 92 |
2 files changed, 94 insertions, 0 deletions
diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 233047bf7818..23b5dac5b9c4 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,5 +1,7 @@ DIST spyder_kernels-2.5.2.tar.gz 99972 BLAKE2B 178f175fe03fd2b7871681ae30d10b62a4daf9ee606477eab4f88a4d81d2692b80cdcf4f9b6d46c4cfc0394b98d798e93dda870a3f1cbe6f77e243fd2b06d97c SHA512 4cf5462d6a6e72bf13f9890fbc5a4008788e132ee3315b0ad01a00beff6b78c63f47b7b5d19be601b64984196cc1a5c4706a4c5bbe878d938e487ae9ddd9f1fc +DIST spyder_kernels-3.0.0.tar.gz 242868 BLAKE2B 7cf667ce42d9f0a1c6b0df337c98a702588c546eeedfeb8150cea560c7ba5f0049ccb76f1342584f7a6cf9bf400ed2d1dbbad12f5b39ae3a3343e3449aed3414 SHA512 42c176d6c8c410b375342c2fed07dd5ff6440e857dac06097d55c1f3d34bed6d51873833523b798316f100d3f226f78cf76d661a30c7e968683eaad622d5c994 DIST spyder_kernels-3.0.0b9.tar.gz 242468 BLAKE2B b85c35f3b0fdffcb9105a6ff15388aeb0ea08f22647d654c37b9b7003d516310039dcb2d0cb41668f0903302b330dae289d9a7063ad9f970ac757f549b871a8d SHA512 c3c68b3a7c5bbd337b4461cedc388e8a9196e9ee72c2208036abe376d1621ab5db93c23935d1bf2d711a2d0de99d06599e2e0f102dc7a5d75d5c55f13cdb2a2e EBUILD spyder-kernels-2.5.2.ebuild 1938 BLAKE2B 85ae2fa2e266e20923cb90294ed0a91dd1f729c0e46483278527381dff6d948ddedcf09686194490f2fb045b2a9b3abcedb25ba5a3855323660b40eeebee8aa0 SHA512 7b29642447e6923f811be91a0ca7c09dec9d832f37cde4e927e5a9999179025566ba8b2e96233765a601d9754eec9831290c4243dad685609c907abd604ae374 +EBUILD spyder-kernels-3.0.0.ebuild 2882 BLAKE2B adf24d7b2746fb27df16e3cd5502d9830fcd2b1498486afb72e4e4e55929df65c3cb1102119dda92120d255baf4974782b2b4d9900fe6789b830731bf2dd9a97 SHA512 aed5bb88974594d894b67e1599d0c26f440c90500f02f85bfc3a1d461f7f7a0e60b303d711448f907b833e910c9e8fdadd1a8f8277df56b640e3271bf9b698b2 EBUILD spyder-kernels-3.0.0_beta9.ebuild 2701 BLAKE2B 2a434017cadbf4c4b5962b6457ee4a51baa914253c2a21f4e388a4cb704cdf72d77aad767751d306f8abe151a979e24f0ae1de20199ee38b9d20a1bef3cb9aef SHA512 1cc51a63842cff621a6afc90e572abe1903d45005faa4356f021a808f8309731504064788628c03a511ec7f97ead1a0cd0348db47771d9e22f6067e98651cab8 MISC metadata.xml 545 BLAKE2B 52be79edfbfdd86e7f895c53d088399b649901b76c7b69cf6363dfba6954971ce75b14624c2fc4254810112e32721e215255d59035f70850e1c1073f9784e65b SHA512 62ad725aab52d7071ccd5297bd15fcdd5e02e97854fc412a43b5c97b7995c77661251994850616743ce39eee0d0673b3bd4189b00876ed6124bf1871f6fb100c diff --git a/dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild new file mode 100644 index 000000000000..0ff0db0d70d8 --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + <dev-python/ipykernel-7[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}] + <dev-python/ipython-9[${PYTHON_USEDEP}] + >dev-python/ipython-8.13.0[${PYTHON_USEDEP}] + <dev-python/jupyter-client-9[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # we no longer package distributed, and also removed dependency on dask + spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing + + # RuntimeError: There is no current event loop in thread 'MainThread'. + # https://bugs.gentoo.org/834893 + spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2 + spyder_kernels/console/tests/test_console_kernel.py::test_runfile + spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold + spyder_kernels/console/tests/test_console_kernel.py::test_turtle_launch + spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline + + # pydicom only packaged in ::sci at the moment + spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files + ) + local EPYTEST_IGNORE=() + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + # require pandas + spyder_kernels/utils/tests/test_nsview.py + ) + fi + + if ! has_version "dev-python/h5py[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # require hdf5 + spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files + spyder_kernels/utils/tests/test_dochelpers.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |