diff options
author | Sam James <sam@gentoo.org> | 2022-11-24 09:20:23 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-24 09:50:25 +0000 |
commit | 3226753bd2cd27677991ba2bf4ec4eb2182f1253 (patch) | |
tree | feb5b9ec6f4121279d596e833ba7a5d9310225d7 /dev-python/qiskit-aer | |
parent | net-fs/samba: Make smbspool_krb5_wrapper accessible to root only (diff) | |
download | gentoo-3226753bd2cd27677991ba2bf4ec4eb2182f1253.tar.gz gentoo-3226753bd2cd27677991ba2bf4ec4eb2182f1253.tar.bz2 gentoo-3226753bd2cd27677991ba2bf4ec4eb2182f1253.zip |
dev-python/qiskit-aer: don't install junk to /usr
scikit-build bug.
Closes: https://bugs.gentoo.org/858128
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/qiskit-aer')
-rw-r--r-- | dev-python/qiskit-aer/qiskit-aer-0.11.1-r1.ebuild (renamed from dev-python/qiskit-aer/qiskit-aer-0.11.1.ebuild) | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/qiskit-aer/qiskit-aer-0.11.1.ebuild b/dev-python/qiskit-aer/qiskit-aer-0.11.1-r1.ebuild index 826271003482..5459774c8dd3 100644 --- a/dev-python/qiskit-aer/qiskit-aer-0.11.1.ebuild +++ b/dev-python/qiskit-aer/qiskit-aer-0.11.1-r1.ebuild @@ -76,6 +76,8 @@ pkg_setup() { python_prepare_all() { export DISABLE_CONAN="ON" export DISABLE_DEPENDENCY_INSTALL="ON" + #export SKBUILD_CONFIGURE_OPTIONS="" + distutils-r1_python_prepare_all } @@ -87,6 +89,17 @@ python_test() { mv qiskit_aer.hidden qiskit_aer || die } +python_install_all() { + distutils-r1_python_install_all + + # Remove bits we don't want installed (bug in scikit-build) + # bug #858128 + # https://github.com/Qiskit/qiskit-aer/issues/1457 + # https://github.com/Qiskit/qiskit-aer/issues/1574 + # https://github.com/scikit-build/scikit-build/issues/590 + rm -r "${ED}"/usr/{CMakeLists.txt,MANIFEST.in,README.md,cmake,contrib,pyproject.toml,src} || die +} + pkg_postinst() { check_openblas } |