# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup select 1.0 set realname django-htmlmin name py-${realname} version 0.6.2 python.versions 27 license BSD platforms darwin supported_archs noarch maintainers aronnax 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. homepage http://pypi.python.org/pypi/${realname}/ master_sites http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/ distname ${realname}-${version} checksums md5 baa995bb18268c80586c5590465cdfba \ sha1 60ac69f31dce4e1625d20c4df259f8a916ca6d0d \ rmd160 362f2af001167d20eea4d6d25b15efad38cbd149 if {${subport} == ${name}} { livecheck.type regex livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}] } else { depends_build-append \ port:py${python.version}-setuptools depends_lib-append \ port:py${python.version}-django \ port:py${python.version}-beautifulsoup4 \ port:py${python.version}-html5lib depends_run-append \ port:${realname}_select select.group ${realname} select.file ${filespath}/${select.group}${python.version} notes " To make the Python ${python.branch} version of bpython 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 }