summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-26 00:21:38 +0000
committerSam James <sam@gentoo.org>2023-02-26 00:29:57 +0000
commit583323d3b120acedb7843f4cc052c5858cd8cb35 (patch)
tree8ddcef4795208479eeb859c1d4b690900b782efb /dev-python/qiskit-terra
parentdev-python/seaborn: add 0.12.2 (diff)
downloadgentoo-583323d3b120acedb7843f4cc052c5858cd8cb35.tar.gz
gentoo-583323d3b120acedb7843f4cc052c5858cd8cb35.tar.bz2
gentoo-583323d3b120acedb7843f4cc052c5858cd8cb35.zip
dev-python/qiskit-terra: enable py3.11, move tweedledum to optfeature
- Enable Python 3.11 - dev-python/tweedledum is now an optfeature, per upstream changes in 0.23, which works well for us given it doesn't build with Python 3.11 anyway. Bug: https://bugs.gentoo.org/896900 Closes: https://bugs.gentoo.org/896870 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/qiskit-terra')
-rw-r--r--dev-python/qiskit-terra/qiskit-terra-0.23.2-r1.ebuild (renamed from dev-python/qiskit-terra/qiskit-terra-0.23.2.ebuild)9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-python/qiskit-terra/qiskit-terra-0.23.2.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.23.2-r1.ebuild
index 3d1bdc2d0aba..c3eb8a31ec2f 100644
--- a/dev-python/qiskit-terra/qiskit-terra-0.23.2.ebuild
+++ b/dev-python/qiskit-terra/qiskit-terra-0.23.2-r1.ebuild
@@ -77,9 +77,9 @@ CRATES="
"
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
-inherit cargo distutils-r1 multiprocessing
+inherit cargo distutils-r1 multiprocessing optfeature
DESCRIPTION="Terra is the foundation on which Qiskit is built"
HOMEPAGE="
@@ -115,7 +115,6 @@ RDEPEND="
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}]
>=dev-python/symengine-0.8[${PYTHON_USEDEP}]
- >=dev-python/tweedledum-1.1[${PYTHON_USEDEP}]
visualization? (
>=dev-python/matplotlib-3.3[${PYTHON_USEDEP}]
>=dev-python/ipywidgets-7.3.0[${PYTHON_USEDEP}]
@@ -172,3 +171,7 @@ python_test() {
# Note: use -p timeout --timeout 500 if debugging hanging tests.
epytest -p xdist -n "$(makeopts_jobs)" test/python
}
+
+pkg_postinst() {
+ optfeature "qiskit.circuit.classicalfunction support" dev-python/tweedledum
+}