Files
macports-ports/python/py-distlib/Portfile
2026-02-26 09:36:51 -05:00

44 lines
1.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 py-distlib
version 0.4.0
revision 0
epoch 1
supported_archs noarch
platforms {darwin any}
license PSF
maintainers {@rdbisme gmail.com:rubendibattista} openmaintainer
description Low-level components of distutils2/packaging, augmented \
with higher-level APIs for making packaging easier.
long_description {*}${description}
homepage https://bitbucket.org/pypa/distlib
checksums rmd160 2957faba562850d286d390e0c604ae9ac848b296 \
sha256 feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d \
size 614605
# keep version for Python 2.7, this is a (indirect) dependency of py-virtualenv
# See: <https://trac.macports.org/wiki/Python#VersionPolicy>
python.versions 27 310 311 312 313 314
if {${name} ne ${subport}} {
if {${python.version} == 27} {
# version 0.3.5 supports all Python versions, but MacPorts does not have a PEP517
# compatible build solution for anything below Python 3.6
version 0.3.4
use_zip yes
checksums rmd160 9f96621550871f844cfe12d11fefda24ac142a6f \
sha256 e4b58818180336dc9c529bfb9a0b58728ffc09ad92027a3f30b7cd91e3458579 \
size 631981
} else {
test.run yes
}
}