diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-01-08 14:18:25 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-01-08 15:04:45 +0100 |
commit | a2790bba95ab7a6a9c5a623c8723ab1e39214624 (patch) | |
tree | b0dd9f6504382a84014237e69b3b50a7e5ece044 /dev-python/astroid | |
parent | dev-python/libcloud: Bump to 3.7.0 (diff) | |
download | gentoo-a2790bba95ab7a6a9c5a623c8723ab1e39214624.tar.gz gentoo-a2790bba95ab7a6a9c5a623c8723ab1e39214624.tar.bz2 gentoo-a2790bba95ab7a6a9c5a623c8723ab1e39214624.zip |
dev-python/astroid: Bump to 2.13.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/astroid')
-rw-r--r-- | dev-python/astroid/Manifest | 1 | ||||
-rw-r--r-- | dev-python/astroid/astroid-2.13.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index bff60211af61..eab7457e6012 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,2 +1,3 @@ DIST astroid-2.12.13.gh.tar.gz 437906 BLAKE2B c00462d44c9705dc5b46fc52915e6a44e53e840d5326427d235c9156bc4de58b184271338ebc10a4572e1aace8d4ababd3bd7e440a6ee585aa66d15dfe4117be SHA512 16d062b1a619663b157c4753f1744e56e7d0ef7cace12660feb7f6bc540e54be02638b52c1c877d3eb514e2d7423c4afc71e7d5464880bfd3724ff7ae6d7b90a DIST astroid-2.12.14.gh.tar.gz 440473 BLAKE2B 5b3d55664676b806af73208a2fcbbea2ee0c48bfb59ffa4f54fdc6dd35463d032b4b033530c9d10c52289f3d51c8d59c4d35330a427110c76a1a4566162ceddc SHA512 cdce9ed35ec107bb7ed4a7eb9e778f90c248dbbc00e3da5b4ae86340f960b71f31ffea0cabb677f17bde9daa28f8bed1de4a9f331b8cc975d85793a44dc29b65 +DIST astroid-2.13.1.gh.tar.gz 449003 BLAKE2B 1630cb4cbdea3544942863c58681ba1d5de81bb5d5e49f58bb498d689ab4ad4533bee169eecd6796ad5a62282c8c1f2dc69c7b59b684d1758e0e6e9f8c0f0298 SHA512 703540b1b5ec65d04e56b349cdd82b59672749e58d10e546cba0600ad65a02d05195400379c5534e8b9142b368974d1e18526c86c5ac3b6e2d3dc8db95d7fec7 diff --git a/dev-python/astroid/astroid-2.13.1.ebuild b/dev-python/astroid/astroid-2.13.1.ebuild new file mode 100644 index 000000000000..2cb9b1163758 --- /dev/null +++ b/dev-python/astroid/astroid-2.13.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/PyCQA/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + <dev-python/wrapt-2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_brain_regex.py::TestRegexBrain::test_regex_pattern_and_match_subscriptable + tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/unittest_brain_dataclasses.py::test_pydantic_field + tests/unittest_brain.py::SixBrainTest::test_from_imports + tests/unittest_regrtest.py::NonRegressionTests::test_numpy_distutils + # some problem with warnings (our options?) + tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg + tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args + tests/unittest_scoped_nodes.py::test_deprecation_of_doc_attribute + ) + + # Faker causes sys.path_importer_cache keys to be overwritten + # with PosixPaths + epytest -p no:faker +} |