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 BA599158092 for ; Fri, 10 Jun 2022 12:44:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2235E092E; Fri, 10 Jun 2022 12:44:40 +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 C061FE092E for ; Fri, 10 Jun 2022 12:44:40 +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 9D9793417DD for ; Fri, 10 Jun 2022 12:44:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29077D3 for ; Fri, 10 Jun 2022 12:44:38 +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: <1654865073.6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ipython/ipython-8.2.0.ebuild dev-python/ipython/ipython-8.3.0-r1.ebuild dev-python/ipython/ipython-8.4.0.ebuild X-VCS-Directories: dev-python/ipython/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4 X-VCS-Branch: master Date: Fri, 10 Jun 2022 12:44:38 +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: 35d4521d-92e3-4c8c-b85f-c063d499c4a7 X-Archives-Hash: 20de4cea868b1942f57ed7d4511fecb6 commit: 6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 10 12:43:12 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 10 12:44:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb2dbd0 dev-python/ipython: Force legacy setuptools backend Closes: https://bugs.gentoo.org/850916 Signed-off-by: Michał Górny gentoo.org> dev-python/ipython/ipython-8.2.0.ebuild | 4 ++++ dev-python/ipython/ipython-8.3.0-r1.ebuild | 4 ++++ dev-python/ipython/ipython-8.4.0.ebuild | 8 ++++++++ 3 files changed, 16 insertions(+) diff --git a/dev-python/ipython/ipython-8.2.0.ebuild b/dev-python/ipython/ipython-8.2.0.ebuild index 4d3f9a00ccde..91060ec26912 100644 --- a/dev-python/ipython/ipython-8.2.0.ebuild +++ b/dev-python/ipython/ipython-8.2.0.ebuild @@ -91,6 +91,10 @@ python_prepare_all() { # https://github.com/ipython/ipython/issues/12892 mv IPython/extensions/{,ipython_}tests || die + # remove pyproject.toml that specifies incorrect backend; since + # the package actually requires the legacy backend, force it implicitly + rm pyproject.toml || die + distutils-r1_python_prepare_all } diff --git a/dev-python/ipython/ipython-8.3.0-r1.ebuild b/dev-python/ipython/ipython-8.3.0-r1.ebuild index aaa7a7ae63a3..3a38a26f8d7a 100644 --- a/dev-python/ipython/ipython-8.3.0-r1.ebuild +++ b/dev-python/ipython/ipython-8.3.0-r1.ebuild @@ -89,6 +89,10 @@ python_prepare_all() { # https://github.com/ipython/ipython/issues/12892 mv IPython/extensions/{,ipython_}tests || die + # remove pyproject.toml that specifies incorrect backend; since + # the package actually requires the legacy backend, force it implicitly + rm pyproject.toml || die + distutils-r1_python_prepare_all } diff --git a/dev-python/ipython/ipython-8.4.0.ebuild b/dev-python/ipython/ipython-8.4.0.ebuild index bf72d46c9cb2..867a05be8b5c 100644 --- a/dev-python/ipython/ipython-8.4.0.ebuild +++ b/dev-python/ipython/ipython-8.4.0.ebuild @@ -89,6 +89,14 @@ python_prepare_all() { # https://github.com/ipython/ipython/issues/12892 mv IPython/extensions/{,ipython_}tests || die + if ! grep -q __legacy__ pyproject.toml; then + die "pyproject.toml changed, please recheck" + fi + + # remove pyproject.toml that specifies incorrect backend; since + # the package actually requires the legacy backend, force it implicitly + rm pyproject.toml || die + distutils-r1_python_prepare_all }