spack/var/spack/repos/builtin/packages/fastx-toolkit/package.py
Harmen Stoppels 7b9f8abce5
Add depends_on([c,cxx,fortran]) (#45217)
Add language dependencies `c`, `cxx`, and `fortran`.

These `depends_on` statements are auto-generated based on file extensions found
in source tarballs/zipfiles.

The `# generated` comment can be removed by package maintainers after
validating correctness.
2024-07-17 16:07:43 +02:00

29 lines
955 B
Python

# Copyright 2013-2024 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.package import *
class FastxToolkit(AutotoolsPackage):
"""The FASTX-Toolkit is a collection of command line tools for
Short-Reads FASTA/FASTQ files preprocessing."""
homepage = "http://hannonlab.cshl.edu/fastx_toolkit/"
url = "https://github.com/agordon/fastx_toolkit/releases/download/0.0.14/fastx_toolkit-0.0.14.tar.bz2"
license("AGPL-3.0-only")
version("0.0.14", sha256="9e1f00c4c9f286be59ac0e07ddb7504f3b6433c93c5c7941d6e3208306ff5806")
depends_on("c", type="build") # generated
depends_on("cxx", type="build") # generated
depends_on("libgtextutils")
# patch implicit fallthrough
patch("pr-22.patch")
# fix error [-Werror,-Wpragma-pack]
patch("fix_pragma_pack.patch", when="%fj")