diff options
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 } |