summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-forks/package.py
blob: b4fddbdd5eaf8c255beb46691d5f616f87557973 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2020 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 PerlForks(PerlPackage):
    """The "forks" pragma allows a developer to use threads without having to
    have a threaded perl, or to even run 5.8.0 or higher."""

    homepage = "https://metacpan.org/pod/forks"
    url      = "https://cpan.metacpan.org/authors/id/R/RY/RYBSKEJ/forks-0.36.tar.gz"

    version('0.36', sha256='61be24e44f4c6fea230e8354678beb5b7adcfefd909a47db8f0a251b0ab65993')

    depends_on('perl-acme-damn', type=('build', 'run'))
    depends_on('perl-devel-symdump', type=('build', 'run'))
    depends_on('perl-list-moreutils', type=('build', 'run'))
    depends_on('perl-sys-sigaction', type=('build', 'run'))