summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Wójcik <w8jcik@gmail.com>2024-02-18 10:15:42 +0100
committerGitHub <noreply@github.com>2024-02-18 03:15:42 -0600
commit32506e222d69f4383d421255e2b96fe0c5682388 (patch)
tree863d1dd121d793e9ef6c367baacd544070deed37
parenta7d5cc6d68f16f8a945c253d5c8e94c1475b30d4 (diff)
downloadspack-32506e222d69f4383d421255e2b96fe0c5682388.tar.gz
spack-32506e222d69f4383d421255e2b96fe0c5682388.tar.bz2
spack-32506e222d69f4383d421255e2b96fe0c5682388.tar.xz
spack-32506e222d69f4383d421255e2b96fe0c5682388.zip
py-sysrsync: add new package (#42492)
* py-sysrsync: add new package * py-sysrsync: specify dependency type * py-sysrsync: add constraint for Python
-rw-r--r--var/spack/repos/builtin/packages/py-sysrsync/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sysrsync/package.py b/var/spack/repos/builtin/packages/py-sysrsync/package.py
new file mode 100644
index 0000000000..7598426b5f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sysrsync/package.py
@@ -0,0 +1,23 @@
+# 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 PySysrsync(PythonPackage):
+ """Python module that wraps system calls to rsync."""
+
+ pypi = "sysrsync/sysrsync-1.1.1.tar.gz"
+
+ license("MIT")
+
+ version("1.1.1", sha256="435f9eb620e68ffb18ca5cbad32b113396a432361c7722038eab65c97dd83bd5")
+
+ depends_on("py-toml@0.10.0:0.10", type=("build", "run"))
+ depends_on("rsync", type="run")
+
+ depends_on("python@:3", type=("build", "run"))
+ depends_on("py-setuptools", type="build")