# Template file for 'python3-astroid'
pkgname=python3-astroid
version=3.3.10
revision=2
build_style=python3-pep517
# broken with numpy 2.0, see https://github.com/pylint-dev/astroid/issues/2442
# pkg_resources is deprecated, see https://github.com/pylint-dev/astroid/issues/2759
make_check_args="
 --deselect tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray
 --deselect tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray
 --deselect tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray
 --deselect tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return
 --deselect tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables
 --deselect tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type
 --deselect tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple
 --deselect tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol
"
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
checkdepends="python3-pytest python3-attrs python3-dateutil python3-mypy
 python3-numpy python3-regex python3-typing_extensions python3-urllib3"
short_desc="Abstract syntax tree for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/PyCQA/astroid"
changelog="https://raw.githubusercontent.com/PyCQA/astroid/master/ChangeLog"
distfiles="https://github.com/PyCQA/astroid/archive/refs/tags/v$version.tar.gz"
checksum=49a49abfe129a58c17d623544461780f77a24acf27ddc921d9ed7fc31b73279e
