dev-python/executing: Bump to 2.3.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-10-10 22:00:50 +02:00
parent 1aa32e3b5a
commit dec8464ad4
2 changed files with 53 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST executing-2.2.1.tar.gz 1129488 BLAKE2B 92060a941c3da32812475d1c3123d230a929e13042bd43c85494b4d72bee268c360475822aefda1059ce9144f77d1762390412ac61f435201531df30b718e1e6 SHA512 f5d00c47de7133c0d81b45982ec833bcf8ff80902695eadf563b276864c9844b1dd3865be12099a531fa6c872fd8cd2d72c7c6c7b2d601b8675d6758e6b179ae
DIST executing-2.3.0.tar.gz 1338003 BLAKE2B 65d141f89d7314c4fd798dd731a4e9a0e084a6a558aa4f08702ef24663e638c42c8f784994707f0e237ee218f87f6ce4ddc222c6257f7d5664432c977a1a7246 SHA512 e640fadf9c18bd5918516c124c6034488cc276933272d423dca0e69f1ba4a3a2dc866969459503b46dfae69ad30d816136e5f613d8090313f9af8b1ffb06d458
@@ -0,0 +1,52 @@
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_TESTED=( python3_{12..14} )
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Get information about what a Python frame is currently doing"
HOMEPAGE="
https://github.com/alexmojaki/executing/
https://pypi.org/project/executing/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
>=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}]
dev-python/littleutils[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
einfo "Skipping tests on ${EPYTHON}"
return
fi
local EPYTEST_DESELECT=()
if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
tests/test_ipython.py
)
fi
epytest
}
pkg_postinst() {
optfeature "getting node's source code" dev-python/asttokens
}