Files
macports-ports/R/R-ps/Portfile

43 lines
1.6 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup R 1.0
R.setup github r-lib ps 1.8.1 v
revision 0
categories-append sysutils
maintainers nomaintainer
license MIT
description R package to query, list and manipulate system processes
long_description ps implements an API to query and manipulate system processes. \
Most of its code is based on the psutil Python package.
homepage https://ps.r-lib.org
checksums rmd160 f6b45bd45ceb3f8c087dbb1f396e918e4be9da43 \
sha256 944f05c8e0d09d1c67eda14d8974b1f128ff714079453bda1c228ca407b9de56 \
size 169437
github.tarball_from archive
if {[string match *gcc* ${configure.compiler}]} {
# gcc requires specific ObjC standard to compile this code:
patchfiles-append \
0001-arch-macos-apps.m-fix-compilation-with-gcc.patch
}
configure.env-append \
RBIN=${r.cmd}
depends_test-append port:R-callr \
port:R-covr \
port:R-curl \
port:R-pillar \
port:R-pingr \
port:R-processx \
port:R-R6 \
port:R-rlang \
port:R-testthat \
port:R-webfakes \
port:R-withr
# FIXME: some tests fail on older macOS: https://github.com/r-lib/ps/issues/137
test.run yes