
* Bump the package API of the `builtin` repo to `v2.0` * Move `var/spack/repos/builtin` -> `var/spack/repos/spack_repo/builtin` * Move test repos `var/spack/repos/{builtin.mock,tutorial,...}` -> `var/spack/test_repos/` * Update package dir names to v2 format (`-` -> `_` etc) * Change absolute imports `from spack.pkg.builtin.my_pkg ...` to relative imports `from ..my_pkg.package ...` Users who have a repo on top of builtin should change imports from ```python from spack.pkg.builtin.my_pkg import MyPkg ``` to ```python from spack_repo.builtin.packages.my_pkg.package import MyPkg ``` and can configure their editors with ``` PYTHONPATH=$spack/lib/spack:$spack/var/spack/repos ``` [skip-verify-checksums]
30 lines
913 B
Python
30 lines
913 B
Python
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class Falco(AutotoolsPackage):
|
|
"""A C++ drop-in replacement of FastQC to assess the quality of sequence read data"""
|
|
|
|
homepage = "https://github.com/smithlabcode/falco"
|
|
url = "https://github.com/smithlabcode/falco/releases/download/v1.2.1/falco-1.2.1.tar.gz"
|
|
|
|
license("GPL-3.0-only")
|
|
|
|
version("1.2.1", sha256="33de8aafac45c7aea055ed7ab837d0a39d12dcf782816cea8a6c648acb911057")
|
|
|
|
variant("htslib", default=False, description="Add support for BAM files")
|
|
|
|
depends_on("cxx", type="build") # generated
|
|
|
|
depends_on("gmake", type="build")
|
|
depends_on("zlib-ng")
|
|
depends_on("htslib", when="+htslib")
|
|
|
|
def configure_args(self):
|
|
if self.spec.satisfies("+htslib"):
|
|
return ["--enable-htslib"]
|
|
return []
|