Files
Steven Thomas Smith 3a71d1c7a0 py-mido: Add Python 39
2021-03-27 10:35:47 +00:00

49 lines
1.4 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 github 1.0
PortGroup python 1.0
github.setup mido mido 1.2.9
revision 0
name py-${github.project}
categories-append audio
platforms darwin
license MIT
maintainers nomaintainer
description MIDI Objects for Python
long_description Mido is a library for working with MIDI messages and ports.
homepage https://mido.readthedocs.io/
checksums rmd160 38fe400c49050bd0924b55566a9d540381624bf5 \
sha256 2a58a6ded462e238f27e7afdee0f0bedeeb4ab0f19b8a583a649230ff2b400b9 \
size 95743
python.versions 37 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_test-append \
port:py${python.version}-pytest
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env-append \
PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${docdir}
}
livecheck.type none
}