# -*- 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-pyproject_api
version 1.12.6
revision 0
license MIT
maintainers {mps @Schamschula} openmaintainer
description API to interact with the python pyproject.toml based projects
long_description {*}${description}
homepage https://github.com/tox-dev/pyproject-api
supported_archs noarch
platforms {darwin any}
checksums rmd160 af0f08548748976fedba6956551d80e8654d6411 \
sha256 422f037b711cebc650241102a83496aeee6eba088597ce84b58b473760740ad7 \
size 73129
python.versions 310 311 312 313 314 315
python.pep517_backend \
hatch
if {${name} ne ${subport}} {
if {${python.version} <= 311} {
version 1.12.5
revision 0
checksums rmd160 8524b099f86e8287ab86166834ad891def663f46 \
sha256 0795693708f631af4c665ab02a315edc0fb97471f1d52e4a6179ed60504e96bb \
size 68682
depends_lib-append \
port:py${python.version}-tomli
} else {
depends_lib-append \
port:py${python.version}-python-sbom
}
depends_build-append \
port:py${python.version}-hatch-fancy-pypi-readme \
port:py${python.version}-hatch-vcs
depends_lib-append \
port:py${python.version}-packaging
}