diff options
author | 2023-01-31 21:09:09 +0200 | |
---|---|---|
committer | 2023-01-31 21:09:53 +0200 | |
commit | 14a9200712e826cddf4d66b69d73f98e14fc01de (patch) | |
tree | 366045b8d7605d0976e37f73e9386cd66eff03ab /dev-python/astroid | |
parent | dev-python/openpyxl: add 3.1.0 (diff) | |
download | gentoo-14a9200712e826cddf4d66b69d73f98e14fc01de.tar.gz gentoo-14a9200712e826cddf4d66b69d73f98e14fc01de.tar.bz2 gentoo-14a9200712e826cddf4d66b69d73f98e14fc01de.zip |
dev-python/astroid: add 2.13.4
Signed-off-by: Arthur Zamarin <arthurzam@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.4.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 985ad7751789..78db6ac31236 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -3,3 +3,4 @@ DIST astroid-2.12.14.gh.tar.gz 440473 BLAKE2B 5b3d55664676b806af73208a2fcbbea2ee DIST astroid-2.13.1.gh.tar.gz 449003 BLAKE2B 1630cb4cbdea3544942863c58681ba1d5de81bb5d5e49f58bb498d689ab4ad4533bee169eecd6796ad5a62282c8c1f2dc69c7b59b684d1758e0e6e9f8c0f0298 SHA512 703540b1b5ec65d04e56b349cdd82b59672749e58d10e546cba0600ad65a02d05195400379c5534e8b9142b368974d1e18526c86c5ac3b6e2d3dc8db95d7fec7 DIST astroid-2.13.2.gh.tar.gz 449022 BLAKE2B c8180057edef860fae6697b40d6b023b5be9305f0726b85127035a7ed874005da25b265e49a11a985724034c7a2af177b1c5b9850afaccc5787c5db70e4cd73c SHA512 64635e251fd01ef0ac6681db5750230f9acfc2b502818b7c9c0a480dddc78a03a5e5fa920618331b5c1d84c31551f16de7c4c5ba8052dd96d4974edb25449761 DIST astroid-2.13.3.gh.tar.gz 450379 BLAKE2B 3381532fa993d801549ef6ee962c6b233042cd35831704f47882c1de0f1eb7ee026f99852adefb0df554f962f048da4032d59c3b4f9dadba032c67f8dbce652a SHA512 61665b1d321104b6a217fff4e6d7bd59f418afe485fdf1acde0157ff49ef000154436ca7b10f21ae475467b06fc2340806f079ab5a6ee7a4bad9976d8a5aeea0 +DIST astroid-2.13.4.gh.tar.gz 451032 BLAKE2B 5f495685a6ee5d601b47ea8c8206bfafc274cc45dcc9e1004a268e1972bacb10b0ae60a0dd600056139e88b2b652a797c2df14fa60a25e2921f2ee20050165d9 SHA512 ca47c217f85ae5f54b047bfef2a8727a2fd2ca410ba2592b224439cd008619d82c12789b6b75ea902cbdbe0d26f2df02c3aff5637f4c344eff135d76325161a8 diff --git a/dev-python/astroid/astroid-2.13.4.ebuild b/dev-python/astroid/astroid-2.13.4.ebuild new file mode 100644 index 000000000000..2ba3e7d4abba --- /dev/null +++ b/dev-python/astroid/astroid-2.13.4.ebuild @@ -0,0 +1,63 @@ +# 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_{9..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}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.{8..10}) + <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 +} |