Skip to content

Commit 4da14d9

Browse files
committed
dev-python/scanpy: add ebuild
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
1 parent 787b9e7 commit 4da14d9

3 files changed

Lines changed: 67 additions & 0 deletions

File tree

dev-python/scanpy/Manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DIST scanpy-1.11.3.tar.gz 14089431 BLAKE2B 10285f8b0fccee0d596081a82830126e452c23b376f2d9bb9b0a67b52cac730f9a2940fbf9765dc9d691e75d330b255d995b5c62c07244631fab2b70b21ef7db SHA512 973b161c3400d348a260b9cfba8ff13a5104f761565b3e3bdff88392ccfd57b1bd67beb2b16becbbd24cc7f87f5d3fe29e44e7dd32edd3b038e78d4278e33c6e

dev-python/scanpy/metadata.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<pkgmetadata>
3+
<maintainer type="person">
4+
<email>mschu.dev@gmail.com</email>
5+
<name>Michael Schubert</name>
6+
</maintainer>
7+
<upstream>
8+
<remote-id type="pypi">scanpy</remote-id>
9+
<remote-id type="github">scverse/scanpy</remote-id>
10+
</upstream>
11+
</pkgmetadata>
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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

Comments
 (0)