summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-07 16:24:11 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-07 16:59:45 +0100
commit85f99873f5526ac98cfc90960130259989ecd607 (patch)
tree52bcdcca5477beaab1f49cd7e631f43ee92215d7 /dev-python/qiskit-terra
parentdev-python/qiskit-terra: Remove old (diff)
downloadgentoo-85f99873f5526ac98cfc90960130259989ecd607.tar.gz
gentoo-85f99873f5526ac98cfc90960130259989ecd607.tar.bz2
gentoo-85f99873f5526ac98cfc90960130259989ecd607.zip
dev-python/qiskit-terra: Fix install_requires for rustworkx
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/qiskit-terra')
-rw-r--r--dev-python/qiskit-terra/qiskit-terra-0.22.3-r1.ebuild (renamed from dev-python/qiskit-terra/qiskit-terra-0.22.3.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/qiskit-terra/qiskit-terra-0.22.3.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.22.3-r1.ebuild
index f014fae8ba47..b9c4cacc1c16 100644
--- a/dev-python/qiskit-terra/qiskit-terra-0.22.3.ebuild
+++ b/dev-python/qiskit-terra/qiskit-terra-0.22.3-r1.ebuild
@@ -141,7 +141,8 @@ QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so"
distutils_enable_tests pytest
src_prepare() {
- find -name '*.py' -exec sed -i -e 's:retworkx:rustworkx:' {} + || die
+ find '(' -name '*.py' -o -name 'requirements.txt' ')' \
+ -exec sed -i -e 's:retworkx:rustworkx:' {} + || die
distutils-r1_src_prepare
}