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
26
27
28
29
30
31
32
33
34
35
|
# Copyright 2013-2023 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 PyRdflib(PythonPackage):
"""RDFLib is a pure Python package for working with RDF. RDFLib
contains most things you need to work with RDF, including:
parsers and serializers for RDF/XML, N3, NTriples, N-Quads,
Turtle, TriX, Trig and JSON-LD (via a plugin). a Graph interface
which can be backed by any one of a number of Store
implementations store implementations for in-memory storage and
persistent storage on top of the Berkeley DB a SPARQL 1.1
implementation - supporting SPARQL 1.1 Queries and Update
statements"""
homepage = "https://github.com/RDFLib/rdflib"
pypi = "rdflib/rdflib-5.0.0.tar.gz"
version("6.2.0", sha256="62dc3c86d1712db0f55785baf8047f63731fa59b2682be03219cb89262065942")
version("6.0.2", sha256="6136ae056001474ee2aff5fc5b956e62a11c3a9c66bb0f3d9c0aaa5fbb56854e")
version("5.0.0", sha256="78149dd49d385efec3b3adfbd61c87afaf1281c30d3fcaf1b323b34f603fb155")
depends_on("python@3.7:", when="@6:", type="build")
depends_on("py-setuptools", type="build")
depends_on("py-isodate", type=("build", "run"))
depends_on("py-pyparsing", type=("build", "run"))
depends_on("py-setuptools", when="@6:", type=("build", "run"))
depends_on("py-importlib-metadata", when="@6.1: ^python@:3.7", type=("build", "run"))
depends_on("py-six", when="@:5", type=("build", "run"))
|