summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-unshare/package.py
blob: e9276f99789b583c99b6bf103edcb89037b9ca51 (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 PyUnshare(PythonPackage):
    """Python extension for Linux kernel's unshare syscall."""

    homepage = "https://github.com/shubham1172/unshare"
    pypi = "unshare/unshare-0.22.tar.gz"

    version("0.22", sha256="d521d72cca6e876f22cbd5ff5eb51f1beef75e8f9c53b599b55fa05fba1dd3a6")

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

    conflicts("platform=darwin", msg="unshare is linux-only")