diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-08 07:15:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-08 07:15:12 +0000 |
| commit | 06ab3aac23e653bc2f23cd02be0974a9d1833ade (patch) | |
| tree | 824f737dc40f81fa83e933e7acda35c6fc8150ad /dev-python/astroid | |
| parent | d52e4ca881bbe884ad6b0b164ca7c4f283da0718 (diff) | |
| download | baldeagleos-repo-06ab3aac23e653bc2f23cd02be0974a9d1833ade.tar.gz baldeagleos-repo-06ab3aac23e653bc2f23cd02be0974a9d1833ade.tar.xz baldeagleos-repo-06ab3aac23e653bc2f23cd02be0974a9d1833ade.zip | |
Adding metadata
Diffstat (limited to 'dev-python/astroid')
| -rw-r--r-- | dev-python/astroid/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/astroid/astroid-4.0.4.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 0af1847cb1d9..15b6217be274 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,2 +1,3 @@ DIST astroid-4.0.2.gh.tar.gz 475834 BLAKE2B 04821506d6a56b914edcd8646f81487c8c78298b873b16f9fd6d79a841a479176aaece23ed470f8191807280b57e8ec954bade01b348ad1251bb065de502706c SHA512 1a407acf1b9d6875d1f9c26958ba5f7d362235fe35b856b6310b62bcd5404edbffa16b01209e69ee4f84d70bc79c68ba734d7d6036c72f5dd83ad3fc26c2e65f DIST astroid-4.0.3.gh.tar.gz 476645 BLAKE2B e71fe0b9d0eb8e318134bb7037c6599a8bca308963f28789e5fe4d68449777dfb29fb711a109359d6d037e58fe775372822115f608e09d95cf9891e132bfc04a SHA512 ef5988ba87b2fe6524715385aa8f8055c01910bf244ce8bdf089ac2325a65217b75a7d8070828735fb3ad5f8b9967d204541982a96ba769a8ac03066dfc21c18 +DIST astroid-4.0.4.gh.tar.gz 476682 BLAKE2B 513e70a4cf4791a3493bf43a1544d9eaf7dcda1c6b6602edba7314455507aff70d5f137d798243671848a9a9c070d39b6aea6442f3f15506959a4f066418b855 SHA512 37b7dffa92e7ca2e4a2039d9f0c4ff1235daa5e64d6bcaeffd9ed9240c5b24fd6c2f2508c4b20844f3be7bd5daaf98d5ed72f87b65c2288c40ffe7cb0446ddf3 diff --git a/dev-python/astroid/astroid-4.0.4.ebuild b/dev-python/astroid/astroid-4.0.4.ebuild new file mode 100644 index 000000000000..68c0ebb691c1 --- /dev/null +++ b/dev-python/astroid/astroid-4.0.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=${P/_/} +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/pylint-dev/astroid/archive/v${PV/_/}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# dev-python/regex isn't available for pypy +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # hangs randomly + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) + tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple + # old pythons only + tests/brain/test_dataclasses.py::test_pydantic_field + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # -Werror, sigh + tests/test_nodes.py::test_deprecated_nodes_import_from_toplevel + ) + + if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_raw_building.py + ) + fi + + epytest +} |
