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

github.setup        nascheme quixote 3.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-quixote
revision            0

categories-append   www
# license for most files has a choice of law clause
license	            Permissive GPLConflict ZPL-2 PSF
maintainers         nomaintainer

description         Quixote is a framework for developing Web applications in Python
long_description    {*}${description}. Its design goals were to allow easy \
                    development of Web applications where the accent is \
                    more on complicated programming logic than complicated \
                    templating, to make the templating language as similar \
                    to Python as possible. The aim is to make as many of \
                    the skills and techniques learned from writing regular \
                    Python code applicable to the task of writing Web \
                    applications.

homepage            http://www.quixote.ca/

checksums           rmd160  a3aa0037ffbd2209a99a8d81cf9d858e3506909c \
                    sha256  3bda2618e62cc377ebad9370c7d33135d58844490bcb99973a8b9f2c1dc70834 \
                    size    162876

python.versions     39

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.txt ACKS.txt \
            LICENSE.txt ${destroot}${docdir}
        xinstall -m 0644 {*}[glob -directory ${worksrcpath}/doc *] \
            ${destroot}${docdir}
    }
} else {
    github.livecheck.regex  {([0-9.]+)}
}
