spack/var/spack/repos/builtin/packages/circos/package.py
Todd Gamblin 24c01d57cf
imports: sort imports everywhere in Spack (#24695)
* fix remaining flake8 errors

* imports: sort imports everywhere in Spack

We enabled import order checking in #23947, but fixing things manually drives
people crazy. This used `spack style --fix --all` from #24071 to automatically
sort everything in Spack so PR submitters won't have to deal with it.

This should go in after #24071, as it assumes we're using `isort`, not
`flake8-import-order` to order things. `isort` seems to be more flexible and
allows `llnl` mports to be in their own group before `spack` ones, so this
seems like a good switch.
2021-07-08 22:12:30 +00:00

45 lines
1.5 KiB
Python

# Copyright 2013-2021 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 os import symlink
from spack import *
class Circos(Package):
"""Circos is a software package for visualizing data and information."""
homepage = "http://circos.ca/"
url = "http://circos.ca/distribution/circos-0.69-6.tgz"
version('0.69-6', sha256='52d29bfd294992199f738a8d546a49754b0125319a1685a28daca71348291566')
depends_on('perl', type='run')
depends_on('perl-clone', type='run')
depends_on('perl-config-general', type='run')
depends_on('perl-exporter-tiny', type='run')
depends_on('perl-font-ttf', type='run')
depends_on('perl-gd', type='run')
depends_on('perl-io-string', type='run')
depends_on('perl-list-moreutils', type='run')
depends_on('perl-math-round', type='run')
depends_on('perl-math-bezier', type='run')
depends_on('perl-math-vecstat', type='run')
depends_on('perl-params-validate', type='run')
depends_on('perl-readonly', type='run')
depends_on('perl-regexp-common', type='run')
depends_on('perl-set-intspan', type='run')
depends_on('perl-statistics-basic', type='run')
depends_on('perl-svg', type='run')
depends_on('perl-text-format', type='run')
def install(self, spec, prefix):
basedir = prefix.lib.circos
install_tree('.', basedir)
mkdirp(prefix.bin)
symlink(basedir.bin.circos,
prefix.bin.circos)