summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/units/package.py
blob: 000f470bebe470f9d895f4d25b56d09a6dd5db8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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 Units(AutotoolsPackage):
    """GNU units converts between different systems of units"""

    homepage = "https://www.gnu.org/software/units/"
    url      = "https://ftpmirror.gnu.org/units/units-2.13.tar.gz"

    version('2.13', '5cbf2a6af76e94ba0ac55fc8d99d5a3e')

    depends_on('python', type=('build', 'run'))