|
| 1 | +# Copyright 1999-2025 Gentoo Authors |
| 2 | +# Distributed under the terms of the GNU General Public License v2 |
| 3 | + |
| 4 | +EAPI=8 |
| 5 | + |
| 6 | +DISTUTILS_USE_PEP517=hatchling |
| 7 | +PYTHON_COMPAT=( python3_{11..13} ) |
| 8 | + |
| 9 | +inherit distutils-r1 pypi |
| 10 | + |
| 11 | +DESCRIPTION="Single-cell analysis in Python (scalable to >1M cells)" |
| 12 | +HOMEPAGE="https://github.com/scverse/scanpy" |
| 13 | +LICENSE="BSD" |
| 14 | +SLOT="0" |
| 15 | +KEYWORDS="~amd64" |
| 16 | + |
| 17 | +RDEPEND=" |
| 18 | + >=dev-python/anndata-0.8[${PYTHON_USEDEP}] |
| 19 | + >=dev-python/numpy-1.24.1[${PYTHON_USEDEP}] |
| 20 | + >=dev-python/matplotlib-3.7.5[${PYTHON_USEDEP}] |
| 21 | + >=dev-python/pandas-1.5.3[${PYTHON_USEDEP}] |
| 22 | + >=dev-python/scipy-1.11.1[${PYTHON_USEDEP}] |
| 23 | + >=dev-python/seaborn-0.13.2[${PYTHON_USEDEP}] |
| 24 | + >=dev-python/h5py-3.7.0[${PYTHON_USEDEP}] |
| 25 | + dev-python/tqdm[${PYTHON_USEDEP}] |
| 26 | + >=dev-python/scikit-learn-1.1.3[${PYTHON_USEDEP}] |
| 27 | + >=dev-python/statsmodels-0.14.4[${PYTHON_USEDEP}] |
| 28 | + dev-python/patsy[${PYTHON_USEDEP}] |
| 29 | + >=dev-python/networkx-2.7.1[${PYTHON_USEDEP}] |
| 30 | + dev-python/natsort[${PYTHON_USEDEP}] |
| 31 | + dev-python/joblib[${PYTHON_USEDEP}] |
| 32 | + >=dev-python/numba-0.57.1[${PYTHON_USEDEP}] |
| 33 | + >=dev-python/umap-learn-0.5.6[${PYTHON_USEDEP}] |
| 34 | + >=dev-python/pynndescent-0.5.13[${PYTHON_USEDEP}] |
| 35 | + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] |
| 36 | + dev-python/session-info2[${PYTHON_USEDEP}] |
| 37 | + >=dev-python/legacy-api-wrap-1.4.1[${PYTHON_USEDEP}] |
| 38 | + dev-python/typing-extensions[${PYTHON_USEDEP}] |
| 39 | +" |
| 40 | +BDEPEND=" |
| 41 | + test? ( |
| 42 | + dev-python/flaky[${PYTHON_USEDEP}] |
| 43 | + dev-python/pytest-mock[${PYTHON_USEDEP}] |
| 44 | + ) |
| 45 | +" |
| 46 | + |
| 47 | +distutils_enable_tests pytest |
| 48 | + |
| 49 | +EPYTEST_DESELECT=( |
| 50 | + # flaky got an unexpected keyword argument 'reruns' |
| 51 | + tests/test_backed.py::test_backed_error |
| 52 | + # related: https://github.com/scverse/scanpy/issues/1418 |
| 53 | + tests/test_plotting.py |
| 54 | + tests/test_plotting_embedded/test_spatial.py |
| 55 | +) |
0 commit comments