source: trunk/dports/python/py-django-htmlmin/Portfile

Last change on this file was 153906, checked in by aronnax@…, 13 months ago

py-django-htmlmin: update to 0.10.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 153906 2016-10-15 15:31:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           select 1.0
7PortGroup           github 1.0
8
9github.setup        cobrateam django-htmlmin 0.10.0
10name                py-${name}
11license             BSD
12platforms           darwin
13supported_archs     noarch
14maintainers         aronnax openmaintainer
15
16description         html minify for django
17long_description \
18    django-html in an HTML minifier for Python with full support for HTML 5. \
19    It supports Django, Flask and any other Python web framework. It also \
20    provides a command line tool that can be used for static websites or \
21    deployment scripts.
22
23checksums           rmd160  6b0a90fdb8d3591f0273d56211c2d04d1337c145 \
24                    sha256  7f00773ecadb73161f74e12a1ab57d029fbb3ef631a9c62c9655949c84a549b3
25
26python.versions     27 34 35
27
28if {${name} ne ${subport}} {
29    depends_build-append \
30                    port:py${python.version}-setuptools
31
32    depends_lib-append \
33                    port:py${python.version}-django \
34                    port:py${python.version}-beautifulsoup4 \
35                    port:py${python.version}-html5lib \
36                    port:py${python.version}-six
37
38    depends_run-append \
39                    port:${github.project}_select
40
41    select.group    ${github.project}
42    select.file     ${filespath}/${select.group}${python.version}
43
44    notes "
45To make the Python ${python.branch} version of django-htmlmin the one that is run\
46when you execute the commands without a version suffix, e.g. 'pyminify', run:
47
48port select --set ${select.group} [file tail ${select.file}]
49"
50
51    livecheck.type  none
52}
Note: See TracBrowser for help on using the repository browser.