summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-backports-os/package.py
blob: 0c272206343e4a46ce4dac559765a41aae2f2287 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2024 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 PyBackportsOs(PythonPackage):
    """Backport of new features in Python's os module"""

    homepage = "https://github.com/pjdelport/backports.os"
    pypi = "backports.os/backports.os-0.1.1.tar.gz"

    license("PSF-2.0")

    version("0.1.1", sha256="b472c4933094306ca08ec90b2a8cbb50c34f1fb2767775169a1c1650b7b74630")

    depends_on("py-setuptools", type="build")
    depends_on("py-setuptools-scm", type="build")