spack/var/spack/repos/builtin/packages/bedops/package.py
Todd Gamblin 62927654dd checksums: use sha256 checksums everywhere
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
2019-10-12 07:19:43 -07:00

30 lines
1.1 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 Bedops(MakefilePackage):
"""BEDOPS is an open-source command-line toolkit that performs highly
efficient and scalable Boolean and other set operations, statistical
calculations, archiving, conversion and other management of genomic data of
arbitrary scale."""
homepage = "https://bedops.readthedocs.io"
url = "https://github.com/bedops/bedops/archive/v2.4.30.tar.gz"
version('2.4.35', sha256='da0265cf55ef5094834318f1ea4763d7a3ce52a6900e74f532dd7d3088c191fa')
version('2.4.34', sha256='533a62a403130c048d3378e6a975b73ea88d156d4869556a6b6f58d90c52ed95')
version('2.4.30', sha256='218e0e367aa79747b2f90341d640776eea17befc0fdc35b0cec3c6184098d462')
@property
def build_targets(self):
# avoid static linking with glibc for all invocations
return ['SFLAGS=']
def install(self, spec, prefix):
mkdirp(prefix.bin)
make('install', "BINDIR=%s" % prefix.bin)