# -*- 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-samplerate version 0.1.0 platforms darwin license MIT maintainers nomaintainer description Python bindings for libsamplerate based on CFFI and NumPy long_description {*}${description} homepage https://github.com/tuxu/python-samplerate checksums rmd160 5438099cc157130fe9f2f87184d6a11ce567bab3 \ sha256 75ef725e6cd9c4545569caf4c47147beab7b53b2c36e5122e8c285d348f88847 \ size 4044998 python.versions 39 310 311 312 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-pytest-runner depends_lib-append \ port:py${python.version}-cffi \ port:py${python.version}-numpy \ post-patch { if {${python.version} >= 312} { # workaround from https://github.com/pydata/pandas-datareader/issues/969 reinplace "s|configparser\.SafeConfigParser|configparser.ConfigParser|" \ ${worksrcpath}/versioneer.py reinplace "s|parser\.readfp|parser.read_file|" \ ${worksrcpath}/versioneer.py } } }