dev-python/qiskit-aer: Remove last-rited pkg

Closes: https://bugs.gentoo.org/858131
Closes: https://bugs.gentoo.org/897758
Closes: https://bugs.gentoo.org/913219
Closes: https://bugs.gentoo.org/966712
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2026-03-25 17:10:55 +01:00
parent 47d800730f
commit 6b2e8e185c
5 changed files with 0 additions and 138 deletions
-1
View File
@@ -1 +0,0 @@
DIST qiskit-aer-0.17.2.gh.tar.gz 7139176 BLAKE2B 49dafc4cba948b7e3d474b0b8c73075cc5135a7c8559eebc2c0d5578c19868b4dc0a1dd4e6ab199f67a3996eb35ea11c9e0d8da9d49835bd2d7119774f64d954 SHA512 b4ea7bf26ecceaa2d7f3d0ef14d6a482355e397ff904f49eecd38a4602fbc6bc6d2b692e8469d1124fa3fbcea7d0055bd8df34d2b926f2472ce3eec3253d7523
@@ -1,11 +0,0 @@
diff '--color=auto' -dupr qiskit-aer-0.17.2.orig/CMakeLists.txt qiskit-aer-0.17.2/CMakeLists.txt
--- qiskit-aer-0.17.2.orig/CMakeLists.txt 2025-09-19 15:18:04.608064418 +0200
+++ qiskit-aer-0.17.2/CMakeLists.txt 2025-09-19 15:18:09.888931812 +0200
@@ -236,6 +236,7 @@ else()
if(NOT BLA_VENDOR)
set(BLA_VENDOR "OpenBLAS")
endif()
+ set(BLA_PKGCONFIG_BLAS "openblas")
endif()
if(WIN32 AND USE_BUNDLED_BLAS_WIN)
message(STATUS "Uncompressing OpenBLAS static library...")
-29
View File
@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- comaintainers-welcomed -->
<maintainer type="person" proxied="yes">
<email>gaboroszkar@protonmail.com</email>
<name>Gábor Oszkár Dénes</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription>
Qiskit is an open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms.
Qiskit is made up of elements that each work together to enable quantum computing. This element is Aer, which provides high-performance quantum computing simulators with realistic noise models.
</longdescription>
<upstream>
<remote-id type="github">Qiskit/qiskit-aer</remote-id>
<remote-id type="pypi">qiskit-aer</remote-id>
</upstream>
</pkgmetadata>
@@ -1,96 +0,0 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1
DESCRIPTION="High performance simulator for quantum circuits that includes noise models"
HOMEPAGE="
https://github.com/Qiskit/qiskit-aer/
https://pypi.org/project/qiskit-aer/
"
SRC_URI="
https://github.com/Qiskit/qiskit-aer/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
# qiskit-aer requires slamch_ that is provided by openblas or flexiblas
# but not sci-libs/lapack. Link with openblas for now.
# <nlohmann_json-3.10.3 for https://github.com/Qiskit/qiskit-aer/issues/1742
DEPEND="
>=dev-python/numpy-1.16.3[${PYTHON_USEDEP}]
<dev-cpp/nlohmann_json-3.10.3
>=dev-cpp/nlohmann_json-3.1.1
>=dev-libs/spdlog-1.9.2:=
>=dev-cpp/muParserX-4.0.8
sci-libs/openblas
"
RDEPEND="
${DEPEND}
>=dev-python/psutil-5[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/qiskit-1.1.0[${PYTHON_USEDEP}]
>=dev-python/scipy-1.0[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-build/cmake-3.17
>=dev-python/scikit-build-0.11.0[${PYTHON_USEDEP}]
>=dev-python/pybind11-2.6[${PYTHON_USEDEP}]
test? (
dev-python/ddt[${PYTHON_USEDEP}]
dev-python/fixtures[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
PATCHES=(
# workaround intrusive and harmful Gentoo patching to CMake
# https://bugs.gentoo.org/736547
"${FILESDIR}/qiskit-aer-0.17.2-workaround-gentoo-cmake.patch"
)
src_configure() {
export DISABLE_CONAN="ON"
export DISABLE_DEPENDENCY_INSTALL="ON"
export SKBUILD_CONFIGURE_OPTIONS="-DTEST_JSON=1"
}
python_test() {
local EPYTEST_DESELECT=(
# requires qiskit_qasm3_import
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_1___automatic____CPU__
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_2___statevector____CPU__
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_3___matrix_product_state____CPU__
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_4___extended_stabilizer____CPU__
)
local EPYTEST_IGNORE=(
# TODO: qiskit.providers.aer? wtf?
test/terra/expression/test_classical_expressions.py
)
# From tox.ini/tests.yml in CI
# Needed to suppress a warning in jupyter-core 5.x by eagerly migrating to
# a new internal interface that will be the default in jupyter-core 6.x.
# This variable should become redundant on release of jupyter-core 6.
local -x JUPYTER_PLATFORM_DIRS=1
rm -rf qiskit_aer || die
epytest -s
}
pkg_postinst() {
check_openblas
}
-1
View File
@@ -309,7 +309,6 @@ net-mail/mailbox-count
# efforts. This package will only be allowed back in ::gentoo after a sustained
# demonstration of maintenance dedication. Removal on 2026-03-16. Bug #966712.
dev-python/qiskit
dev-python/qiskit-aer
# Andreas Sturmlechner <asturm@gentoo.org> (2026-02-12)
# Misc Qt5-based libraries without any revdeps left.