You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.4 KiB
Tcl
46 lines
1.4 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-flask-babel
|
|
python.rootname Flask-Babel
|
|
version 4.0.0
|
|
revision 0
|
|
|
|
categories-append www
|
|
maintainers nomaintainer
|
|
description Adds i18n/l10n support to Flask applications
|
|
long_description {*}${description}
|
|
license BSD
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
homepage https://github.com/python-babel/flask-babel
|
|
|
|
distname flask_babel-${version}
|
|
|
|
checksums rmd160 d469e7092ac6601ec330d356282684190a820cff \
|
|
sha256 dbeab4027a3f4a87678a11686496e98e1492eb793cbdd77ab50f4e9a2602a593 \
|
|
size 10178
|
|
|
|
python.versions 310 311 312 313
|
|
python.pep517_backend poetry
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-tz \
|
|
port:py${python.version}-babel \
|
|
port:py${python.version}-flask \
|
|
port:py${python.version}-jinja2
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|