# -*- 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-soxr version 0.3.7 revision 0 categories-append audio platforms {darwin any} supported_archs noarch license LGPL-2.1+ maintainers nomaintainer description High quality, one-dimensional sample-rate conversion library for Python long_description {*}${description} homepage https://github.com/dofuuz/python-soxr checksums rmd160 f2441bee743b8c598e49c19a87057ec9ba473431 \ sha256 436ddff00c6eb2c75b79c19cfdca7527b1e31b5fad738652f044045ba6258593 \ size 296432 python.versions 38 39 310 311 312 if {${name} ne ${subport}} { depends_build-append \ path:bin/cython:py${python.version}-cython \ port:py${python.version}-setuptools_scm depends_run-append \ port:py${python.version}-numpy test.run yes post-patch { reinplace "s|oldest-supported-numpy|numpy|" ${worksrcpath}/pyproject.toml } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE.txt README.md \ ${destroot}${docdir} } }