summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-argparse/package.py
blob: a1257333828c1ce0ee5730c7459464577e36208a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyArgparse(PythonPackage):
    """Python command-line parsing library."""

    homepage = "https://github.com/ThomasWaldmann/argparse/"
    url      = "https://pypi.io/packages/source/a/argparse/argparse-1.4.0.tar.gz"

    version('1.4.0', sha256='62b089a55be1d8949cd2bc7e0df0bddb9e028faefc8c32038cc84862aefdd6e4')

    depends_on('python@2.3:')

    depends_on('py-setuptools', type='build')