You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
96f03c6ff0
- drop EOL Python subports, add py313 Closes: https://trac.macports.org/ticket/71259
53 lines
1.7 KiB
Tcl
53 lines
1.7 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
|
|
PortGroup select 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup cobrateam django-htmlmin 0.11.0
|
|
github.tarball_from archive
|
|
name py-${name}
|
|
revision 0
|
|
|
|
license BSD
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
maintainers {aronnax @lpsinger} openmaintainer
|
|
|
|
description html minify for django
|
|
long_description \
|
|
django-html in an HTML minifier for Python with full support for HTML 5. \
|
|
It supports Django, Flask and any other Python web framework. It also \
|
|
provides a command line tool that can be used for static websites or \
|
|
deployment scripts.
|
|
|
|
checksums rmd160 65327294e51684b7b125e3d4a8ad67493cc9ff49 \
|
|
sha256 44349aa609b3d96b19722796ebd1e3214cc83502f504a66bfa72ee422991ffdc \
|
|
size 17478
|
|
|
|
python.versions 313
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-django \
|
|
port:py${python.version}-beautifulsoup4 \
|
|
port:py${python.version}-html5lib \
|
|
port:py${python.version}-six
|
|
|
|
depends_run-append \
|
|
port:${github.project}_select
|
|
|
|
select.group ${github.project}
|
|
select.file ${filespath}/${select.group}${python.version}
|
|
|
|
notes "
|
|
To make the Python ${python.branch} version of django-htmlmin the one that is run\
|
|
when you execute the commands without a version suffix, e.g. 'pyminify', run:
|
|
|
|
port select --set ${select.group} [file tail ${select.file}]
|
|
"
|
|
|
|
livecheck.type none
|
|
}
|