You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49 lines
1.7 KiB
Tcl
49 lines
1.7 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 python 1.0
|
|
|
|
name py-numdifftools
|
|
version 0.9.42
|
|
revision 0
|
|
|
|
categories-append math
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license BSD
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description Solve automatic numerical differentiation problems in one or more variables.
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/pbrod/numdifftools
|
|
|
|
checksums rmd160 82274778a8ce038e2d9976ba03ed22f226aef0b1 \
|
|
sha256 866675171f293c4bf2f1e1c5bf9b88a07d5396903e3b3e7fcc3879e2a01cfbc1 \
|
|
size 79612
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517_backend pdm
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:py${python.version}-algopy \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-scipy \
|
|
port:py${python.version}-statsmodels
|
|
|
|
test.run yes
|
|
test.env-append PYTHONPATH=${destroot}${python.pkgd}
|
|
test.dir ${destroot}${python.pkgd}/numdifftools/tests
|
|
|
|
depends_test-append port:py${python.version}-hypothesis \
|
|
port:py${python.version}-matplotlib \
|
|
port:py${python.version}-line_profiler
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE.txt \
|
|
README.rst ${destroot}${docdir}
|
|
}
|
|
}
|