summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-ipc-run/package.py
blob: c9a2f62d40c8798df461f83640b30f5303a18440 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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 PerlIpcRun(PerlPackage):
    """IPC::Run allows you to run and interact with child processes using
    files, pipes, and pseudo-ttys. Both system()-style and scripted usages are
    supported and may be mixed. Likewise, functional and OO API styles are both
    supported and may be mixed."""

    homepage = "https://metacpan.org/pod/IPC::Run"
    url = "https://cpan.metacpan.org/authors/id/T/TO/TODDR/IPC-Run-20180523.0.tar.gz"

    version(
        "20220807.0", sha256="277d781dbbc98af18e979c7ef36f222513d7361742c52507c3348b265f6f5e69"
    )
    version(
        "20180523.0", sha256="3850d7edf8a4671391c6e99bb770698e1c45da55b323b31c76310913349b6c2f"
    )

    depends_on("perl-io-tty", type=("build", "run"))
    depends_on("perl-readonly", type="build")