py-sysrsync: add new package (#42492)
* py-sysrsync: add new package * py-sysrsync: specify dependency type * py-sysrsync: add constraint for Python
This commit is contained in:
parent
a7d5cc6d68
commit
32506e222d
1 changed files with 23 additions and 0 deletions
23
var/spack/repos/builtin/packages/py-sysrsync/package.py
Normal file
23
var/spack/repos/builtin/packages/py-sysrsync/package.py
Normal file
|
@ -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")
|
Loading…
Reference in a new issue