Files
macports-ports/python/py-structlog/Portfile
T
2025-06-18 22:47:26 -04:00

41 lines
1.3 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 25.4.0
revision 0
supported_archs noarch
platforms {darwin any}
license {MIT Apache-2}
maintainers nomaintainer
description Structured Logging for Python
long_description {*}${description}
homepage https://www.structlog.org/
checksums rmd160 06610c4ae2b68aa619b4d497f2f0b2c3a44ba36d \
sha256 186cd1b0a8ae762e29417095664adf1d6a31702160a46dacb7796ea82f7409e4 \
size 1369138
python.pep517_backend hatch
python.versions 39 310 311 312 313
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs \
port:py${python.version}-hatch-fancy-pypi-readme
depends_test-append port:py${python.version}-pytest-asyncio \
port:py${python.version}-freezegun \
port:py${python.version}-pretend \
port:py${python.version}-simplejson
test.run yes
test.env-append PYTHONPATH=${destroot}${python.pkgd}
}