Diff autopep8-2.0.4 with a autopep8-9999
/usr/portage/dev-python/autopep8/autopep8-9999.ebuild 2023-10-09 14:52:30.256368369 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 |
PYTHON_COMPAT=( python3_{10..11} pypy3 ) |
|
7 |
PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
|
8 | 8 |
PYTHON_REQ_USE="threads(+)" |
9 | 9 | |
10 | 10 |
inherit distutils-r1 |
... | ... | |
19 | 19 |
inherit git-r3 |
20 | 20 |
else |
21 | 21 |
inherit pypi |
22 |
KEYWORDS="~alpha amd64 ~arm64 ~ia64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux" |
|
22 |
KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
|
23 | 23 |
fi |
24 | 24 | |
25 | 25 |
LICENSE="MIT" |
... | ... | |
33 | 33 |
" |
34 | 34 | |
35 | 35 |
distutils_enable_tests pytest |
36 | ||
37 |
python_test() { |
|
38 |
local EPYTEST_DESELECT=() |
|
39 | ||
40 |
[[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( |
|
41 |
# fails due to deprecation warnings |
|
42 |
test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes |
|
43 |
test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file |
|
44 |
) |
|
45 | ||
46 |
epytest |
|
47 |
} |