summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rgexf/package.py
blob: 316e644eb33ff5b989a37c71f1a010dbc9a3e0a0 (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
26
27
28
29
30
31
32
# 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 RRgexf(RPackage):
    """Build, Import and Export GEXF Graph Files.

    Create, read and write GEXF (Graph Exchange XML Format) graph files (used
    in Gephi and others). Using the XML package, it allows the user to easily
    build/read graph files including attributes, GEXF viz attributes (such as
    color, size, and position), network dynamics (for both edges and nodes) and
    edge weighting. Users can build/handle graphs element-by-element or
    massively through data-frames, visualize the graph on a web browser through
    "sigmajs" (a javascript library) and interact with the igraph package."""

    cran = "rgexf"

    license("MIT")

    version("0.16.2", sha256="6ee052b0de99d0c7492366b991d345a51b3d0cc890d10a68b8670e1bd4fc8201")
    version("0.16.0", sha256="2a671df9ac70cfefd4092754317cb28e32a33df345b80e1975bf838e838245ee")
    version("0.15.3", sha256="2e8a7978d1fb977318e6310ba65b70a9c8890185c819a7951ac23425c6dc8147")

    depends_on("r-xml", type=("build", "run"))
    depends_on("r-igraph", type=("build", "run"))
    depends_on("r-servr", type=("build", "run"), when="@0.16.0:")

    depends_on("r-rook", type=("build", "run"), when="@:0.15.3")