summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-requests-ftp/package.py
blob: 5556c467ba41f7bbbf977a33a4d8b64b01f9ffe3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2022 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 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'))