Files
2026-03-06 12:09:15 -05:00

57 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-platformdirs
version 4.9.4
revision 0
categories-append devel
platforms {darwin any}
supported_archs noarch
license MIT
maintainers {reneeotten @reneeotten} openmaintainer
description A small Python module for determining appropriate platform-specific dirs
long_description {*}${description}, e.g. a \"user data dir\".
homepage https://github.com/platformdirs/platformdirs
checksums rmd160 7b3957dbb8f080eea031ad02eaedcf54114c1e25 \
sha256 1ec356301b7dc906d83f371c8f487070e99d3ccf9e501686456394622a01a934 \
size 28737
# keep the Python 2.7 subport as it is a dependency of py-virtualenv
# See <https://trac.macports.org/wiki/Python#VersionPolicy>
python.versions 27 39 310 311 312 313 314
if {${name} ne ${subport}} {
if {${python.version} == 27} {
version 2.0.2
epoch 1
revision 0
checksums rmd160 b03f9dd52b9b7232f6e154ae51eaf662b645c05e \
sha256 3b00d081227d9037bbbca521a5787796b5ef5000faea1e43fd76f1d44b06fcfa \
size 11445
depends_build-append \
port:py${python.version}-toml \
port:py${python.version}-setuptools
} else {
depends_build port:py${python.version}-hatch-vcs
python.pep517_backend hatch
}
if {${python.version} == 39} {
version 4.4.0
epoch 1
revision 0
checksums rmd160 55e728b7d25eede8f4e92d3e8af90ff65155484a \
sha256 ca753cf4d81dc309bc67b0ea38fd15dc97bc30ce419a7f58d13eb3bf14c4febf \
size 21634
}
livecheck.type none
}