summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-apscheduler/package.py
blob: 12aa3aa325c698faeaf2d26a0dc4484896be445d (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 PyApscheduler(PythonPackage):
    """In-process task scheduler with Cron-like capabilities."""

    homepage = "https://github.com/agronholm/apscheduler"
    url      = "https://pypi.io/packages/source/A/APScheduler/APScheduler-3.3.1.tar.gz"

    version('3.3.1', sha256='f68874dff1bdffcc6ce3adb7840c1e4d162c609a3e3f831351df30b75732767b')
    version('2.1.0', sha256='3b4b44387616902ad6d13122961013630eb25519937e5aa7c450de85656c9753')

    depends_on('py-setuptools@0.7:', type='build')

    depends_on('py-six@1.4.0:',   type=('build', 'run'))
    depends_on('py-pytz',         type=('build', 'run'))
    depends_on('py-tzlocal@1.2:', type=('build', 'run'))