You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
55 lines
1.9 KiB
Tcl
55 lines
1.9 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 active_variants 1.1
|
|
PortGroup python 1.0
|
|
|
|
name py-rpy2
|
|
version 3.6.7
|
|
revision 0
|
|
|
|
categories-append math science
|
|
license GPL-2.0+
|
|
maintainers nomaintainer
|
|
|
|
description A simple and efficient access to R from Python
|
|
long_description rpy2 is a redesign and rewrite of rpy. It is providing a \
|
|
low-level interface to R, a proposed high-level interface, \
|
|
including wrappers to graphical libraries, as well as R-like \
|
|
structures and functions.
|
|
|
|
homepage https://github.com/rpy2/rpy2
|
|
|
|
checksums rmd160 6210a7d268ad2308853de95b5d716739fcdf3269 \
|
|
sha256 f1fb4649ce7d14e935133088dec97cda27eb37ce7cc710385f81dca556fe8c9f \
|
|
size 53961
|
|
|
|
python.versions 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-cffi
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-rpy2-rinterface \
|
|
port:py${python.version}-rpy2-robjects
|
|
|
|
# To continue using your custom R installation instead of MacPorts' R,
|
|
# you must remove this dependency line and make sure that your R
|
|
# is in MacPorts' binpath, see your macports.conf for details.
|
|
depends_lib-append port:R
|
|
|
|
# https://trac.macports.org/ticket/61327
|
|
variant openmp description {enable parallelism support using OpenMP} {
|
|
# Please mirror the version used in math/R/Portfile
|
|
compiler.openmp_version 4.5
|
|
|
|
require_active_variants R openmp
|
|
|
|
notes-append "
|
|
Support OpenMP, mirroring the R port."
|
|
}
|
|
# Please mirror the default used in math/R/Portfile
|
|
default_variants +openmp
|
|
}
|