py-pysftp: add new package (#42525)

* py-pysftp: add new package

* py-pysftp: correct version

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Maciej Wójcik 2024-02-13 17:49:14 +01:00 committed by GitHub
parent fc38fe1c69
commit 0664a2cdb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,18 @@
# 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 PyPysftp(PythonPackage):
"""A simple interface to SFTP."""
pypi = "pysftp/pysftp-0.2.9.tar.gz"
version("0.2.9", sha256="fbf55a802e74d663673400acd92d5373c1c7ee94d765b428d9f977567ac4854a")
depends_on("py-paramiko@1.17:", type=("build", "run"))
depends_on("py-setuptools", type="build")