dev-python/astroid: re-add missing version (from main repo)

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-12 20:36:45 +01:00 committed by Andreas Billmeier
parent be8adadba2
commit c967319603
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 67 additions and 4 deletions

View File

@ -1,3 +1,5 @@
DIST astroid-2.12.5.gh.tar.gz 433873 BLAKE2B ec6c63ddfe7a7fe4b0137e554383c04034d9eea292346f07e5545ef97628b9f550821d1a7445d21f6cfc52f4d89fcf05c5019773bcb19af347b18ec89e656b93 SHA512 8da09439a3be121f91eddeb10d53b93261ab42320e1a9ee9afa5277676045439c03bb028ea3c68e53cc1837dd634c1e9392e4edec37742811fd5731c88e404b0
EBUILD astroid-2.12.5.ebuild 1749 BLAKE2B 41b256ac88331b6be9c1472c5c7a7a95bb233d184d44831139a36152d17b8333054d4ce6f4d530125282e50dda2feaa04a054c97a5d7d92c0b3fa8bec9626fac SHA512 9e928e302fd63da916138706cdd1fdae5411e806aadd9826fbe51fddf3d6ff68a55f1498e74c6a427eac5abaee8d3a42956c52d7c1a454d50e537322c6ac46d3
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
EBUILD astroid-2.12.13.ebuild 1816 BLAKE2B ce206d61643b29dd8a058c366dcc3e59d0ea601dd19ae648534ea6af12be767fcdafe9afe9716690fe690fcfc38022ae9c70676df0b1dbd4a215f47c668ff302 SHA512 d146d1cbdbee02dc1ce3a960328c6ab815c8686688a0848b3cfe25db303338cccdbd01c789d118bc3ad316f6e403cc0c43999c1fb0b0cbeb39e58ac35a84085c
EBUILD astroid-2.12.14.ebuild 1750 BLAKE2B 23aaf4bdd1f0031bf866a6229e1687148d94ecfa2779a1a54ef0f536ccd535b48d440e4d922010df2237f1b527b97f8a0339fda1b4abf2503a451d55d6994c01 SHA512 a250131ba2033e7158bb027ea0cc940312b10bd53fbadc87c3c1b1a9a85800a18435faa80b4d52391232131e381da9f8c4aa2972ef52e68fa2663defde1daf0a
MISC metadata.xml 527 BLAKE2B c0cbbfe8dcf2241098521b9898ea8ab864b81d7dde74a799b5f429d4cd57518cf9726b1e3a53083a95a2dbf3fcbef831edf38f5510b26b23e16d92e3bf1ce5a8 SHA512 1be7fac7562fccdf2a63b5d590fed379b665d9348c11a20fa22212989368a59dbb93345e66792299b7b421c10b6d8190a1963e3acb8913116e5192a4acba9008

View File

@ -0,0 +1,60 @@
# 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}]
>=dev-python/typing-extensions-3.10[${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 it's broken
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
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -11,7 +11,8 @@ inherit distutils-r1
DESCRIPTION="Abstract Syntax Tree for logilab packages"
HOMEPAGE="
https://github.com/PyCQA/astroid/
https://pypi.org/project/astroid/"
https://pypi.org/project/astroid/
"
SRC_URI="
https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz