Files
2026-03-15 20:59:30 -04:00

52 lines
1.8 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-babel
python.rootname Babel
version 2.17.0
revision 0
categories-append devel
platforms {darwin any}
license BSD
supported_archs noarch
python.versions 27 310 311 312 313 314
maintainers {stromnov @stromnov} openmaintainer
description A collection of tools for internationalizing Python applications.
long_description Babel is an integrated collection of utilities that \
assist in internationalizing and localizing Python \
applications, with an emphasis on web-based applications.
homepage https://babel.pocoo.org/
checksums md5 726d2ed119255a011d248ac0c9caa24a \
rmd160 18b9acbc47ffe56cb97401e2f6484cffef0d3329 \
sha256 0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d \
size 9951852
if {${name} ne ${subport}} {
if {${python.version} == 27} {
version 2.9.1
revision 0
checksums rmd160 b833ad421470429e1740f19dc79e02842e3ff4b1 \
sha256 bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0 \
size 8683505
depends_lib-append port:py${python.version}-setuptools \
port:py${python.version}-tz
} else {
# for this release the filename is not capitalized
distname babel-${version}
}
depends_test-append port:py${python.version}-freezegun
test.run yes
livecheck.type none
}