From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 86D6F1580E0 for ; Sat, 31 May 2025 18:37:00 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7487E3430BE for ; Sat, 31 May 2025 18:37:00 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7E0DF1104A7; Sat, 31 May 2025 18:36:45 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 7237C1104A5 for ; Sat, 31 May 2025 18:36:45 +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 316AF343008 for ; Sat, 31 May 2025 18:36:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D810628FB for ; Sat, 31 May 2025 18:36:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1748716562.1a7c213d8b26314af4d4f22f0909aee06ca5f266.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cmd2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cmd2/cmd2-2.6.0.ebuild X-VCS-Directories: dev-python/cmd2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1a7c213d8b26314af4d4f22f0909aee06ca5f266 X-VCS-Branch: master Date: Sat, 31 May 2025 18:36:42 +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: 91d835f9-ed26-4e8b-8ac1-4eaf8f9e24f2 X-Archives-Hash: c35cecaf7ac0a9b07e64264fce716ca3 commit: 1a7c213d8b26314af4d4f22f0909aee06ca5f266 Author: Sam James gentoo org> AuthorDate: Sat May 31 18:28:56 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 31 18:36:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7c213d dev-python/cmd2: add IPython optfeature Signed-off-by: Sam James gentoo.org> dev-python/cmd2/cmd2-2.6.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/cmd2/cmd2-2.6.0.ebuild b/dev-python/cmd2/cmd2-2.6.0.ebuild index e276baa39045..47fc9c2b609e 100644 --- a/dev-python/cmd2/cmd2-2.6.0.ebuild +++ b/dev-python/cmd2/cmd2-2.6.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..14} ) -inherit distutils-r1 virtualx pypi +inherit distutils-r1 optfeature virtualx pypi DESCRIPTION="Extra features for standard library's cmd module" HOMEPAGE=" @@ -52,3 +52,7 @@ python_test() { # TODO: tests_isolated? epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests || die } + +pkg_postinst() { + optfeature "IPython shell integration" dev-python/ipython +}