summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Wójcik <w8jcik@gmail.com>2024-02-13 17:49:14 +0100
committerGitHub <noreply@github.com>2024-02-13 09:49:14 -0700
commit0664a2cdb2b41c2b5573f943f69d4f0088322ba2 (patch)
tree41a99b388c3607a6e2fa38621cf9a4a20fcab9d4
parentfc38fe1c69d828ca08d13eb9c11975b169682b89 (diff)
downloadspack-0664a2cdb2b41c2b5573f943f69d4f0088322ba2.tar.gz
spack-0664a2cdb2b41c2b5573f943f69d4f0088322ba2.tar.bz2
spack-0664a2cdb2b41c2b5573f943f69d4f0088322ba2.tar.xz
spack-0664a2cdb2b41c2b5573f943f69d4f0088322ba2.zip
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>
-rw-r--r--var/spack/repos/builtin/packages/py-pysftp/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pysftp/package.py b/var/spack/repos/builtin/packages/py-pysftp/package.py
new file mode 100644
index 0000000000..8fe4107743
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pysftp/package.py
@@ -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")