blob: 33c6dadd3b88aa366a87783465ec9e565ff41802 (
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
27
28
29
30
31
32
|
# 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 Procenv(AutotoolsPackage):
"""A command-line tool that displays as much detail about itself and
its environment as possible. It can be used as a test tool, to
understand the type of environment a process runs in, and for
comparing system environments."""
homepage = "https://github.com/jamesodhunt/procenv/"
url = "https://github.com/jamesodhunt/procenv/archive/0.51.tar.gz"
license("GPL-3.0-or-later")
version("0.60", sha256="fac0438bf08ed73b10ace78d85acb83cf81ade5ecf866762c2c6e92e41dbde43")
version("0.51", sha256="b831c14729e06a285cc13eba095817ce3b6d0ddf484b1264951b03ee4fe25bc9")
# https://github.com/jamesodhunt/procenv/pull/16
patch("7cafed1316ddb16fe0689d54ba10c05dd2edd347.patch", when="@:0.51")
depends_on("expat")
depends_on("libpcap")
# Fixme: package these and use conditionally (on linux)
# depends_on('libselinux')
# depends_on('libapparmor')
depends_on("numactl")
depends_on("check", type="build")
|