Files
macports-ports/python/hatch/Portfile
Marius Schamschula cd2faf3f38 hatch: update to 1.16.5
2026-03-01 14:29:31 -06:00

64 lines
2.6 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 hatch
version 1.16.5
revision 0
categories-append devel
license MIT
maintainers {mps @Schamschula} openmaintainer
description Hatch is a modern, extensible Python project manager.
long_description {*}${description}
homepage https://github.com/ofek/hatch
supported_archs noarch
platforms {darwin any}
checksums rmd160 b96a7e9161476f2a88a2c283a5a444e6af966a62 \
sha256 57bdeeaa72577859ce37091a5449583875331c06f9cb6af9077947ad40b3a1de \
size 5220741
variant python310 conflicts python311 python312 python313 python314 description {Use Python 3.10} {}
variant python311 conflicts python310 python312 python313 python314 description {Use Python 3.11} {}
variant python312 conflicts python310 python311 python313 python314 description {Use Python 3.12} {}
variant python313 conflicts python310 python311 python312 python314 description {Use Python 3.13} {}
variant python314 conflicts python310 python311 python312 python313 description {Use Python 3.14} {}
if {![variant_isset python310] && ![variant_isset python311]
&& ![variant_isset python312] && ![variant_isset python314]} {
default_variants +python313
}
foreach pv {314 313 312 311 310} {
if {[variant_isset python${pv}]} {
python.default_version ${pv}
break
}
}
python.pep517_backend \
hatch
depends_build-append \
port:py${python.version}-hatch-vcs
depends_lib-append port:py${python.version}-atomicwrites \
port:py${python.version}-click \
port:py${python.version}-hatchling \
port:py${python.version}-httpx \
port:py${python.version}-hyperlink \
port:py${python.version}-keyring \
port:py${python.version}-pexpect \
port:py${python.version}-platformdirs \
port:py${python.version}-pyperclip \
port:py${python.version}-rich \
port:py${python.version}-shellingham \
port:py${python.version}-tomli-w \
port:py${python.version}-tomlkit \
port:py${python.version}-trove-classifiers \
port:py${python.version}-userpath \
port:py${python.version}-virtualenv