summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-dulwich/package.py
blob: d1af3b63e8aa56d9979415ad595c847da4c18b3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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 PyDulwich(PythonPackage):
    """Dulwich aims to provide an interface to Git repos
    (both local and remote) that doesn't call out to Git
    directory, but instead uses pure Python."""

    homepage = "https://www.dulwich.io"
    pypi = "dulwich/dulwich-0.20.15.tar.gz"

    version("0.20.21", sha256="ac764c9a9b80fa61afe3404d5270c5060aa57f7f087b11a95395d3b76f3b71fd")
    version("0.20.15", sha256="fb1773373ec2af896031f8312af6962a1b8b0176a2de3fb3d84a84ec04498888")
    version("0.20.14", sha256="21d6ee82708f7c67ce3fdcaf1f1407e524f7f4f7411a410a972faa2176baec0d")

    depends_on("python@3.5.0:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-certifi", type=("build", "run"))
    depends_on("py-urllib3@1.24.1:", type=("build", "run"))