py-unshare: new package (#21817)

This commit is contained in:
Andrew W Elble 2021-02-19 15:59:56 -05:00 committed by GitHub
parent 29d1e1ba87
commit e49383cdc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,17 @@
# Copyright 2013-2021 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)
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')