Diff git-big-picture-1.2.2-r1 with a git-big-picture-1.2.2-r2
/usr/portage/dev-vcs/git-big-picture/git-big-picture-1.2.2-r2.ebuild 2023-10-09 14:52:31.016368389 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI="8" |
5 | 5 | |
6 |
# DISTUTILS_USE_PEP517=setuptools # blocked by use of distutils_install_for_testing |
|
6 |
DISTUTILS_USE_PEP517=setuptools |
|
7 | 7 |
PYPI_NO_NORMALIZE=1 |
8 | 8 |
PYTHON_COMPAT=( python3_{9..11} ) |
9 | 9 | |
... | ... | |
17 | 17 |
KEYWORDS="amd64 ~x86" |
18 | 18 |
IUSE="test" |
19 | 19 | |
20 |
# NOTE: dev-util/cram explictly does not need [${PYTHON_USEDEP}] |
|
21 |
# since test.cram is a shell session and not Python code |
|
20 | 22 |
DEPEND=" |
21 | 23 |
test? ( |
22 | 24 |
dev-python/parameterized[${PYTHON_USEDEP}] |
23 | 25 |
dev-python/pytest[${PYTHON_USEDEP}] |
24 |
dev-util/cram[${PYTHON_USEDEP}] |
|
26 |
dev-util/cram |
|
25 | 27 |
) |
26 | 28 |
" |
27 | 29 |
# No need for "[python]" or "[${PYTHON_USEDEP}]" with any of these |
... | ... | |
35 | 37 | |
36 | 38 |
python_test() { |
37 | 39 |
pytest -vv test.py || die "Tests fail with ${EPYTHON}" |
38 | ||
39 |
distutils_install_for_testing |
|
40 | 40 |
cram test.cram || die "Tests fail with ${EPYTHON}" |
41 | 41 |
} |