Diff typing-extensions-4.15.0 with a typing-extensions-4.16.0
| /usr/portage/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild 2026-08-03 20:03:05.020969280 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
DISTUTILS_USE_PEP517=flit |
|
| 6 |
DISTUTILS_USE_PEP517=flit-core |
|
| 7 | 7 |
PYPI_VERIFY_REPO=https://github.com/python/typing_extensions |
| 8 |
PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 )
|
|
| 8 |
PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t )
|
|
| 9 | 9 | |
| 10 | 10 |
inherit distutils-r1 pypi |
| 11 | 11 | |
| ... | ... | |
| 32 | 32 |
EPYTEST_PLUGINS=() |
| 33 | 33 |
distutils_enable_tests pytest |
| 34 | 34 | |
| 35 |
PATCHES=( |
|
| 36 |
# https://github.com/python/typing_extensions/pull/683 |
|
| 37 |
"${FILESDIR}/${P}-py314-test.patch"
|
|
| 38 |
) |
|
| 39 | ||
| 40 | 35 |
python_test() {
|
| 41 |
local EPYTEST_DESELECT=() |
|
| 42 |
case ${EPYTHON} in
|
|
| 43 |
pypy3.11) |
|
| 44 |
EPYTEST_DESELECT+=( |
|
| 45 |
src/test_typing_extensions.py::NamedTupleTests::test_same_as_typing_NamedTuple |
|
| 46 |
) |
|
| 47 |
;; |
|
| 48 |
python3.15*) |
|
| 49 |
EPYTEST_DESELECT+=( |
|
| 50 |
src/test_typing_extensions.py::AllTests::test_alias_names_still_exist |
|
| 51 |
src/test_typing_extensions.py::AllTests::test_all_names_in___all__ |
|
| 52 |
src/test_typing_extensions.py::AllTests::test_typing_extensions_includes_standard |
|
| 53 |
src/test_typing_extensions.py::GetTypeHintTests::test_annotation_and_optional_default |
|
| 54 |
src/test_typing_extensions.py::NoExtraItemsTests::test_constructor |
|
| 55 |
src/test_typing_extensions.py::NoExtraItemsTests::test_repr |
|
| 56 |
src/test_typing_extensions.py::TestSentinels::test_sentinel_deprecated |
|
| 57 |
src/test_typing_extensions.py::TestSentinels::test_sentinel_deprecated_explicit_repr |
|
| 58 |
src/test_typing_extensions.py::TypeAliasTypeTests::test_cannot_set_attributes |
|
| 59 |
src/test_typing_extensions.py::TypeVarTupleTests::test_repr |
|
| 60 |
src/test_typing_extensions.py::UnpackTests::test_repr |
|
| 61 |
) |
|
| 62 |
;; |
|
| 63 |
esac |
|
| 64 | ||
| 65 | 36 |
cd src || die |
| 66 | 37 |
epytest |
| 67 | 38 |
} |