summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-dnspython/package.py
blob: 5b4dc0761098420507cb2e304101f6d1393563c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyDnspython(PythonPackage):
    """DNS toolkit"""

    homepage = "https://www.dnspython.org"
    pypi = "dnspython/dnspython-2.2.1.tar.gz"

    license("ISC")

    version("2.2.1", sha256="0f7569a4a6ff151958b64304071d370daa3243d15941a7beedf0c9fe5105603e")

    depends_on("python@3.6:3", type=("build", "run"))
    depends_on("py-poetry-core", type="build")