mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/astroid: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
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
|
||||
DIST astroid-4.1.0.gh.tar.gz 482678 BLAKE2B a4c586283b255ae07804aee8223be3a6b487ab38c13587830540947ff7f36c5e7cebd639bfb876f412588b25f1ae9401bdaf4e8d672bf372c8b81eae849ee6f7 SHA512 b5a9c5599b63282719ba96a0c28be85df64a991ad914eebd2ed70eb265f840556000cff7e5de4ff97eba1ea18aed931078cc79a2e5fc707433a9a7683c6ac149
|
||||
DIST astroid-4.1.1.tar.gz 412522 BLAKE2B 471d486d3769b76d1588542f7c306252f5d669f568b781ad85eb3acf1fe215c5dc2f925d9ddea183c993537a2d827320d1b709dcf0266253cc7f08c3ed0f959b SHA512 80ff3a9dd3c848faf6654d346c68537e3d9c62fdb07499642a4a844ee79bd00969177d74c238f82689572644d5ec436cc0d7e57f246a239125d4535e864b8fbb
|
||||
DIST astroid-4.1.1.tar.gz.provenance 9575 BLAKE2B 3acaf0df98d359bce120b0c3566acdd8f62a3736e5e33441485981ac1700a75557a986562ce8535a1620fafa5b4015556c660f3ea0a3631d3fef1ebca7f44156 SHA512 3c8f012689e1bd3a2cbd7cf1651aabfd21dd0a3a2b861964e856c1a2e48cceda953067276f0c8295fb322cfc48b868e6d9b4e59f596b77c240065358f433b16b
|
||||
DIST astroid-4.1.2.tar.gz 414896 BLAKE2B 1888ca1d5f035fa2c4288e52392baefdb601aed629e260f8cfee21106a4ca74fbfb5fbe03da94aaa6cd7739b0324cfdf0c605814dbc8a56523bc0cbc9ac87a63 SHA512 92569b277033085c0a622f5a702daeda99a96d293c74ceb47ffec070408868508893d892eb3131b119b2339f8e5e6fc0d4b694065b68f7fded4857f03fc0b35d
|
||||
DIST astroid-4.1.2.tar.gz.provenance 9395 BLAKE2B 0a178a7e3e1392b71c0a6ea9f910821581801f79c89345cf9aa62dfe1ea5c5f18b026f003ad88796b518054f859fc6b82c564a7a8af6f44fccf8a7c00f5e68e3 SHA512 59de972e0f8754be6d218d1d3f04942e9ffc8aaf277cdb1564f11024baea7085cad98610cb297d9076ce50ab28136e3577863456cb0b5215ed07c345853c3df9
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..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
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..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
|
||||
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/brain/test_gi.py::GiBrainClassificationTest::test_gi_function_classification
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
if has_version ">=dev-python/setuptools-82[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# tests a package using pkg_resources
|
||||
tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol
|
||||
)
|
||||
fi
|
||||
|
||||
epytest
|
||||
}
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/pylint-dev/astroid
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Abstract Syntax Tree for logilab packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/pylint-dev/astroid/
|
||||
https://pypi.org/project/astroid/
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/brain/test_gi.py::GiBrainClassificationTest::test_gi_function_classification
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
if has_version ">=dev-python/setuptools-82[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# tests a package using pkg_resources
|
||||
tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol
|
||||
)
|
||||
fi
|
||||
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user