
* [py-singledispatchmethod] new package * [py-singledispatchmethod] added missing dependency * new package required for qiskit * [py-rustworkx] - removed redundant dependency on py-wheel - added dependency on py-numpy * [py-websocket-client] added version 1.5.1 * modified it is ahead of upstream * [py-qiskit-terra] - flake8 - removed duplicate dependencies - fixed acceptable range for py-symengine * [py-qiskit-terra] tweedledum no longer needed * [py-qiskit-terra] depends on py-singledispatchmethod * [py-qiskit-ibm-provider] new package --------- Co-authored-by: Sid Pendelberry <sid@rit.edu>
27 lines
1.2 KiB
Python
27 lines
1.2 KiB
Python
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class PyRustworkx(PythonPackage):
|
|
"""Rustworkx was originally called retworkx and was was created initially to
|
|
be a replacement for qiskit's previous (and current) networkx usage (hence
|
|
the original name). The project was originally started to build a faster
|
|
directed graph to use as the underlying data structure for the DAG at the
|
|
center of qiskit-terra's transpiler. However, since it's initial
|
|
introduction the project has grown substantially and now covers all
|
|
applications that need to work with graphs which includes Qiskit."""
|
|
|
|
homepage = "https://github.com/Qiskit/rustworkx"
|
|
pypi = "rustworkx/rustworkx-0.12.1.tar.gz"
|
|
|
|
version("0.12.1", sha256="13a19a2f64dff086b3bffffb294c4630100ecbc13634b4995d9d36a481ae130e")
|
|
|
|
depends_on("python@3.7:", type=("build", "run"))
|
|
depends_on("py-setuptools", type="build")
|
|
depends_on("py-setuptools-rust", type="build")
|
|
depends_on("py-numpy@1.16:", type=("build", "run"))
|