You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
1.7 KiB
Tcl
53 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-ndindex
|
|
version 1.10.1
|
|
revision 0
|
|
|
|
maintainers nomaintainer
|
|
license MIT
|
|
|
|
description Python library for manipulating indices of ndarrays
|
|
long_description ndindex is a library that allows representing and \
|
|
manipulating objects that can be valid indices to \
|
|
numpy arrays, i.e., slices, integers, ellipses, \
|
|
None, integer and boolean arrays, and tuples \
|
|
thereof.
|
|
|
|
homepage https://quansight-labs.github.io/ndindex/
|
|
|
|
checksums rmd160 abe4aba88f4c88d53ac91b7597d27c44d872f37f \
|
|
sha256 0f6113c1f031248f8818cbee1aa92aa3c9472b7701debcce9fddebcd2f610f11 \
|
|
size 271395
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${subport} ne ${name}} {
|
|
compiler.cxx_standard 2011
|
|
configure.cxxflags-append -std=c++11
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-cython
|
|
|
|
build.env-append "CYTHONIZE_NDINDEX=1"
|
|
|
|
depends_lib-append port:py${python.version}-numpy
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
|
|
${destroot}${docdir}
|
|
}
|
|
|
|
test.run yes
|
|
test.dir ${destroot}${python.pkgd}
|
|
test.env-append PYTHONPATH=${destroot}${python.pkgd}
|
|
|
|
depends_test-append port:py${python.version}-hypothesis \
|
|
port:py${python.version}-sympy
|
|
}
|