
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
27 lines
1.2 KiB
Python
27 lines
1.2 KiB
Python
# 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 PyCutadapt(PythonPackage):
|
|
"""Cutadapt finds and removes adapter sequences, primers, poly-A tails and
|
|
other types of unwanted sequence from your high-throughput sequencing
|
|
reads."""
|
|
|
|
homepage = "https://cutadapt.readthedocs.io"
|
|
url = "https://pypi.io/packages/source/c/cutadapt/cutadapt-1.13.tar.gz"
|
|
git = "https://github.com/marcelm/cutadapt.git"
|
|
|
|
version('2.5', sha256='ced79e49b93e922e579d0bb9d21298dcb2d7b7b1ea721feed484277e08b1660b')
|
|
version('1.13', sha256='aa9f2c1f33dc081fe94f42b1250e4382b8fb42cabbf6e70a76ff079f211d5fc0')
|
|
|
|
depends_on('python@2.7:', type=('build', 'run'), when='@1.13')
|
|
depends_on('python@3.4:', type=('build', 'run'), when='@2.5:')
|
|
depends_on('py-setuptools', type=('build', 'run'))
|
|
depends_on('py-xopen@0.1.1:', type=('build', 'run'), when='@1.13')
|
|
depends_on('py-xopen@0.8.1:', type=('build', 'run'), when='@2.5:')
|
|
depends_on('py-dnaio', type=('build', 'run'), when='@2.5:')
|