summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pydatalog/package.py
blob: 81f75c9bc79f81d1a91b32d0d23d91784ff98360 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyPydatalog(PythonPackage):
    """pyDatalog adds logic programming to Python."""

    pypi = "pyDatalog/pyDatalog-0.17.1.zip"

    license("LGPL-2.1-or-later")

    version("0.17.1", sha256="b3d9cff0b9431e0fd0b2d5eefe4414c3d3c20bd18fdd7d1b42b2f01f25bac808")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")