Diff numpydoc-1.5.0 with a numpydoc-1.6.0
/usr/portage/dev-python/numpydoc/numpydoc-1.6.0.ebuild 2023-10-09 14:52:30.316368371 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
7 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
8 | 8 | |
9 | 9 |
inherit distutils-r1 |
10 | 10 | |
... | ... | |
21 | 21 | |
22 | 22 |
LICENSE="BSD" |
23 | 23 |
SLOT="0" |
24 |
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
|
24 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
|
25 | 25 | |
26 | 26 |
RDEPEND=" |
27 | 27 |
>=dev-python/jinja-2.10[${PYTHON_USEDEP}] |
28 |
>=dev-python/sphinx-4.2[${PYTHON_USEDEP}] |
|
28 |
>=dev-python/sphinx-5[${PYTHON_USEDEP}] |
|
29 |
>=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] |
|
30 |
$(python_gen_cond_dep ' |
|
31 |
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] |
|
32 |
' 3.10) |
|
29 | 33 |
" |
30 | 34 |
BDEPEND=" |
31 | 35 |
test? ( |
... | ... | |
35 | 39 | |
36 | 40 |
distutils_enable_tests pytest |
37 | 41 | |
38 |
src_prepare() { |
|
39 |
sed -i -e 's:--cov-report= --cov=numpydoc::' setup.cfg || die |
|
40 | ||
41 |
distutils-r1_src_prepare |
|
42 |
} |
|
43 | ||
44 | 42 |
python_test() { |
45 | 43 |
local EPYTEST_DESELECT=( |
46 | 44 |
# these require Internet (intersphinx) |
47 | 45 |
numpydoc/tests/test_full.py::test_MyClass |
48 | 46 |
numpydoc/tests/test_full.py::test_my_function |
49 | 47 |
) |
50 |
epytest --pyargs numpydoc |
|
48 |
epytest -o addopts= --pyargs numpydoc |
|
51 | 49 |
} |