summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-scientificpython/package.py
blob: f28ae0b774272da8dfa08d018100898bfc48a204 (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 PyScientificpython(PythonPackage):
    """ScientificPython is a collection of Python modules for
    scientific computing. It contains support for geometry,
    mathematical functions, statistics, physical units, IO,
    visualization, and parallelization."""

    homepage = "https://sourcesup.renater.fr/projects/scientific-py/"
    url = "https://sourcesup.renater.fr/frs/download.php/file/4411/ScientificPython-2.8.1.tar.gz"

    license("CECILL-C")

    version("2.8.1", sha256="d9ef354736410bbb2e8be33cb7433cf62114307a44e3a96baaa793b58b4b518b")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))