summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-owlrl/package.py
blob: 65b836c2bc26c131ba6337762d0a750278ced905 (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 PyOwlrl(PythonPackage):
    """A simple implementation of the OWL2 RL Profile, as well as a basic
    RDFS inference, on top of RDFLib. Based mechanical forward chaining.
    """

    homepage = "https://github.com/RDFLib/OWL-RL"
    pypi = "owlrl/owlrl-5.2.3.tar.gz"

    version("6.0.2", sha256="904e3310ff4df15101475776693d2427d1f8244ee9a6a9f9e13c3c57fae90b74")
    version("5.2.3", sha256="b1891d75b2c2fb0db9e1504a9b12dab738ed89236414c51393d1030597004342")

    depends_on("py-setuptools", type="build")
    depends_on("py-rdflib@5.0.0:", when="@5.0:5", type=("build", "run"))
    depends_on("py-rdflib@6.0.2:", when="@6.0:", type=("build", "run"))