From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CFC115ACFB for ; Mon, 17 Apr 2023 05:41:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47F51E0931; Mon, 17 Apr 2023 05:41:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C8C9E0931 for ; Mon, 17 Apr 2023 05:41:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 102FC340CF8 for ; Mon, 17 Apr 2023 05:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44D90A39 for ; Mon, 17 Apr 2023 05:41:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1681709236.ab61f3e47fa9a2a652c807361404e44a599096c6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astroid/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/astroid/Manifest dev-python/astroid/astroid-2.15.3.ebuild X-VCS-Directories: dev-python/astroid/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ab61f3e47fa9a2a652c807361404e44a599096c6 X-VCS-Branch: master Date: Mon, 17 Apr 2023 05:41:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 679a2712-6e5f-4414-996d-afb82b8b1cc2 X-Archives-Hash: b4ad04cbde0cf447706596d8e2b5bf73 commit: ab61f3e47fa9a2a652c807361404e44a599096c6 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 17 05:27:16 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Apr 17 05:27:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab61f3e4 dev-python/astroid: Bump to 2.15.3 Signed-off-by: Michał Górny gentoo.org> dev-python/astroid/Manifest | 1 + dev-python/astroid/astroid-2.15.3.ebuild | 63 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 04ec21a09a31..8ad285f5eb28 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,2 +1,3 @@ DIST astroid-2.15.1.gh.tar.gz 460960 BLAKE2B ec08cc53027323a70291adc888b3621dc139783e6f72859eac05a2c6da0150cc5d19dc6a7278b6a846f985cf44c7d868df1ba11d0c6e3b7a5d3c71a38603743e SHA512 26f85aff9de08d4b413c40951f2aefd2c19304c077b502774b253e3fcced42173bc7e996fac82b3462c6915625ff48fd80dd1ab5e3425aefa103347f821f7df4 DIST astroid-2.15.2.gh.tar.gz 461132 BLAKE2B 1e4d5fa174c7893743ebe9a17b28bdee68fefd35a69802358eb4448402a00622ec56a7ba18a8cdae8cafd9e75bbee9cd18f39bbb44fbcc061c893fc24e308376 SHA512 aea2a55780f81893d8dad4acb572883017e3d6270d48a8f0d3b4520279bc4d79e9d04192479d5aad453ab7bda6d29edf1f56c92d86c04a8ef07bd4561bf908c4 +DIST astroid-2.15.3.gh.tar.gz 461474 BLAKE2B 3631d5d3c591dcf4a7aef0b78a5dea4b7dba90c6c11297fd9a60aefbad7c7a3b8c1dee1adc634991292a6650ad02f4408f8aee15fa0ac67fca4279d86b96f963 SHA512 622a33c6ca278c1036d8f3c7de36d474c8697dd47593ebc6d4987600b779e3901ff7a2ad6d621396bf54ed394a4ea8704dd226d97021b40fd7641756b9b2f975 diff --git a/dev-python/astroid/astroid-2.15.3.ebuild b/dev-python/astroid/astroid-2.15.3.ebuild new file mode 100644 index 000000000000..39fa50857923 --- /dev/null +++ b/dev-python/astroid/astroid-2.15.3.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/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 +" + +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}] + ' 3.9 3.10) +" +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_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + tests/brain/test_regex.py::TestRegexBrain::test_regex_pattern_and_match_subscriptable + # some problem with warnings (our options?) + tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg + tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args + tests/test_scoped_nodes.py::test_deprecation_of_doc_attribute + # requires six bundled in urllib3, sigh + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + ) + + # Faker causes sys.path_importer_cache keys to be overwritten + # with PosixPaths + epytest -p no:faker +}