summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2021-02-19 15:59:56 -0500
committerGitHub <noreply@github.com>2021-02-19 14:59:56 -0600
commite49383cdc13a7a7560bb4518918174c0266e4223 (patch)
tree2ced977d547338ada0be6cf1e24dbac457e61cd3
parent29d1e1ba87edeee3daea941d11adc67a03fcc1dd (diff)
downloadspack-e49383cdc13a7a7560bb4518918174c0266e4223.tar.gz
spack-e49383cdc13a7a7560bb4518918174c0266e4223.tar.bz2
spack-e49383cdc13a7a7560bb4518918174c0266e4223.tar.xz
spack-e49383cdc13a7a7560bb4518918174c0266e4223.zip
py-unshare: new package (#21817)
-rw-r--r--var/spack/repos/builtin/packages/py-unshare/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-unshare/package.py b/var/spack/repos/builtin/packages/py-unshare/package.py
new file mode 100644
index 0000000000..03a56e53d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-unshare/package.py
@@ -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')