summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-dateutil/package.py
blob: 52ec1df92e9a65c8741b62fc8afa5f6209c2dd41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyDateutil(PythonPackage):
    """Extensions to the standard Python datetime module."""
    homepage = "https://pypi.python.org/pypi/dateutil"
    url      = "https://pypi.io/packages/source/p/python-dateutil/python-dateutil-2.4.0.tar.gz"

    version('2.7.5', sha256='88f9287c0174266bb0d8cedd395cfba9c58e87e5ad86b2ce58859bc11be3cf02')
    version('2.5.2', 'eafe168e8f404bf384514f5116eedbb6')
    version('2.4.2', '4ef68e1c485b09e9f034e10473e5add2')
    version('2.4.0', '75714163bb96bedd07685cdb2071b8bc')
    version('2.2',   'c1f654d0ff7e33999380a8ba9783fd5c')

    depends_on('py-setuptools', type='build')
    depends_on('py-setuptools-scm', type='build', when='@2.7.5:')
    depends_on('py-six', type=('build', 'run'))