diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 13 insertions, 17 deletions
@@ -1,7 +1,7 @@ # Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com> _pkgname=qiskit pkgname=python-${_pkgname} -pkgver=0.46.0 +pkgver=1.0.0 pkgrel=1 epoch=1 pkgdesc="An open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives" @@ -15,8 +15,6 @@ depends=( 'python-dateutil' 'python-dill' 'python-numpy' - 'python-ply' - 'python-psutil' 'python-rustworkx' 'python-scipy' 'python-stevedore' @@ -24,25 +22,23 @@ depends=( 'python-sympy' ) optdepends=( + 'ipython: interactivity' + 'python-constraint: support for handling CSPs (Constraint Solving Problems)' + 'python-cvxpy: convex optimization problems' + 'python-matplotlib: plotting support' + 'python-pillow: image support' + "python-pydot: Graphviz's Dot support" + "python-pylatexenc: LaTeX support'emoji selector" 'python-qiskit-aer: high performance simulator for quantum circuits' 'python-qiskit-experiments: tools for building, running, and analysis of experiments on noisy quantum computers' 'python-qiskit-finance: stock/securities problems, portfolio optimizations and finance experiments' 'python-qiskit-machine-learning: sample datasets and quantum classification algorithms' 'python-qiskit-nature: ground state energy computations, excited states and dipole moments of molecules' 'python-qiskit-optimization: quantum optimization algorithms' - 'cplex: commercial solver for mathematical optimization problems' - 'python-constraint: support for handling CSPs (Constraint Solving Problems)' - 'python-docplex: IBM Decision Optimization CPLEX Modeling' - 'python-ipywidgets: IPython HTML widgets for Jupyter' - 'python-matplotlib: plotting support' - 'python-pillow: image support' - "python-pydot: Graphviz's Dot support" - 'python-pygments: syntax highlighter' - 'python-pylatexenc: LaTeX support' 'python-qiskit-qasm3-import: import OpenQASM 3 files' - 'python-qiskit-toqm: Time-Optimal Qubit Mapping (TOQM) transpiler support' + 'python-scikit-learn: machine learning and data mining' 'python-seaborn: statistical data visualization' - 'python-tweedledum: synthesizing and manipulating quantum circuits' + 'python-z3-solver: theorem prover' ) makedepends=( 'python-build' @@ -60,7 +56,7 @@ makedepends=( # 'python-pytest-xdist' #) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz") -b2sums=('35bb88f5d43582145a72945b0633665fb962ab27bde35ec7e290823cef41ae93bb4e0155728186d3eb9dfdb419efe014c127fcef12b69d93d259cba83ed3e57f') +b2sums=('3e5903ef439e27770b24efe8a5dd7adafdee28d894a77255cae8a76f43d09e847d4f8da0face242eebc8f479beef846c00527a6e285f588271f07e91f89871d2') build() { cd "${_pkgname}-${pkgver}" @@ -68,12 +64,12 @@ build() { } #check() { -# local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])") +# local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))') # cd "${_pkgname}-${pkgver}" # python -m installer --destdir=test_dir dist/*.whl # # Delete qiskit folder so that the installed package is loaded and not the src # rm -rf qiskit -# PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH" pytest -v -k 'not test_examples' test/python +# PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest -v -k 'not test_examples' test/python #} package() { |