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 4A929158020 for ; Sun, 6 Nov 2022 14:06:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B4BBE0920; Sun, 6 Nov 2022 14:06:33 +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 320A4E0920 for ; Sun, 6 Nov 2022 14:06:33 +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 5845E340AF0 for ; Sun, 6 Nov 2022 14:06:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCB7F6FF for ; Sun, 6 Nov 2022 14:06:30 +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: <1667743587.0030bb528b180f4571a18cec53469a276258327e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qiskit-terra/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qiskit-terra/qiskit-terra-0.22.0-r1.ebuild dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild X-VCS-Directories: dev-python/qiskit-terra/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0030bb528b180f4571a18cec53469a276258327e X-VCS-Branch: master Date: Sun, 6 Nov 2022 14:06:30 +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: d6bf0067-e184-413c-8879-d18846c86584 X-Archives-Hash: bafd46c193c6ca6fc9c2acae8ac82dba commit: 0030bb528b180f4571a18cec53469a276258327e Author: Michał Górny gentoo org> AuthorDate: Sun Nov 6 12:12:39 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 6 14:06:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0030bb52 dev-python/qiskit-terra: Fix rustworkx support Fix qiskit-terra to support rustworkx, the new name of retworkx. Signed-off-by: Michał Górny gentoo.org> .../{qiskit-terra-0.22.0.ebuild => qiskit-terra-0.22.0-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.22.0-r1.ebuild similarity index 97% rename from dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild rename to dev-python/qiskit-terra/qiskit-terra-0.22.0-r1.ebuild index 7a0c507d8577..fd442eceacd3 100644 --- a/dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild +++ b/dev-python/qiskit-terra/qiskit-terra-0.22.0-r1.ebuild @@ -128,6 +128,11 @@ distutils_enable_tests pytest # and an exact comparison of float switched to approximate comparison. #PATCHES=( "${FILESDIR}/qiskit-terra-0.19.2-test-corrections.patch" ) +src_prepare() { + find -name '*.py' -exec sed -i -e 's:retworkx:rustworkx:' {} + || die + distutils-r1_src_prepare +} + python_test() { # We have to hide the source code directory so tests # do not use these, but instead the compiled library.