diff options
Diffstat (limited to 'dev-python/astroid')
-rw-r--r-- | dev-python/astroid/Manifest | 2 | ||||
-rw-r--r-- | dev-python/astroid/astroid-2.14.2.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index fdb63cb1067b..138149121fa6 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,7 +1,9 @@ DIST astroid-2.13.2.gh.tar.gz 449022 BLAKE2B c8180057edef860fae6697b40d6b023b5be9305f0726b85127035a7ed874005da25b265e49a11a985724034c7a2af177b1c5b9850afaccc5787c5db70e4cd73c SHA512 64635e251fd01ef0ac6681db5750230f9acfc2b502818b7c9c0a480dddc78a03a5e5fa920618331b5c1d84c31551f16de7c4c5ba8052dd96d4974edb25449761 DIST astroid-2.13.5.gh.tar.gz 451241 BLAKE2B 6994c9a62911ab347be4de17b9322ca9957b274c2a42085b5c521bc4a810ab0c0079fda89203910a1d7151ebad1b07cc446c1fc8e88580051029861cfb3465ae SHA512 87920dfe5a4e3e64b77cbeefcdd1e227dd712230aeb957f78b57a50d215ef0601689df26ac97cec65d7690e89b10e1b8ab8f2976d1a9b1a3e9a971eb2142d9d2 DIST astroid-2.14.1.gh.tar.gz 452889 BLAKE2B f6cee61825d2c86bbf02ba6cc9f48076692d3d71ac2c8a02880a778380b076692aef549ab01829d943323b5829b83ee88009b5136b308da6f81a824fa1f62047 SHA512 47dd132e66645c3da639c68011f4691409af38affa80c5b1863706a864fb8458cdfd100f86929fdaac027a514d285132d8865d2d40996c583077384696a84123 +DIST astroid-2.14.2.gh.tar.gz 453109 BLAKE2B cb4b0795bde841e98712a719ba0870a3f0c616fc777cb3afc1ebbb0f5e49b763241825072d7915df87e778649a5632fec8f48e125cfa67de0b70618e34509157 SHA512 2dad27c0a3ddad5747a021c0700b831fe9f7a557238a2f52d87722c637120d49796a0a8e9e6f27d42ab4bee1c91541b7b5b5fa93dc3ec8a47197f35569a64a3a EBUILD astroid-2.13.2.ebuild 1908 BLAKE2B 34f646e84adf7e1803a37d51e5eab95d1593eb5ca24cc00330ea905aa35a526949797bc681d434ad37695d638aef7f351446704e15d9881532aac92907277754 SHA512 b9cf48804101347b2de9285642e7eccd38dab67f9ecfa4e1281bbcdc3f5f900a92a0f51c89d0a270d6f6f73bc9dc2bc87a1fd5c571a969774881aa8f8edf8cf2 EBUILD astroid-2.13.5.ebuild 1956 BLAKE2B 0c699b09299948b478920e04842f7e8338328355e87f8dd3802d3b8e509e7801a265f2246807b8cc6b2ffc61192e6ba653a1eb96d3285b762de85e439305cdeb SHA512 7a49845c00edab65b2beb5947f30e3058eb78b275aa2b9a1d3130626dd5b809b042170a5dec987a5728d4e07c496a33c3aefbbb9fd90066819435f5079838285 EBUILD astroid-2.14.1.ebuild 1956 BLAKE2B 0c699b09299948b478920e04842f7e8338328355e87f8dd3802d3b8e509e7801a265f2246807b8cc6b2ffc61192e6ba653a1eb96d3285b762de85e439305cdeb SHA512 7a49845c00edab65b2beb5947f30e3058eb78b275aa2b9a1d3130626dd5b809b042170a5dec987a5728d4e07c496a33c3aefbbb9fd90066819435f5079838285 +EBUILD astroid-2.14.2.ebuild 1956 BLAKE2B 0c699b09299948b478920e04842f7e8338328355e87f8dd3802d3b8e509e7801a265f2246807b8cc6b2ffc61192e6ba653a1eb96d3285b762de85e439305cdeb SHA512 7a49845c00edab65b2beb5947f30e3058eb78b275aa2b9a1d3130626dd5b809b042170a5dec987a5728d4e07c496a33c3aefbbb9fd90066819435f5079838285 MISC metadata.xml 1143 BLAKE2B 1f6c4e004277eebed2e29cb935ef01e5f18fb0a526f99f0e875ae3815308dce0483b5274b4e23bed076464aa62a035937a7a3817e2d4a5fb9211b9043271e04c SHA512 56b07d0f08a49772661bc3d233cf1f628aa7c241c51b91d75dfbd44995e169d8ab5bbd99863d7b9b67792486346982a7b8eebefb462e7e212cd7dff920d80840 diff --git a/dev-python/astroid/astroid-2.14.2.ebuild b/dev-python/astroid/astroid-2.14.2.ebuild new file mode 100644 index 000000000000..2ba3e7d4abba --- /dev/null +++ b/dev-python/astroid/astroid-2.14.2.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 +} |