summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rgexf/package.py
blob: 137a4baf6a551055cd97abe8f10d24fe8a0e2c29 (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
# Copyright 2013-2020 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 import *


class RRgexf(RPackage):
    """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."""

    homepage = "http://bitbucket.org/gvegayon/rgexf"
    url      = "https://cloud.r-project.org/src/contrib/rgexf_0.15.3.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/rgexf"

    version('0.15.3', sha256='2e8a7978d1fb977318e6310ba65b70a9c8890185c819a7951ac23425c6dc8147')

    depends_on('r-xml', type=('build', 'run'))
    depends_on('r-rook', type=('build', 'run'))
    depends_on('r-igraph', type=('build', 'run'))