py-requests-ftp: add new package (#24975)

This commit is contained in:
Manuela Kuhn 2021-07-21 15:30:50 +02:00 committed by GitHub
parent 8a038ef64c
commit 1cf52de47a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# 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)
from spack import *
class PyRequestsFtp(PythonPackage):
"""FTP Transport Adapter for Requests.."""
homepage = "https://github.com/Lukasa/requests-ftp"
pypi = "requests-ftp/requests-ftp-0.3.1.tar.gz"
version('0.3.1', sha256='7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a')
depends_on('py-setuptools', type='build')
depends_on('py-requests', type=('build', 'run'))