summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-paralleltask/package.py
blob: 53ce9066e924363274c58de2b6d7359ec5994d8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2023 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.package import *


class PyParalleltask(PythonPackage):
    """Paralleltask is a simple and lightweight parallel task engine. It can launch a given
    number of tasks from a batch of independent tasks, and keep this number of running tasks
    until all tasks are completed."""

    homepage = "https://github.com/moold/ParallelTask"
    pypi = "Paralleltask/Paralleltask-0.2.2.tar.gz"

    version("0.2.2", sha256="f00945e2bd5b6aff9cdc48fbd92aa7b48d23bb530d7f6643ac966fea11a7a9d5")

    depends_on("py-setuptools", type="build")
    depends_on("py-psutil", type=("build", "run"))