# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        SmileyChris django-countries 5.5 v
name                py-django-countries
categories-append   www
platforms           darwin
license             MIT
maintainers         {mojca @mojca} openmaintainer

description         Provides a country field for Django models
long_description    A Django application that provides country choices for use with forms, \
                    flag icons static files, and a country field for models.

python.versions     27 37

checksums           rmd160  c4d2ee0872543a8c05b6ae376b0555f1fd31cd51 \
                    sha256  6a399ac29f4373c6d662546b51fd4d53816a111365a41d324d3e5231f06f17f4 \
                    size    473840

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools
    depends_run-append \
                    port:py${python.version}-django
    depends_test-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-Pillow

    # tests are currently not working
    test.run        yes

    livecheck.type  none
}