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

name                py-paste

version             3.10.1
python.versions     27 310 311 312 313
categories-append   www
license             MIT ZPL-2 PSF
maintainers         nomaintainer
description         Bringing consistency to Python web development.
long_description    Python Paste brings consistency to Python web \
                    development and web application installation, \
                    providing tools for both developers and \
                    system administrators.

platforms           {darwin any}
supported_archs     noarch

homepage            https://pythonpaste.readthedocs.io/en/latest/

checksums           rmd160  8b74c932e9d2d6c399b7315ecdf6417294e2a23f \
                    sha256  1c3d12065a5e8a7a18c0c7be1653a97cf38cc3e9a5a0c8334a9dd992d3a05e4a \
                    size    652629

if {${name} ne ${subport}} {
   if {${python.version} == 27} {
        python.rootname Paste
        version     2.0.3
        revision    0
        checksums   rmd160  816728eed3067b1d7b312cd0af3a63f1dae98143 \
                    sha256  2346a347824c32641bf020c17967b49ae74d3310ec1bc9b958d4b84e2d985218 \
                    size    643935

        depends_lib-append \
                        port:py${python.version}-setuptools

        depends_test-append \
                        port:py${python.version}-six
    }

    test.run        yes
    python.test_framework   nose
}
