Files
2021-03-18 21:55:57 -04:00

59 lines
1.9 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-structlog
version 21.1.0
revision 0
platforms darwin
license MIT Apache-2
maintainers nomaintainer
description Structured Logging for Python
long_description ${description}
homepage https://www.structlog.org/
checksums rmd160 2834079daf760401be3cf192affca8a31bcca810 \
sha256 d9d2d890532e8db83c6977a2a676fb1889922ff0c26ad4dc0ecac26f9fafbc57 \
size 371729
python.versions 27 37 38 39
if {${name} ne ${subport}} {
if {${python.version} == 27} {
version 20.1.0
revision 0
checksums rmd160 30cdae480081f30c8f51aba859eec94758e7d2af \
sha256 7a48375db6274ed1d0ae6123c486472aa1d0890b08d314d2b016f3aa7f35990b \
size 332376
}
depends_build-append \
port:py${python.version}-setuptools
depends_run-append port:py${python.version}-six \
port:py${python.version}-colorama
depends_test-append port:py${python.version}-pytest \
port:py${python.version}-freezegun \
port:py${python.version}-pretend \
port:py${python.version}-twisted \
port:py${python.version}-greenlet \
port:py${python.version}-simplejson
if {${python.version} > 27} {
depends_test-append \
port:py${python.version}-pytest-asyncio
}
test.run yes
test.env PYTHONPATH=${worksrcpath}/build/lib
test.cmd py.test-${python.branch}
test.target
livecheck.type none
}