summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-requests-ftp/package.py
blob: 3b4081d5d80c6386f03471f0037a78a01dea0a34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyRequestsFtp(PythonPackage):
    """FTP Transport Adapter for Requests.."""

    homepage = "https://github.com/Lukasa/requests-ftp"
    pypi = "requests-ftp/requests-ftp-0.3.1.tar.gz"

    license("Apache-2.0")

    version("0.3.1", sha256="7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a")

    depends_on("py-setuptools", type="build")
    depends_on("py-requests", type=("build", "run"))