blob: 54df364f70af6e5fee0ee32cf5a96f55ae15ab7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# 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 PyRetworkx(PythonPackage):
"""A high performance Python graph library implemented in Rust."""
homepage = "https://github.com/Qiskit/retworkx"
pypi = "retworkx/retworkx-0.5.0.tar.gz"
license("Apache-2.0")
version("0.11.0", sha256="a4c2a5ad3f8402493d41ad20ad91a03777ea214a3636c290272bbfaf36161161")
version("0.10.2", sha256="ba81cb527de7ff338575905bb6fcbebdf2ab18ae800169a77ab863f855bf0951")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-setuptools-rust", type="build")
depends_on("py-numpy@1.16.0:", type=("build", "run"))
|