summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-session-info/package.py
blob: 47f35605a94c6bc071e2b4cd32b1767eb654484e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PySessionInfo(PythonPackage):
    """session_info outputs version information for modules
    loaded in the current session, Python, and the OS."""

    homepage = "https://gitlab.com/joelostblom/session_info"
    pypi = "session_info/session_info-1.0.0.tar.gz"

    version("1.0.0", sha256="3cda5e03cca703f32ae2eadbd6bd80b6c21442cfb60e412c21cb8ad6d5cbb6b7")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-stdlib-list", type=("build", "run"))