blob: 6df94f1af37debdee0a95d838ba9035ca4169aac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYPI_VERIFY_REPO=https://github.com/pallets/click
PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="A Python package for creating beautiful command line interfaces"
HOMEPAGE="
https://palletsprojects.com/p/click/
https://github.com/pallets/click/
https://pypi.org/project/click/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
# this is causing major peformance problems for pkgcheck
# https://github.com/pkgcore/pkgcheck/issues/782
#distutils_enable_sphinx docs \
# '>=dev-python/docutils-0.14' \
# dev-python/myst-parser \
# dev-python/pallets-sphinx-themes \
# dev-python/sphinxcontrib-log-cabinet \
# dev-python/sphinx-tabs
EPYTEST_PLUGINS=()
# tests/test_utils.py::test_echo_via_pager is flaky
EPYTEST_RERUNS=5
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# -Wdefault, https://github.com/pallets/click/issues/3476
tests/test_options.py::test_flag_group_competition_duplicate_option_name
)
|