From 46466381b83ee70d590aabe40c4bb1af99509afb Mon Sep 17 00:00:00 2001 From: Justin Stanley Date: Mon, 11 Mar 2019 15:13:02 -0500 Subject: py-crossmap: new package at 0.3.3 (#10854) --- .../repos/builtin/packages/py-crossmap/package.py | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-crossmap/package.py diff --git a/var/spack/repos/builtin/packages/py-crossmap/package.py b/var/spack/repos/builtin/packages/py-crossmap/package.py new file mode 100644 index 0000000000..5810a820c9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-crossmap/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2019 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 PyCrossmap(PythonPackage): + """CrossMap is a program for convenient conversion of genome coordinates + (or annotation files) between different assemblies""" + + homepage = "http://crossmap.sourceforge.net/" + url = "https://downloads.sourceforge.net/project/crossmap/CrossMap-0.3.3.tar.gz" + + version('0.3.3', sha256='56d99fd606e13e399b83438953d0d89fc281df1c1e8e47eed7d773e7ec9c88f8') + version('0.2.9', sha256='57243ee5051352c93088874c797ceac0426f249704ba897360fb628b3365d0af') + + depends_on('python@3:', type=('build', 'run'), when='@0.3.0:') + depends_on('python@2.7:2.8', type=('build', 'run'), when='@:0.2.9') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-cython', type=('build', 'run')) + depends_on('py-pysam', type=('build', 'run')) + depends_on('py-bx-python', type=('build', 'run')) + + depends_on('py-pybigwig', type=('build', 'run'), when='@0.3.0:') -- cgit v1.2.3-70-g09d2