From d41e366d0d1347f7adda769926ad0c4c2bce640d Mon Sep 17 00:00:00 2001 From: ilbiondo <61497728+ilbiondo@users.noreply.github.com> Date: Wed, 15 Apr 2020 10:35:01 +0200 Subject: py-sonlib: added new package (#16058) Co-Authored-By: Massimiliano Culpo --- .../repos/builtin/packages/py-sonlib/package.py | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-sonlib/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-sonlib/package.py b/var/spack/repos/builtin/packages/py-sonlib/package.py new file mode 100644 index 0000000000..68710835c7 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sonlib/package.py @@ -0,0 +1,28 @@ +# 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 PySonlib(PythonPackage): + """Small general purpose library for C and + Python with focus on bioinformatics.""" + + # Note that there are a few versions of sonLib floating around + # the one from the ComparativeGenomicsToolkit seems to be the + # actively developed version + + # There are no releases so we have devel and a commit + # to fix the code at one point in time (1st April) + + homepage = "https://github.com/ComparativeGenomicsToolkit/sonLib" + url = "https://github.com/ComparativeGenomicsToolkit/sonLib" + git = "https://github.com/ComparativeGenomicsToolkit/sonLib.git" + + version('devel', branch='master') + version('20200401', commit='7ebe2ede05a6ee366d93a7a993db69a99943a68f') + + depends_on('py-setuptools', type='build') -- cgit v1.2.3-70-g09d2