spack/var/spack/repos/builtin/packages/py-dateutil/package.py

23 lines
951 B
Python
Raw Normal View History

# 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)
2015-01-21 01:39:21 +08:00
from spack import *
2016-08-10 16:50:00 +08:00
class PyDateutil(PythonPackage):
2015-01-21 01:39:21 +08:00
"""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"
2015-01-21 01:39:21 +08:00
version('2.7.5', sha256='88f9287c0174266bb0d8cedd395cfba9c58e87e5ad86b2ce58859bc11be3cf02')
2016-03-31 00:16:11 +08:00
version('2.5.2', 'eafe168e8f404bf384514f5116eedbb6')
version('2.4.2', '4ef68e1c485b09e9f034e10473e5add2')
version('2.4.0', '75714163bb96bedd07685cdb2071b8bc')
version('2.2', 'c1f654d0ff7e33999380a8ba9783fd5c')
2015-01-21 01:39:21 +08:00
2016-03-09 23:46:56 +08:00
depends_on('py-setuptools', type='build')
depends_on('py-setuptools-scm', type='build', when='@2.7.5:')
depends_on('py-six', type=('build', 'run'))