diff options
author | Justin Stanley <molecuul@users.noreply.github.com> | 2018-11-19 20:44:01 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-11-19 20:44:01 -0600 |
commit | 9dfea8ee17ce732bd8e9069f8ce9cf69b133a061 (patch) | |
tree | 2b8b1c15993fc2ca51123f10e2db206a4c39ef82 | |
parent | 0a0e5642df937068dcaaf33c5f122cd720c1ae37 (diff) | |
download | spack-9dfea8ee17ce732bd8e9069f8ce9cf69b133a061.tar.gz spack-9dfea8ee17ce732bd8e9069f8ce9cf69b133a061.tar.bz2 spack-9dfea8ee17ce732bd8e9069f8ce9cf69b133a061.tar.xz spack-9dfea8ee17ce732bd8e9069f8ce9cf69b133a061.zip |
circos: new package starting at 0.69-6 (#9761)
* circos: new package starting at 0.69-6
* circos: add homepage, simplify paths
* circos: simplified more paths
-rw-r--r-- | var/spack/repos/builtin/packages/circos/package.py | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/circos/package.py b/var/spack/repos/builtin/packages/circos/package.py new file mode 100644 index 0000000000..8fd152e154 --- /dev/null +++ b/var/spack/repos/builtin/packages/circos/package.py @@ -0,0 +1,43 @@ +# Copyright 2013-2018 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 * +from os import symlink + + +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) |