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 823E3158094 for ; Mon, 10 Oct 2022 08:18:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA307E0907; Mon, 10 Oct 2022 08:18:36 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF56FE0907 for ; Mon, 10 Oct 2022 08:18:36 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2D75340FC4 for ; Mon, 10 Oct 2022 08:18:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A9DC60B for ; Mon, 10 Oct 2022 08:18:34 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1665389904.2e91e8ba15964aba3db63b01d9ab9624ee2c84ca.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/executing/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/executing/executing-1.1.1.ebuild X-VCS-Directories: dev-python/executing/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 2e91e8ba15964aba3db63b01d9ab9624ee2c84ca X-VCS-Branch: master Date: Mon, 10 Oct 2022 08:18:34 +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: 4a258819-1c80-4c63-ac72-efffa036737e X-Archives-Hash: 0917f1322efcdc24cceb4bcce0fffe11 commit: 2e91e8ba15964aba3db63b01d9ab9624ee2c84ca Author: Arthur Zamarin gentoo org> AuthorDate: Mon Oct 10 07:56:52 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Oct 10 08:18:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e91e8ba dev-python/executing: add asttokens as optional dep Signed-off-by: Arthur Zamarin gentoo.org> dev-python/executing/executing-1.1.1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/executing/executing-1.1.1.ebuild b/dev-python/executing/executing-1.1.1.ebuild index 26b7519766f7..eb688d352f1f 100644 --- a/dev-python/executing/executing-1.1.1.ebuild +++ b/dev-python/executing/executing-1.1.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..11} ) -inherit distutils-r1 +inherit distutils-r1 optfeature DESCRIPTION="Get information about what a Python frame is currently doing" HOMEPAGE=" @@ -22,7 +22,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -# asttokens is optional runtime dep BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] test? ( @@ -41,3 +40,7 @@ python_test() { "${EPYTHON}" tests/test_main.py || die "Tests failed with ${EPYTHON}" epytest tests/test_pytest.py } + +pkg_postinst() { + optfeature "getting node's source code" dev-python/asttokens +}