summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-npx/package.py
blob: 96d6a7bd7b27d2b9b5ea17d5e4f966d70f86a39e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyNpx(PythonPackage):
    """Some useful extensions for NumPy"""

    homepage = "https://github.com/nschloe/npx"
    pypi = "npx/npx-0.1.0.tar.gz"

    version("0.1.0", sha256="3edec9508326b6724d7c176dbcba2098508788241b8a671aab583d0c72b2f05b")

    depends_on("python@3.7:", type=("build", "run"))
    depends_on("py-flit-core@3.2:3", type="build")
    depends_on("py-numpy@1.20.0:", type=("build", "run"))