/
Portfile
33 lines (27 loc) · 1.39 KB
/
Portfile
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
33
# -*- 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 cran xtensor-stack xtensor 0.14.1-0
revision 1
categories-append devel math
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
license BSD
description Headers for xtensor C++ library
long_description The xtensor C++ library for numerical analysis with multi-dimensional array expressions \
is provided as a header-only C++14 library. It offers an extensible expression system \
enabling lazy broadcasting, an API following the idioms of the C++ standard library, \
and tools to manipulate array expressions and build upon xtensor.
checksums rmd160 703ea52546634c891da4f6f8ba35738fe52c31ba \
sha256 0072bdebd63cb02ef373d1861425cce8af2a038441d6da6358ef29df274ad1e2 \
size 8639
depends_lib-append port:R-Rcpp
platform darwin {
if {${os.major} < 13} {
# Lion+ (with Xcode 4.1+) have git; earlier need to bring their own.
# On 10.8.5 git fetch fails with ssl error.
depends_build-append port:git
git.cmd ${prefix}/bin/git
}
}
depends_test-append port:R-testthat
test.run yes